braindotai commented on issue #17684: The output of the ReLU layer in MXNET is 
different from that in tensorflow and cntk
URL: 
https://github.com/apache/incubator-mxnet/issues/17684#issuecomment-592934161
 
 
   As given 
[here](https://mxnet.apache.org/api/python/docs/api/gluon/model_zoo/index.html) 
make sure that you are normalizing your image as below
   ```python
   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

Reply via email to