Username2:

And if the data is too big my computation crashes when I want to create the dataset that I need for my dataloaders. (all available ram is used…)


Would it be possible to lazily load the data, i.e. each call into Dataset.__getitem__ would load a single sample and the DataLoader would create the final batch?