Indices not in valid range (HeteroData) #7488
Unanswered
nakhlarafi
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The node indices of need to go from 0-num_nodes-1 for each node type. In your example the indices of the |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hello there,
I was trying to make and run a heterogeneous graph in a model. However, I am getting errors like:
Now I manually checked the graphs and found that all indices are in the correct range. For example, these are some graph nodes:
and these are the edges between them:
Now can anyone tell me if the edge indices are in the correct range or if I am doing anything wrong?
This is the HeteroData Obj:
Beta Was this translation helpful? Give feedback.
All reactions