Skip to content
Discussion options

You must be logged in to vote

In general, you do not need to store your graphs on disk and can easily perform graph generation on-the-fly. For this, you can either implement your own version of torch.utils.data.Dataset and perform conversion to PyG's graph data in __getitem__ on the fly. For streaming data, IterableDataset should work as well. Another option is to look into the newly released torch-data project which implements flexible and customizable data loading functionality via data pipelines. I am currently working on an example to show-case its use directly in PyG :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AlejandroTL
Comment options

Answer selected by AlejandroTL
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