Solved by sercan in post #3 
              
              
                I noticed that I used opencv functions to apply normalization using this code: 
subtract(image, Scalar(0.485, 0.456, 0.406), temp);
divide(temp, Scalar(0.229, 0.224, 0.225), image);

This operation changes only the first channel and does not change other channels. For this reason, in fact, input ten…