Skip to content
Discussion options

You must be logged in to vote

Why can't you simply do post-filtering and only keep one single dataset as you do in your example? I don't think you need to have two InMemoryDataset variants. Alternatively, you can specify a split attribute as part of your dataset class, and then load in the correct data. This is what we commonly do as well, e.g., here: https://github.com/pyg-team/pytorch_geometric/blob/master/torch_geometric/datasets/gdelt.py

Replies: 1 comment 1 reply

Comment options

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

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