haseebs / OWE

Pytorch code for An Open-World Extension to Knowledge Graph Completion Models (AAAI 2019)
https://aaai.org/ojs/index.php/AAAI/article/view/4162
37 stars 9 forks source link

How to use pickle export the entity and relation matrices as numpy arrays ? #19

Closed pigcowherd closed 2 years ago

pigcowherd commented 2 years ago

Here it is said that in order to use a pre-trained KGC model, entities and relationships need to be exported as numpy arrays, and the final files are entities.p and relations.p. But can pickle export .p files directly?

haseebs commented 2 years ago

These files are generated by the scripts in the openke_scripts/ folder.

pigcowherd commented 2 years ago

These files are generated by the scripts in the openke_scripts/ folder.

Thanks