luan1412167 commented on issue #15892: retinaface model to onnx URL: https://github.com/apache/incubator-mxnet/issues/15892#issuecomment-541517959 @vandanavk I have changed as your comment https://github.com/apache/incubator-mxnet/issues/15892#issuecomment-524952771. However I got error ` File "mxnet_to_onnx_converter.py", line 36, in <module> converted_model_path = onnx_mxnet.export_model(sym, params, [input_shape], np.float32, onnx_file) File "/home/luandd/miniconda3/envs/luandao/lib/python3.7/site-packages/mxnet/contrib/onnx/mx2onnx/export_model.py", line 83, in export_model verbose=verbose) File "/home/luandd/miniconda3/envs/luandao/lib/python3.7/site-packages/mxnet/contrib/onnx/mx2onnx/export_onnx.py", line 211, in create_onnx_graph_proto graph_outputs = MXNetGraph.get_outputs(sym, params, in_shape, output_label) File "/home/luandd/miniconda3/envs/luandao/lib/python3.7/site-packages/mxnet/contrib/onnx/mx2onnx/export_onnx.py", line 142, in get_outputs _, out_shapes, _ = sym.infer_shape(**inputs) File "/home/luandd/miniconda3/envs/luandao/lib/python3.7/site-packages/mxnet/symbol/symbol.py", line 1076, in infer_shape res = self._infer_shape_impl(False, *args, **kwargs) File "/home/luandd/miniconda3/envs/luandao/lib/python3.7/site-packages/mxnet/symbol/symbol.py", line 1210, in _infer_shape_impl ctypes.byref(complete))) File "/home/luandd/miniconda3/envs/luandao/lib/python3.7/site-packages/mxnet/base.py", line 253, in check_call raise MXNetError(py_str(_LIB.MXGetLastError())) mxnet.base.MXNetError: Error in operator face_rpn_cls_prob_stride32: [12:34:58] src/operator/softmax_output.cc:86: Check failed: in_shape->size() == 2U (1 vs. 2) : Input:[data, label] `
---------------------------------------------------------------- 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
