KGSF icon indicating copy to clipboard operation
KGSF copied to clipboard

Numbers of entities mismatched

Open Yang-bug-star opened this issue 2 years ago • 1 comments

Hi,

I found the total number of DBpedia entities in "/data/entity2entityId.pkl" is 64362. However, in the run.py, the total number of entities is set to be 64368. (also in subkg.pkl), the max number of index of a node is 64367.(and the min is 0)

This cause the issue that if I have a relation (10, 64367, relation type=5) in the DBpedia graph (subkg.pkl), I will have no idea which entitiy is the node 64367 (since there is no match in entity2entityId.pkl)

I am wondering why your setting mismatched the data?

Thank you!

Yang-bug-star avatar Jan 20 '23 08:01 Yang-bug-star

想请教一下,冷启动设置具体是在哪里,并没有找到,感谢解答

LQlq123 avatar Apr 11 '23 13:04 LQlq123