Best way to store graphs #4258
Unanswered
DogitoErgoSum
asked this question in
Q&A
Replies: 2 comments
-
So do you mean that you want store the data for one by one ,so that you can import it ome by one.That will increase the spead of it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, this approach should speed up things by a lot. Last time I checked creating batches out of a list a |
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
I need to create around 2.4M individual graphs.
Right now I m using the Dataset class to create and store each graph. This approach is rather slow when loading a batch of graphs using dataloader and each graph takes around 28MB to store on disk.
I checked that if I instead stored a batch of graphs using Batch.from_data_list([data(),data1(),...]), the whole batch takes way less memory to store than the sum of each individual graph. However, i cannot use dataloader to create a batch of batches.
Is there a way around this?
Beta Was this translation helpful? Give feedback.
All reactions