OntoZSL icon indicating copy to clipboard operation
OntoZSL copied to clipboard

Load relation embeddings of multimodal embeddings

Open Tanni2887 opened this issue 2 years ago • 0 comments

for i, rel in id2rel.items(): # load embeddings if rel in entity_embeddings_img and rel in entity_embeddings_txt: rel_embed_txt = entity_embeddings_txt[rel] rel_embed_img = entity_embeddings_img[rel]**** here in entity_embeddings_img[rel] we didn't find any embedding because in entity_embeddings_img we have embeddings of entities only. How do you get entity_embeddings_img[rel] here.

Tanni2887 avatar May 14 '23 02:05 Tanni2887