Open ww-rm opened 9 months ago
The torchvision.transforms.ToTensor scale images from range (0, 255) to range (0.0, 1.0), but in original paper, it should be scaled to range (-1.0, 1.0).
The torchvision.transforms.ToTensor scale images from range (0, 255) to range (0.0, 1.0), but in original paper, it should be scaled to range (-1.0, 1.0).