klonikar commented 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 convertor 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** and re-run your python 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: [email protected] With regards, Apache Git Services
