amzn / ss-aga-kgc

Apache License 2.0
31 stars 9 forks source link

Question about OperationError when running run_model.py #12

Open whistle9 opened 2 years ago

whistle9 commented 2 years ago

Hello, I am a graduate student, in the study of your model encountered a problem, when I will data dbp5l data download well, and successfully run the src file, in the run of the run_model.py file, appeared Usersereror, and this assertor is in the ssaga_model.py file init, I do not know how to solve after the network query, I would like to ask you, why, How do I fix it?

ZijieH commented 2 years ago

Can you please print out the assertion? You may take a look at the question here : https://github.com/amzn/ss-aga-kgc/issues/6#issue-1295718771

whistle9 commented 2 years ago

First of all, thank you for your reply, my question is in the picture, you said that there is no language de problem, I have deleted the language de after downloading the data. AssertionError

ZijieH commented 2 years ago

Can you double check if you have download the corresponding entity_embeddings.npy for your dataset. This shows that the number of nodes among all KGs is inconsistent with the embedding table you are using. You can try to print out the entity numbers from the two sides.

whistle9 commented 2 years ago

OK,I'll check,thank you very much~