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;