Skip to content
New issue

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

onnx-simplifier error #31

Open
kuroko1t opened this issue Jun 27, 2022 · 0 comments
Open

onnx-simplifier error #31

kuroko1t opened this issue Jun 27, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@kuroko1t
Copy link
Owner

Traceback (most recent call last):                                                                                                                                                                                                                         
  File "/root/ghq/github.com/kuroko1t/ghelia/aitrios/convert_ckpt2onnx.py", line 260, in <module>                                                                                                                                                          
    pose_infer.to_onnx()                                                                                                                                                                                                                                   
  File "/root/ghq/github.com/kuroko1t/ghelia/aitrios/convert_ckpt2onnx.py", line 154, in to_onnx                                                                                                                                                           
    nne.cv2onnx(model, input_shape, onnx_file, simplify=True)                                                                                                                                                                                              
  File "/root/.venv/4e05bd248df744710af32da487854159/middle/lib/python3.8/site-packages/nne/convert/onnx.py", line 64, in cv2onnx                                                                                                                          
    model_opt, check_ok = onnx_simplify(onnx_model, input_shape)                                              
  File "/root/.venv/4e05bd248df744710af32da487854159/middle/lib/python3.8/site-packages/nne/convert/common.py", line 38, in onnx_simplify
    model_opt, check_ok = onnxsim.simplify(                                                                                  
  File "/root/.venv/4e05bd248df744710af32da487854159/middle/lib/python3.8/site-packages/onnxsim/onnx_simplifier.py", line 533, in simplify
    assert(isinstance(model, onnx.ModelProto))                                                                               
AssertionError 
@kuroko1t kuroko1t added the bug Something isn't working label Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant