From 48368dc9a1c24d9a6062c4137c949bfc808870a2 Mon Sep 17 00:00:00 2001 From: Tomoaki Teshima Date: Sun, 27 Sep 2020 00:37:52 +0900 Subject: [PATCH] loosen threshold for Mali --- modules/dnn/test/test_torch_importer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dnn/test/test_torch_importer.cpp b/modules/dnn/test/test_torch_importer.cpp index 4b89afc331..3be22d6d25 100644 --- a/modules/dnn/test/test_torch_importer.cpp +++ b/modules/dnn/test/test_torch_importer.cpp @@ -113,7 +113,7 @@ TEST_P(Test_Torch_layers, run_convolution) { // Output reference values are in range [23.4018, 72.0181] double l1 = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? 0.08 : default_l1; - double lInf = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? 0.42 : default_lInf; + double lInf = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? 0.43 : default_lInf; runTorchNet("net_conv", "", false, true, true, l1, lInf); } @@ -165,7 +165,7 @@ TEST_P(Test_Torch_layers, run_concat) TEST_P(Test_Torch_layers, run_depth_concat) { runTorchNet("net_depth_concat", "", false, true, true, 0.0, - target == DNN_TARGET_OPENCL_FP16 ? 0.021 : 0.0); + target == DNN_TARGET_OPENCL_FP16 ? 0.032 : 0.0); } TEST_P(Test_Torch_layers, run_deconv)