I am very new to machine learning in general, and just started with Pytorch because of it’s simplicity. So I am following the TRAINING A CLASSIFIER of 60 minutes blitz tutorial. There the I cannot understand how and what this lines mean:
The output of torchvision datasets are PILImage images of range [0, 1]. We transform them to Tensors of normalized range [-1, 1].
Actually, it’s not accurate. The pixel values are in range [0, 255] not [0, 1], When you open an image with PIL, you get an object of the following classes depending on JPG or PNG: