1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

dnn(test): update InferenceEngine tests (4.x)

This commit is contained in:
Alexander Alekhin
2021-11-25 19:56:27 +00:00
parent 57ee14d62d
commit 31b2d6be75
2 changed files with 43 additions and 8 deletions
+4 -1
View File
@@ -731,6 +731,10 @@ TEST_P(Test_TensorFlow_layers, BiasAdd)
TEST_P(Test_TensorFlow_layers, ExpandDims)
{
#if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2021040000)
if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH && target == DNN_TARGET_CPU)
applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_CPU, CV_TEST_TAG_DNN_SKIP_IE_NGRAPH); // Layout::ANY is broken on CPU
#endif
#if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_GE(2019010000)
if (backend == DNN_BACKEND_INFERENCE_ENGINE_NN_BUILDER_2019 && target == DNN_TARGET_MYRIAD
&& getInferenceEngineVPUType() == CV_DNN_INFERENCE_ENGINE_VPU_TYPE_MYRIAD_X
@@ -1042,7 +1046,6 @@ TEST_P(Test_TensorFlow_nets, Faster_RCNN_resnet50_coco_2018_01_28)
double iouDiff = 1e-4;
if (target == DNN_TARGET_CUDA)
{
// for faster_rcnn_resnet50_coco_2018_01_28
scoresDiff = 0.06;
iouDiff = 0.08;
}