How to convert the batched graph sampled by NeighborLoader()
to sub-graph list efficiently
#9091
Unanswered
xiachenrui
asked this question in
Q&A
Replies: 1 comment
-
Is |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi all,
I want to convert the batched graph sampled by
NeighborLoader(batch_size = 1000, ...)
to list of sub-graphs (then store them inOnDiskDataset
). But the sampled graph isData
(notBatch
) object and I am not sure how to convert it to list of sub-graphs.And
NeighborLoader(batch_size = 1)
is too slow (30 sub-graphs per second, but I have 10 Million sub-graphs).Any suggestion will be useful !
Beta Was this translation helpful? Give feedback.
All reactions