-
I read the I expect my dataset will be over ~50 GB. But, the example in docs seems suitable for a "single" massive graph data. Since my dataset is composed of "multiple" graphs, I wonder if I can use Does |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Yes, the standard |
Beta Was this translation helpful? Give feedback.
-
Hello, I have a follow-up question here, what would be the suggestion when I have a single large graph over 50GB? Should I need to cut the graph into multiple subgraphs first? |
Beta Was this translation helpful? Give feedback.
Yes, the standard
torch_geometric.data.Dataset
will only hold the data that is passed to the model as input. By specifiyinglen
andget
, you will tell the dataset how many examples it contain and how to load individual examples from file. As such, thecollate
method (that bundles all examples together to load them efficiently) is not needed here.