szha commented on issue #7564: add resnet50_v2 pretrained URL: https://github.com/apache/incubator-mxnet/pull/7564#issuecomment-324187927 Input to the network should be after applying the following transformation, which is consistent with other models in the gluon model zoo: ``` image = image/255 normalized = mx.image.color_normalize(image, mean=mx.nd.array([0.485, 0.456, 0.406]), std=mx.nd.array([0.229, 0.224, 0.225])) ``` The network was trained using image_classification.py code in the example, so it should already be consistent. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
With regards, Apache Git Services