Skip to content
Discussion options

You must be logged in to vote

Yes, the standard torch_geometric.data.Dataset will only hold the data that is passed to the model as input. By specifiying len and get, you will tell the dataset how many examples it contain and how to load individual examples from file. As such, the collate method (that bundles all examples together to load them efficiently) is not needed here.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@Nokimann
Comment options

@rusty1s
Comment options

@abitofalchemy
Comment options

@abitofalchemy
Comment options

Answer selected by Nokimann
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants