cloudrivers commented on issue #15181: [Feature Request] Support ONNX export of MultiBox operators URL: https://github.com/apache/incubator-mxnet/issues/15181#issuecomment-571010495 meet the same issue on aws sagemaker. it seams that the version of onnx in sagemaker's mxnet is 1.2.1. however, I tried to upgrade to 1.6.0. after that, the issue still occur. pip install onnx==1.6.0 --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-4-e340aa08d30e> in <module>() 1 # Invoke export model API. It returns path of the converted onnx model ----> 2 converted_model_path = onnx_mxnet.export_model(sym, params, [input_shape], np.float16, onnx_file, True) 3 4 print(converted_model_path) 5 #converted_model_path = my_onnx_mxnet.export_model(sym, params, [input_shape], np.float32, onnx_file, True) ~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/mxnet/contrib/onnx/mx2onnx/export_model.py in export_model(sym, params, input_shape, input_type, onnx_file_path, verbose) 81 onnx_graph = converter.create_onnx_graph_proto(sym_obj, params_obj, input_shape, 82 mapping.NP_TYPE_TO_TENSOR_TYPE[data_format], ---> 83 verbose=verbose) 84 elif isinstance(sym, symbol.Symbol) and isinstance(params, dict): 85 onnx_graph = converter.create_onnx_graph_proto(sym, params, input_shape, ~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/mxnet/contrib/onnx/mx2onnx/export_onnx.py in create_onnx_graph_proto(self, sym, params, in_shape, in_type, verbose) 251 initializer=initializer, 252 index_lookup=index_lookup, --> 253 idx=idx 254 ) 255 ~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/mxnet/contrib/onnx/mx2onnx/export_onnx.py in convert_layer(node, **kwargs) 88 op = str(node["op"]) 89 if op not in MXNetGraph.registry_: ---> 90 raise AttributeError("No conversion function registered for op type %s yet." % op) 91 convert_func = MXNetGraph.registry_[op] 92 return convert_func(node, **kwargs) AttributeError: No conversion function registered for op type _contrib_MultiBoxPrior yet.
---------------------------------------------------------------- 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