Is is possible to generate batch data at the running time using pytorch?
for example , my training data consists of 30000 256*256 images, can I generate batch data containing, for example ,10 images at each iteration,  thus I don’t have to load the whole 30000 images one time but load them step by step?
Thank you.