Link Classification with LinkNeighborLoader and edge_attr Misalignment
#10363
Unanswered
fafal-abnir
asked this question in
Q&A
Replies: 0 comments
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.
-
I'm working on link classification using a Graph Neural Network with
LinkNeighborLoader.In my model, I classify edges by computing:
The
LinkNeighborLoaderprovidesedge_attrfor the samplededge_index,but not for the
edge_label_index, which contains the edges I actually need to classify.for example:
Currently, I have to look up
edge_attrfrom the full graph usingedge_label_indexto get the corresponding edge features.This is inefficient and breaks the purpose of minibatch training.
Is there a better solution to this?
Specifically:
Beta Was this translation helpful? Give feedback.
All reactions