Skip to content
Discussion options

You must be logged in to vote

The node indices correspond to the row index of the feature matrix. That is, x[0] denotes the features of node 0, x[1] denotes the features of node 1, and so on. As such, node indices in PyG need to be mapped to the 0 to num_nodes - 1 range. Let me know if this resolves your issue :)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by SaffronWolf
Comment options

You must be logged in to vote
1 reply
@rusty1s
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants