This is what you’re looking for: http://pytorch.org/docs/torchvision/transforms.html#torchvision.transforms.ToTensor 2.8k
This converts the image to [0,1], which in turn goes into your network.
So, its fine to have your images saved with pixel values in [0,255].
transforms.Normalize is defined for a  tensor (after applying the  ToTensor method), so you’re method of normalising the images is correct.