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
outputs_[i]->uses().empty()
Describe the bug A clear and concise description of what the bug is. I use onnxsim-0.4.36 to simpily a model and get this error:
Traceback (most recent call last): File "/root/miniconda3/envs/lite/bin/onnxsim", line 8, in sys.exit(main()) File "/root/miniconda3/envs/lite/lib/python3.9/site-packages/onnxsim/onnx_simplifier.py", line 489, in main model_opt, check_ok = simplify( File "/root/miniconda3/envs/lite/lib/python3.9/site-packages/onnxsim/onnx_simplifier.py", line 199, in simplify model_opt_bytes = C.simplify( RuntimeError: /project/third_party/onnx-optimizer/third_party/onnx/onnx/common/ir.h:1372: eraseOutput: Assertion outputs_[i]->uses().empty() failed.
However, if I use onnxsim-0.4.31, I can successfully simplify the model.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
I use onnxsim-0.4.36 to simpily a model and get this error:
Traceback (most recent call last):
File "/root/miniconda3/envs/lite/bin/onnxsim", line 8, in
sys.exit(main())
File "/root/miniconda3/envs/lite/lib/python3.9/site-packages/onnxsim/onnx_simplifier.py", line 489, in main
model_opt, check_ok = simplify(
File "/root/miniconda3/envs/lite/lib/python3.9/site-packages/onnxsim/onnx_simplifier.py", line 199, in simplify
model_opt_bytes = C.simplify(
RuntimeError: /project/third_party/onnx-optimizer/third_party/onnx/onnx/common/ir.h:1372: eraseOutput: Assertion
outputs_[i]->uses().empty()
failed.However, if I use onnxsim-0.4.31, I can successfully simplify the model.
The text was updated successfully, but these errors were encountered: