How to pass edge_index
to LinkNeighborLoader
?
#7875
Replies: 1 comment
-
Now I understand that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a question about the
LinkNeighborLoader
.In the previous question, I solved my problem by passing
edge_label_index
toLinkNeighborLoader
synchronizing to the original dataset.But I found that the loader initializes the
edge_index
based on theedge_label_index
.But I need the original
edge_index
intrain_data
since I want to predict the link in the entire knowledge graph.So I tried passing the
edge_inex
parameter into the loader and it returned the error below:Actually, I need to perform the message passing in the entire knowledge graph (i.e., edge_index=[2, 2159112]) and predict the link between nodes in the training/validation/test dataset. Isn't
edge_index
related to this task?Beta Was this translation helpful? Give feedback.
All reactions