Print random sample from dataloader in PyTorch (stackoverflow.com)stack
10 points by CaxiomX20 in stackoverflow.com · 6y ago · stack comments
I have a certain dataset loaded into a dataloader. For example, if I wanted to save 100 images from this dataloader, how should I iterate over the dataloader to save them?