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

libc++abi.dylib: terminating with uncaught exception of type std::invalid_argument: Unsupported operator Shape #68

Open
lamhoangtung opened this issue Jan 4, 2020 · 1 comment

Comments

@lamhoangtung
Copy link

Hi I'm trying to convert a simple onyx model to day format but got this error

libc++abi.dylib: terminating with uncaught exception of type std::invalid_argument: Unsupported operator Shape
[1]    22297 abort      /Users/linus/myself/DNNLibrary/build/tools/onnx2daq/onnx2daq resnet50_ocr.onn

Any ideal how to fix this ?

@daquexian
Copy link
Collaborator

Sorry for the late reply.

Could you please try simplifying your onnx model by https://github.com/daquexian/onnx-simplifier? onnx-simplifier will eliminate most Shape operators.

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

2 participants