NRauschmayr commented on issue #15280: Fixed C++ inference tutorial URL: https://github.com/apache/incubator-mxnet/pull/15280#issuecomment-504678915 I think we have to update the unit-test: it is using an outdated and not maintained model https://github.com/apache/incubator-mxnet/blob/a9458caec285d3c28d16588fef6aef5e219c7472/cpp-package/example/inference/unit_test_inception_inference.sh The test should rather use a model from the official model zoo. According to https://mxnet.incubator.apache.org/api/python/gluon/model_zoo.html pre-processing has to be done the following way ``` 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])) ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
