Skip to content
Discussion options

You must be logged in to vote

torch_geometric.loader.DataLoader is used to load a batch of graphs. For minibatch training of a single large graph use NeighborLoader.
So your code would look something like
loader = NeighborLoader(MyDataset.data, num_neighbors =, batch_size = )

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hash-ir
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