We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5992c46 commit 80d1f2dCopy full SHA for 80d1f2d
modules/dnn/test/test_backends.cpp
@@ -174,9 +174,7 @@ TEST_P(DNNTestNetwork, MobileNet_SSD_Caffe)
174
175
TEST_P(DNNTestNetwork, MobileNet_SSD_TensorFlow)
176
{
177
- if (backend == DNN_BACKEND_DEFAULT && target == DNN_TARGET_OPENCL ||
178
- backend == DNN_BACKEND_HALIDE)
179
- throw SkipTestException("");
+ if (backend == DNN_BACKEND_HALIDE) throw SkipTestException("");
180
Mat sample = imread(findDataFile("dnn/street.png", false));
181
Mat inp = blobFromImage(sample, 1.0f / 127.5, Size(300, 300), Scalar(127.5, 127.5, 127.5), false);
182
processNet("dnn/ssd_mobilenet_v1_coco.pb", "dnn/ssd_mobilenet_v1_coco.pbtxt",
modules/dnn/test/test_tf_importer.cpp
@@ -279,7 +279,7 @@ TEST(Test_TensorFlow, Inception_v2_SSD)
279
normAssert(detections, ref);
280
}
281
282
-OCL_TEST(Test_TensorFlow, DISABLED_MobileNet_SSD)
+OCL_TEST(Test_TensorFlow, MobileNet_SSD)
283
284
std::string netPath = findDataFile("dnn/ssd_mobilenet_v1_coco.pb", false);
285
std::string netConfig = findDataFile("dnn/ssd_mobilenet_v1_coco.pbtxt", false);
@@ -311,8 +311,8 @@ OCL_TEST(Test_TensorFlow, DISABLED_MobileNet_SSD)
311
std::vector<Mat> output;
312
net.forward(output, outNames);
313
314
- normAssert(target[0].reshape(1, 1), output[0].reshape(1, 1));
315
- normAssert(target[1].reshape(1, 1), output[1].reshape(1, 1), "", 1e-5, 2e-4);
+ normAssert(target[0].reshape(1, 1), output[0].reshape(1, 1), "", 1e-5, 1.5e-4);
+ normAssert(target[1].reshape(1, 1), output[1].reshape(1, 1), "", 1e-5, 3e-4);
316
normAssert(target[2].reshape(1, 1), output[2].reshape(1, 1), "", 4e-5, 1e-2);
317
318
0 commit comments