DNNLibrary
DNNLibrary copied to clipboard
libc++abi.dylib: terminating with uncaught exception of type std::invalid_argument: Unsupported operator Shape
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 ?
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.