Thanks for your reply! The dtype is torch.uint8, and the min value is 0 while the max value is 255 when not specifying transform argument. I found that when using the same image transformations, the TensorDataset return by dst_transforms function having the same value with specifying transform argument in custom cifar10 dataset. However, I didn’t figure out why they have different training results.