From e58da86efc38484b1c660263405326bcb22594c9 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Sat, 10 Oct 2020 21:34:15 +0000 Subject: [PATCH] dnn(test): update tests for OpenVINO 2021.1 (OpenCV 4.x) --- modules/dnn/test/test_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dnn/test/test_model.cpp b/modules/dnn/test/test_model.cpp index 215cc1c743..ddec6e79e4 100644 --- a/modules/dnn/test/test_model.cpp +++ b/modules/dnn/test/test_model.cpp @@ -363,7 +363,7 @@ TEST_P(Test_Model, Detection_normalized) scoreDiff = 5e-3; iouDiff = 0.09; } -#if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2020040000) +#if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_GE(2020040000) if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH && target == DNN_TARGET_MYRIAD) { iouDiff = 0.095f;