Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError: Unknown dataset three_all #243

Open
Su-hong-yu opened this issue Dec 3, 2021 · 1 comment
Open

AssertionError: Unknown dataset three_all #243

Su-hong-yu opened this issue Dec 3, 2021 · 1 comment

Comments

@Su-hong-yu
Copy link

`suhongyu@su:~/my_task$ dglke_train --model_name TransE_l2 --data_path /home/suhongyu/my_task/data/three_all --dataset three_all --data_files train.txt valid.txt test.txt \

Traceback (most recent call last):
File "/home/suhongyu/anaconda3/envs/openke/bin/dglke_train", line 8, in
sys.exit(main())
File "/home/suhongyu/anaconda3/envs/openke/lib/python3.8/site-packages/dglke/train.py", line 81, in main
dataset = get_dataset(args.data_path,
File "/home/suhongyu/anaconda3/envs/openke/lib/python3.8/site-packages/dglke/dataloader/KGDataset.py", line 644, in get_dataset
assert False, "Unknown dataset {}".format(data_name)
AssertionError: Unknown dataset three_all `

what shoud I do to solve this problem?

@zahramahani
Copy link

zahramahani commented Dec 29, 2021

hi i found problem according to your address of error
you need to define format for your data so add this:
--format raw_udd_htr
or
--format udd_htr

to learn more check documention:
dgl_doc

@Su-hong-yu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants