Solved by ptrblck in post #2 
              
              
                Adding transformations to your Dataset does not increase the number of images, but applies these transformation on each sample. 
The number of samples is defined by the return value in Dataset.__len__. 
E.g. if you are dealing with 1000 images, you’ll now get 1000 (randomly) transformed images. 
The…