From 53cd921ab4ee2297658acda7dcaefce5d3e3910f Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Fri, 22 Dec 2023 13:37:44 +0300 Subject: [PATCH] Increate Vit_b test threshold a bit for CUDA FP16. --- modules/dnn/test/test_onnx_importer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dnn/test/test_onnx_importer.cpp b/modules/dnn/test/test_onnx_importer.cpp index 9e15dd3b39..f7276eb37e 100644 --- a/modules/dnn/test/test_onnx_importer.cpp +++ b/modules/dnn/test/test_onnx_importer.cpp @@ -2980,7 +2980,7 @@ TEST_P(Test_ONNX_nets, ViT_B_32) { if (target == DNN_TARGET_CUDA_FP16) { l1 = 0.01; - lInf = 0.05; + lInf = 0.06; } if (target == DNN_TARGET_OPENCL_FP16) {