Open h030162 opened 3 years ago
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.
I think this is a feature request for supporting slice operator for ONNX export. cc @josephevans
Hi @h030162, this is actually fixed in the v1.x branch.
Hi @h030162 We have recently enabled support for this model. Are you still working on this? Thanks
Traceback (most recent call last): File "slowfast_export.py", line 273, in
converted_model_path = onnx_mxnet.export_model(sym, params, [input_shape], np.float32, onnx_file, verbose = True)
File "/usr/local/lib/python3.6/site-packages/mxnet/contrib/onnx/mx2onnx/export_model.py", line 79, in export_model
verbose=verbose)
File "/usr/local/lib/python3.6/site-packages/mxnet/contrib/onnx/mx2onnx/export_onnx.py", line 249, in create_onnx_graph_proto
idx=idx
File "/usr/local/lib/python3.6/site-packages/mxnet/contrib/onnx/mx2onnx/export_onnx.py", line 86, in convert_layer
raise AttributeError("No conversion function registered for op type %s yet." % op)
AttributeError: No conversion function registered for op type slice yet.