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 to mnn error #18

Closed
feipxyz opened this issue May 7, 2019 · 3 comments
Closed

onnx to mnn error #18

feipxyz opened this issue May 7, 2019 · 3 comments

Comments

@feipxyz
Copy link

feipxyz commented May 7, 2019

error message:
./MNNConvert -f ONNX --modelFile ~/GitHub/DFace/mobile_v2_pnet.onnx --MNNModel ~/GitHub/DFace/mobile_v2_pnet.mnn --bizCode MNN

MNNConverter Version: 0.0.0.1 - MNN @ 2018

Start to Convert Other Model Format To MNN Model...
[22:08:27] /Users/feipeng/GitHub/MNN/tools/converter/source/onnx/onnxConverter.cpp:29: ONNX Model ir version: 3
libc++abi.dylib: terminating with uncaught exception of type Error: [22:08:27] /Users/feipeng/GitHub/MNN/tools/converter/source/onnx/onnxConverter.cpp:83: Check failed: opConverter ==> MNN Converter NOT_SUPPORTED_OP: [ Clip ]
[1] 22273 abort ./MNNConvert -f ONNX --modelFile ~/GitHub/DFace/mobile_v2_pnet.onnx --MNNMode

how can i solve it?

@feipxyz feipxyz changed the title Convert onnx model err onnx to mnn error May 7, 2019
@feipxyz
Copy link
Author

feipxyz commented May 7, 2019

another:
/Users/feipeng/GitHub/MNN/tools/converter/source/onnx/onnxConverter.cpp:29: ONNX Model ir version: 3
libc++abi.dylib: terminating with uncaught exception of type Error: [23:45:20] /Users/feipeng/GitHub/MNN/tools/converter/source/onnx/onnxConverter.cpp:83: Check failed: opConverter ==> MNN Converter NOT_SUPPORTED_OP: [ Constant ]

@czy2014hust
Copy link
Collaborator

Got it. Will be added later.

@daquexian
Copy link
Contributor

daquexian commented Aug 8, 2019

another:
/Users/feipeng/GitHub/MNN/tools/converter/source/onnx/onnxConverter.cpp:29: ONNX Model ir version: 3
libc++abi.dylib: terminating with uncaught exception of type Error: [23:45:20] /Users/feipeng/GitHub/MNN/tools/converter/source/onnx/onnxConverter.cpp:83: Check failed: opConverter ==> MNN Converter NOT_SUPPORTED_OP: [ Constant ]

Constant op can be eliminated by onnx optimizer or onnx-simplifier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants