-
I am trying to do a large-scale GNN learning for node classification. I am using the
My understanding is that Now, I want to know the node indices that are selected in each batch. How do I extract that information from the batch? Thanks in advance for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Your understanding of how To get original node id add a tensor to your data object that indicates the original node id. As explained in this answer. Maybe we should add a short note on this to the documentation since multiple people have the same question. |
Beta Was this translation helpful? Give feedback.
Your understanding of how
NeighborLoader
works sounds good to me.To get original node id add a tensor to your data object that indicates the original node id. As explained in this answer.
Maybe we should add a short note on this to the documentation since multiple people have the same question.