Skip to content

DNN(IE): switch to nGraph backend by default - #16746

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:dnn_switch_ie_backend_ngraph
Mar 10, 2020
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:dnn_switch_ie_backend_ngraph

Conversation

@alalek

@alalek alalek commented Mar 6, 2020 •

Copy link
Copy Markdown
Member
force_builders=Custom,Custom Win,Custom Mac
build_image:Custom=ubuntu-openvino-2020.1.0:16.04
build_image:Custom Win=openvino-2020.1.0
build_image:Custom Mac=openvino-2020.1.0

Xtest_modules:Custom=dnn,python2,python3,java
test_modules:Custom Win=dnn,python2,python3,java
test_modules:Custom Mac=dnn,python2,python3,java

buildworker:Custom=linux-1
# disabled due high memory usage: test_opencl:Custom=ON
test_opencl:Custom=OFF
test_bigdata:Custom=1
test_filter:Custom=*

@r0l1

r0l1 commented Mar 9, 2020

Copy link
Copy Markdown

@dkurt @alalek I tested the ngraph backend with a yolov3 model on a MyriadX. The output is quite different and precision is degraded by ~35%. The loading of the model took also quite long. I'll post more infos soon. I would suggest to do a lot of testing before merging this. Or add a new backend:

net.setPreferableBackend(DNN_BACKEND_INFERENCE_ENGINE)
net.setPreferableBackend(DNN_BACKEND_INFERENCE_ENGINE_NGRAPH)

@dkurt

dkurt commented Mar 9, 2020

Copy link
Copy Markdown
Member

@R0L, we do not remove second API completely - this PR just switches default one.

There is DNN_BACKEND_INFERENCE_ENGINE_NN_BUILDER_2019.

Thanks for catch! We will take a look onto this problem.

@dkurt dkurt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thank you!

@dkurt dkurt self-assigned this Mar 10, 2020
@opencv-pushbot
opencv-pushbot merged commit 510a852 into opencv:3.4 Mar 10, 2020
@alalek alalek mentioned this pull request Mar 10, 2020
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants