Hi, thanks for great code.
I inspected the input stream and found that input image is not normalized.
As far as i know, pytorch VGG assumes normalized pixel values.
RGB value should be divided by 255, then normalized with mean=[0.485, 0.456, 0.406] and std=[0.229, 0.224, 0.225].
Hi, thanks for great code. I inspected the input stream and found that input image is not normalized. As far as i know, pytorch VGG assumes normalized pixel values. RGB value should be divided by 255, then normalized with mean=[0.485, 0.456, 0.406] and std=[0.229, 0.224, 0.225].