transform = transforms.Compose([transforms.Resize((224, 244)),
transforms.Normalize(mean = [0.5, 0.5, 0.5],
std = [0.5, 0.5, 0.5])])
this is what I did for my dataset.
before applying randomhorizontalflip, there was 2299 number of mini_batches. And after applying horizontal flipping there are still 2299 number of mini_batches. I printed out the len(data_loader).
why is this not working?