Skip to content

Fix precision in tests for MyriadX - #13932

Merged
alalek merged 10 commits into
opencv:3.4from
l-bat:MyriadX_master_dldt
Mar 29, 2019
Merged

alalek merged 10 commits into
opencv:3.4from
l-bat:MyriadX_master_dldt

Conversation

@l-bat

@l-bat l-bat commented Feb 28, 2019 •

Copy link
Copy Markdown
Contributor
force_builders=Custom
buildworker:Custom=linux-2
docker_image:Custom=ubuntu-openvino-2018r5:16.04
test_opencl:Custom=ON
test_bigdata:Custom=1
test_filter:Custom=*
test_modules:Custom=dnn

**WIP**
ci_branch:Linux AVX2=no-checks
docker_image:Linux AVX2=ubuntu-openvino-2018r5:16.04
test_opencl:Linux AVX2=OFF
buildworker:Linux AVX2=linux-1
build_parallel_tests:Linux AVX2=1
test_bigdata:Linux AVX2=1
test_module:Linux AVX2=dnn,python2,python3,java
tests_filter:Linux AVX2=*
#tests_filter:Linux AVX2=*:-Test_Caffe_layers.Conv_Elu/1

@alalek

alalek commented Mar 4, 2019

Copy link
Copy Markdown
Member

There are two failed tests with NCS 1.

@l-bat
l-bat force-pushed the MyriadX_master_dldt branch from 82e9a10 to 7cf96f2 Compare March 13, 2019 16:02
return false;
}
return true;
}

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.

I believe that we can check it by less number of lines:

  • Do we need to CreateInferRequest and subsequent steps or plugin throws an exception at LoadNetwork?
  • Is it possible to create an empty CNNNetwork or simplify a builder? In example, keep only input and output layer.

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.

Some notes:

  • CreateInferRequest() call throws exception.
  • empty CNNNetwork doesn't work (vpu plugin is crashed).

Comment thread modules/dnn/src/op_inf_engine.hpp Resolved
outChannels == 4 && group == 1 && kernel == Size(3, 1) && pad == Size(0, 1) &&
stride == Size(1, 1))
throw SkipTestException("Test is disabled for OpenVINO 2018R6");
#endif

@dkurt dkurt Mar 14, 2019 •

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.

Can we determine which hyperparameter causes error and skip problem layer if MyriadX is detected?

@l-bat
l-bat force-pushed the MyriadX_master_dldt branch 3 times, most recently from 38f5586 to 44346a2 Compare March 26, 2019 09:16
@alalek

alalek commented Mar 28, 2019

Copy link
Copy Markdown
Member

@dkurt @mshabunin Please take a look on update of public header files.

Comment thread modules/dnn/src/op_inf_engine.cpp Resolved

@alalek alalek 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.

Well done! Thank you 👍

@alalek
alalek merged commit 7d3d6bc into opencv:3.4 Mar 29, 2019
@alalek alalek mentioned this pull request Mar 29, 2019
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
* Fix precision in tests for MyriadX

* Fix ONNX tests

* Add output range in ONNX tests

* Skip tests on Myriad OpenVINO 2018R5

* Add detect MyriadX

* Add detect MyriadX on OpenVINO R5

* Skip tests on Myriad next version of OpenVINO

* dnn(ie): VPU type from environment variable

* dnn(test): validate VPU type

* dnn(test): update DLIE test skip conditions
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.

3 participants