Skip to content

onnx模型导出 #1

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

Open
gaooooke opened this issue Mar 11, 2021 · 0 comments
Open

onnx模型导出 #1

gaooooke opened this issue Mar 11, 2021 · 0 comments

Comments

@gaooooke
Copy link

请问时如何导出onnx模型的?我导出的模型在推理时报如下错误:
error: (-2:Unspecified error) in function 'void cv::dnn::dnn4_v20200908::ONNXImporter::populateNet(cv::dnn::dnn4_v20200908::Net)'

(expected: 'shapes.depth() == CV_32S'), where
'shapes.depth()' is 5 (CV_32FC1)
must be equal to
'CV_32S' is 4 (CV_32SC1)

Aborted (core dumped)

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

1 participant