CKR
CKR copied to clipboard
How to generate the relations.npy
Your work is impressive and very helpful to the VLN. But can you show the code or the progress how to generate the two npy files? And I want to instead my knowledge graph to the conceptnet . Thanks a lot.
The relations.npy
is a 1600*1600 matrix, which is the relation weight matrix among the 1600 object classes in Visual Genome. And the relations_room.npy
is the relation weight among the room classes of the Matterport3D. The relation weight is got from the edge weight of the ConceptNet. Some of the download code is in KB/ConceptNet.py
. You may refer to it.