I was wondering how the DataLoader handle the shuffling of images.
Let’s say my batch size is 64. I have a dataset of 64.000 training images, therefore, my
training_dataloader will create 1.000 batches, each of which will contain 64 images.
I understand that, the moment of selecting which batch comes next in the training loop picks a random index among all the batches. Is this right?
Does each of those 1.000 batches always contains the same 64 images or every time each single batch samples 64 images randomly?
Thank you very much in advance