@@ -111,6 +111,10 @@ PERF_TEST_P_(DNNTestNetwork, ENet)
111
111
if ((backend == DNN_BACKEND_INFERENCE_ENGINE_NN_BUILDER_2019 && target != DNN_TARGET_CPU) ||
112
112
(backend == DNN_BACKEND_OPENCV && target == DNN_TARGET_OPENCL_FP16))
113
113
throw SkipTestException (" " );
114
+ #if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_GE(2021010000)
115
+ if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH)
116
+ throw SkipTestException (" " );
117
+ #endif
114
118
processNet (" dnn/Enet-model-best.net" , " " , " enet.yml" ,
115
119
Mat (cv::Size (512 , 256 ), CV_32FC3));
116
120
}
@@ -202,6 +206,10 @@ PERF_TEST_P_(DNNTestNetwork, YOLOv3)
202
206
if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH && target == DNN_TARGET_OPENCL_FP16)
203
207
throw SkipTestException (" Test is disabled in OpenVINO 2020.4" );
204
208
#endif
209
+ #if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2021010000) // nGraph compilation failure
210
+ if (target == DNN_TARGET_MYRIAD)
211
+ throw SkipTestException (" " );
212
+ #endif
205
213
206
214
Mat sample = imread (findDataFile (" dnn/dog416.png" ));
207
215
cvtColor (sample, sample, COLOR_BGR2RGB);
@@ -214,7 +222,7 @@ PERF_TEST_P_(DNNTestNetwork, YOLOv4)
214
222
{
215
223
if (backend == DNN_BACKEND_HALIDE)
216
224
throw SkipTestException (" " );
217
- if (target == DNN_TARGET_MYRIAD)
225
+ if (target == DNN_TARGET_MYRIAD) // not enough resources
218
226
throw SkipTestException (" " );
219
227
#if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2020040000) // nGraph compilation failure
220
228
if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH && target == DNN_TARGET_OPENCL)
@@ -233,6 +241,10 @@ PERF_TEST_P_(DNNTestNetwork, YOLOv4_tiny)
233
241
{
234
242
if (backend == DNN_BACKEND_HALIDE)
235
243
throw SkipTestException (" " );
244
+ #if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2021010000) // nGraph compilation failure
245
+ if (target == DNN_TARGET_MYRIAD)
246
+ throw SkipTestException (" " );
247
+ #endif
236
248
Mat sample = imread (findDataFile (" dnn/dog416.png" ));
237
249
cvtColor (sample, sample, COLOR_BGR2RGB);
238
250
Mat inp;
@@ -263,6 +275,10 @@ PERF_TEST_P_(DNNTestNetwork, Inception_v2_Faster_RCNN)
263
275
#if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2019020000)
264
276
if (backend == DNN_BACKEND_INFERENCE_ENGINE_NN_BUILDER_2019)
265
277
throw SkipTestException (" Test is disabled in OpenVINO 2019R2" );
278
+ #endif
279
+ #if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2021010000)
280
+ if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH && target == DNN_TARGET_MYRIAD)
281
+ throw SkipTestException (" Test is disabled in OpenVINO 2021.1 / MYRIAD" );
266
282
#endif
267
283
if (backend == DNN_BACKEND_HALIDE ||
268
284
(backend == DNN_BACKEND_INFERENCE_ENGINE_NN_BUILDER_2019 && target != DNN_TARGET_CPU) ||
0 commit comments