Solved by ptrblck in post #4 
              
              
                You are directly indexing the underlying non-transformed data using train_set2.data. 
Try to index the Dataset, to get the transformed tensors train_set2[index].