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

KnowledgeGraphSolver Error #107

Open
DaliaDawod opened this issue Apr 12, 2023 · 0 comments
Open

KnowledgeGraphSolver Error #107

DaliaDawod opened this issue Apr 12, 2023 · 0 comments

Comments

@DaliaDawod
Copy link

DaliaDawod commented Apr 12, 2023

I have this error. Can you help me to fix it? I saw on documentation that dim is dim: 32, 64, 96, 128, 256, 512 but my entity embedding is 768,

  File "/opt/conda/lib/python3.8/site-packages/graphvite/helper.py", line 105, in __new__
    raise AttributeError("Can't find an instantiation of %s with %s" % (cls.name, ", ".join(strings)))
AttributeError: Can't find an instantiation of KnowledgeGraphSolver with dim=768, float_type=dtype.float32, index_type=dtype.uint32

I tried reshaping to 512 but I get

100%|██████████| 828/828 [00:00<00:00, 788933.15it/s]loading knowledge graph from /repo/kepler/wikidata5m_transductive_train.txt
4.04445e-06%
48.5112%
97.0195%
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
KnowledgeGraph<uint32>
------------------ Graph -------------------
#entity: 4594149, #relation: 822
#triplet: 20614279, normalization: no
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[time] KnowledgeGraphApplication.load: 21.4308 s
Killed

I am not sure I am using the correct entity2id and relation2id as I tried to produce them but I do not know if it is the correct way.

How can I solve this?

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

1 participant