Skip to content

Load data in batches/chunks #1316

Answered by AntonioCarta
caesar753 asked this question in Q&A
Discussion options

You must be logged in to vote

There are two solutions:

  • you don't need to convert your data to tensors. You can just wrap it in an AvalancheDataset (e.g. using make_classification_dataset).
  • If you really want tensors, you can use lazy streams. You can use this comment as a starting point.

Replies: 1 comment 1 reply

Comment options

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

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