PyTorch PIL to Tensor and vice versa

http://pytorch.org/docs/master/torchvision/transforms.html#conversion-transforms

implies you’ll go from [0,255] to [0,1]…

2 Likes