Before applying the transformation 10
transform = transforms.Compose([transforms.ToPILImage(), transforms.ToTensor()])

After applying the transformation 9
Q.1 Why the pixel values are changed?
Q.2 How to correct this?