Hi, I want to control the total number of training data, e.g., 50,000 -> (uniformly selected) 5,000 on MNIST.
I think that it can be controlled if I use torchvision.datasets.ImageFolder.
Do I have to use torchvision.datasets.ImageFolder for that purpose?  or Is there any other method to control the number of data?