CKR icon indicating copy to clipboard operation
CKR copied to clipboard

How to generate the relations.npy

Open Chunmian-art opened this issue 2 years ago • 1 comments

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.

Chunmian-art avatar Mar 22 '22 11:03 Chunmian-art

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.

alloldman avatar Sep 02 '22 03:09 alloldman