You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, as stated in torchvision page, the input to torchvision's pretrained VGG should be RGB format and normalized by mean=[0.485, 0.456, 0.406] and std=[0.229, 0.224, 0.225].
However in your code, RGB image is converted to BGR format and normalized by mean=[103.939, 116.779, 123.680] and std=[1.0, 1.0, 1.0]:
Hi, as stated in torchvision page, the input to torchvision's pretrained VGG should be RGB format and normalized by
mean=[0.485, 0.456, 0.406]
andstd=[0.229, 0.224, 0.225]
.However in your code, RGB image is converted to BGR format and normalized by
mean=[103.939, 116.779, 123.680]
andstd=[1.0, 1.0, 1.0]
:Should this be fixed?
The text was updated successfully, but these errors were encountered: