Enabled tests on IE backend

pull/13774/head
Liubov Batanina 6 years ago
parent b068d26fad
commit 6b4becfd03
  1. 2
      modules/dnn/src/layers/normalize_bbox_layer.cpp
  2. 2
      modules/dnn/test/test_backends.cpp
  3. 4
      modules/dnn/test/test_torch_importer.cpp

@ -65,7 +65,7 @@ public:
{
if (backendId == DNN_BACKEND_INFERENCE_ENGINE)
{
if (!(pnorm == 2 || pnorm == 1)) {
if (pnorm != 2) {
return false;
}
return preferableTarget == DNN_TARGET_MYRIAD ? !acrossSpatial : startAxis == 1;

@ -226,7 +226,7 @@ TEST_P(DNNTestNetwork, OpenPose_pose_mpi_faster_4_stages)
TEST_P(DNNTestNetwork, OpenFace)
{
#if defined(INF_ENGINE_RELEASE)
#if (INF_ENGINE_RELEASE < 2018030000 || INF_ENGINE_RELEASE == 2018050000)
#if (INF_ENGINE_RELEASE < 2018030000)
if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_MYRIAD)
throw SkipTestException("");
#elif INF_ENGINE_RELEASE < 2018040000

@ -272,12 +272,12 @@ class Test_Torch_nets : public DNNTestLayer {};
TEST_P(Test_Torch_nets, OpenFace_accuracy)
{
#if defined(INF_ENGINE_RELEASE) && (INF_ENGINE_RELEASE < 2018030000 || INF_ENGINE_RELEASE == 2018050000)
#if defined(INF_ENGINE_RELEASE) && (INF_ENGINE_RELEASE < 2018030000)
if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_MYRIAD)
throw SkipTestException("");
#endif
checkBackend();
if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_OPENCL_FP16)
if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_OPENCL_FP16 && INF_ENGINE_RELEASE != 2018050000)
throw SkipTestException("");
const string model = findDataFile("dnn/openface_nn4.small2.v1.t7", false);

Loading…
Cancel
Save