mxnet-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-mxnet] alicera edited a comment on issue #19808: onnx model
Date Mon, 01 Feb 2021 07:47:31 GMT

alicera edited a comment on issue #19808:

   git clone --recursive mxnet
   cd mxnet
   git checkout v1.x
   cp -r ./python/mxnet/contrib/onnx/mx2onnx/ /opt/mxnet/python/mxnet/contrib/onnx/
   then I run the project to deal with onnx.
   [07:45:24] ../src/storage/ Using Pooled (Naive) StorageManager for CPU
   resnest50 downloaded
   resnest50 hybridized
   resnest50 exported
   Traceback (most recent call last):
     File "", line 27, in <module>
       onnx_mxnet.export_model(sym, params, [input_shape], np.float32, onnx_file)
     File "/opt/mxnet/python/mxnet/contrib/onnx/mx2onnx/", line 81, in export_model
       onnx_graph = converter.create_onnx_graph_proto(sym_obj, params_obj, input_shape,
     File "/opt/mxnet/python/mxnet/contrib/onnx/mx2onnx/", line 257, in create_onnx_graph_proto
       converted = MXNetGraph.convert_layer(
     File "/opt/mxnet/python/mxnet/contrib/onnx/mx2onnx/", line 88, in convert_layer
       return convert_func(node, **kwargs)
     File "/opt/mxnet/python/mxnet/contrib/onnx/mx2onnx/", line 1512, in
       return create_basic_op_node('Add', node, kwargs)
     File "/opt/mxnet/python/mxnet/contrib/onnx/mx2onnx/", line 148, in
       name, input_nodes, _ = get_inputs(node, kwargs)
     File "/opt/mxnet/python/mxnet/contrib/onnx/mx2onnx/", line 140, in
       input_node_name = outputs_lookup[ip[0]][ip[1]]
   IndexError: list index out of range

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message