Can GCN and GIN run in minibatch training like GAT does? #4974
Answered
by
rusty1s
imethanlee
asked this question in
Q&A
-
I found an implementation of minibatch GAT (https://github.com/pyg-team/pytorch_geometric/blob/master/examples/ogbn_products_gat.py). I modify the code to GCN and GIN and it seems does not work. I was wondering whether it is possible to run GCN and GIN with minibatching as that GAT code does? |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Jul 14, 2022
Replies: 1 comment
-
Yes, in general, all our GNN layers work in mini-batch mode. This was made easier with the new |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
imethanlee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, in general, all our GNN layers work in mini-batch mode. This was made easier with the new
NeighborLoader
class, which does no longer require bipartite message passing. Here is an example.