question about edge_index of the reverse links in a mini-batch from LinkNeighborLoader #9706
Unanswered
NadiaAlbukaeiDH
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.
-
Hi PyG Community,
i am using
LinkNeighborLoader
to generate mini-batches from my hetero graph (train_data
) as follows:Here is the structure of my
train_data
:When I checked the edge_index in one batch from the
LinkNeighborLoader
, I found that the edge_index of the direct and reverse links (('customer', 'order', 'vendor')
and('vendor', 'rev_order', 'customer')
) are not symmetrical:Shouldn’t they be symmetrical for correct message passing? Why doesn't
LinkNeighborLoader
have a parameter similar torev_edge_types
inRandomLinkSplit
, which could specify that these are reverse edges and prevent them from being sampled separately?Beta Was this translation helpful? Give feedback.
All reactions