You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/03/25 07:17:44 UTC

[GitHub] [incubator-mxnet] klonikar edited a comment on issue #14589: convert from mxnet to onnx failed, with Unrecognized attribute: spatial for operator BatchNormalization

klonikar edited a comment on issue #14589: convert from mxnet to onnx failed, with Unrecognized attribute: spatial for operator BatchNormalization
URL: https://github.com/apache/incubator-mxnet/issues/14589#issuecomment-603673688
 
 
   The model-symbol.json file I had did not have spatial attribute. Still it failed. I noticed that the mxnet-onnx converter was adding that attribute as below:
   Simply comment the line 359 in the file **/Library/Python/3.7/site-packages/mxnet/contrib/onnx/mx2onnx/_op_translations.py** on MacOSX or **/usr/local/lib/python3.6/dist-packages/mxnet/contrib/onnx/mx2onnx/_op_translations.py** on Linux
   re-run your mxnet2onnx converter code.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services