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

How to use opencv_dnn.readNetFromModelOptimizer #1074

Closed
YuzaChongyi opened this issue Sep 1, 2021 · 2 comments
Closed

How to use opencv_dnn.readNetFromModelOptimizer #1074

YuzaChongyi opened this issue Sep 1, 2021 · 2 comments

Comments

@YuzaChongyi
Copy link

YuzaChongyi commented Sep 1, 2021

I see there is already have -DWITH_INF_ENGINE=ON -DENABLE_CXX11=ON in cppbuild.sh
but I get this error:

OpenCV(4.5.3) /Users/runner/work/javacpp-presets/javacpp-presets/opencv/cppbuild/macosx-x86_64/opencv-4.5.3/modules/dnn/src/dnn.cpp:3915: 
error: (-2:Unspecified error) Build OpenCV with Inference Engine to enable loading models from Model Optimizer. in function 'readFromModelOptimizer'
@YuzaChongyi YuzaChongyi changed the title how to use opencv_dnn.readNetFromModelOptimizer How to use opencv_dnn.readNetFromModelOptimizer Sep 1, 2021
@saudet
Copy link
Member

saudet commented Sep 1, 2021

Duplicate of #820

@saudet saudet marked this as a duplicate of #820 Sep 1, 2021
@saudet saudet closed this as completed Sep 1, 2021
@saudet
Copy link
Member

saudet commented Sep 1, 2021

/cc @cansik @EmergentOrder

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

No branches or pull requests

2 participants