Skip to content
Discussion options

You must be logged in to vote

Hi Joe,

You don't need a DataLoader. You just need something we can iterate on, that produces batches.
That being said, some features (like automatically adapting the sampler for distributed training) won't work in that case, but it sounds like you don't need them anyways.

Another possibility would be to use the IterableDataset from PyTorch and wrap that one into a loader for convencience.

Best,
Justus

Replies: 2 comments 2 replies

Comment options

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

Answer selected by jmarshrossney
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment