We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to export MNXet Model to ONNX by doing the following at the end of the script, Single-Path-One-Shot-NAS-MXNet/oneshot_nas_network.py
sym_file_name = "./symbols/ShuffleNas_fixArch-symbol.json" param_file_name = './symbols/ShuffleNas_fixArch-0000.params' onnx_file_name = "./supernet_random.onnx" input_shape = (1,3,224,224) converted_model_path = onnx_mxnet.export_model(sym_file_name, param_file_name, [input_shape], np.float32, onnx_file_name, verbose=True)
I am getting the following error, AttributeError: ('Reshape: Shape value not supported in ONNX', -4)
output_shape_list is [0, -4, 2, -1, -2]. And MxNet/ONNX does not support the following values. not_supported_shape = [-2, -3, -4]
What am I doing wrong? Or ONNX export is not supported for this model?
The text was updated successfully, but these errors were encountered:
Did you ever fix this? I am in the exact same situation.
Sorry, something went wrong.
No branches or pull requests
I am trying to export MNXet Model to ONNX by doing the following at the end of the script, Single-Path-One-Shot-NAS-MXNet/oneshot_nas_network.py
sym_file_name = "./symbols/ShuffleNas_fixArch-symbol.json"
param_file_name = './symbols/ShuffleNas_fixArch-0000.params'
onnx_file_name = "./supernet_random.onnx"
input_shape = (1,3,224,224)
converted_model_path = onnx_mxnet.export_model(sym_file_name, param_file_name, [input_shape], np.float32, onnx_file_name, verbose=True)
I am getting the following error,
AttributeError: ('Reshape: Shape value not supported in ONNX', -4)
output_shape_list is [0, -4, 2, -1, -2]. And MxNet/ONNX does not support the following values.
not_supported_shape = [-2, -3, -4]
What am I doing wrong? Or ONNX export is not supported for this model?
The text was updated successfully, but these errors were encountered: