Transform Scale

Hello,
transforms ToTensor scales all values from [0, 255] to [0,1], but after Normalize has values from random interval and I have warning from matplotlib. Is it possible to scale values manually?

This is not the case as Normalize will subtract the provided mean from the input and divide by the stddev to standardize the output. These values are not random.

Yes, you can write a custom transformation.