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


With regards,
Apache Git Services

Reply via email to