Skip to content
Discussion options

You must be logged in to vote

I think following the IterableDataset interface is the way to go, as this fits perfectly into your desired needs. I'm not sure though why you say that the IterableDataset/DataLoader approach does not work. IMO, this should work just fine given that you are utilizing the torch_geometric.loader.DataLoader rather than the torch.utils.data.DataLoader. Is this not the case? This also eliminates to manually batch data objects after loading them.

Idea 2 should work as well, but feels like you are re-implementing a lot of functionality that is already present in IterableDataset.

Replies: 1 comment 1 reply

Comment options

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

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