I was trying to use torchvision.transforms.Normalize() transform on a 3-channel PIL image that has F format (32-bit float). The min max of the image are -54.3 and 24.6, respectively.
To use the Normalize() transform with mean=0.5 and std=0.25, for every channel, the image min max values should be between 0 and 1.
It seems that the  ToTensor() transform puts the PIL RGB image to values between 0 and 1, but it does not do it correctly for the PIL image with F format. I was wondering if this issue can be solved without a special transform that I need to write for the PIL images that have F format.