Open tanxiaoying opened 10 months ago
Hi, Xiaoying:
The xxx.csv file could be constructed via file "example_entity2id_NYC.txt" in our github project. Specifically, given the entity/entity_id and KG_id:
Road/181905 0
Junction/17059 1
POI/472298 2
we can obtain xxx.csv file using the following formatting: entity entity_id KG_id
Road 181905 0
Junction 17059 1
POI 472298 2
We have uploaded the example file in here.The similar issue is proposed in issue #2. We hope our solution can help you.
Yansong
您好,您的代码很棒,但我在学习的过程中有一些不懂之处,希望您能给予解答 get_region_embeddings("xxx.csv", entity_final_embedddings, 'xxx.npy') get_POI_embedding("xxx.csv", entity_final_embedddings, 'xxx.npy') get_Road_embedding("xxx.csv", entity_final_embedddings, 'xxx.npy') 这段代码的xxx.csv文件是如何得到的呢?