Replies: 1 comment
-
For example, when you have three nodes, it expects the |
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.
-
Going into
hetero_data.py
we see thatwhere store.edge_index[0].max() >= num_src_nodes), is the crucial part causing the error in my code because, for me, these two are equal. This also logically makes sense to me: for every node, I have an index in
edge_index
pointing to that node. This intuitively makes sense to me.We can observe similar behaviour in
message_passing.py
:Again here the greater / equal sign breaks my code if I remove the greater than or equal sign from
hetero_data.py
. Also not in the text we subtract 1 from the node_dim? I suppose it is there for a reason, although I can not grasp what this reason is. Anyone willing to share any insight on this matter would be greatly appreciated.Beta Was this translation helpful? Give feedback.
All reactions