learnopencv icon indicating copy to clipboard operation
learnopencv copied to clipboard

Image normalization

Open enrico310786 opened this issue 1 year ago • 0 comments

Hi,

great work. Just a comment about image normalization before use it in the model. At row 61 of FullyConvolutionalResnet18.py you apply the transformation respect to the values of mean and std of Imagenet dataset. But before that normalization, shouldn't you rescaling the pixel value between 0 and 1?

Thanks, Enrico

enrico310786 avatar Jul 27 '22 09:07 enrico310786