1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #24359 from asmorkalov:as/FastNeuralStyle_eccv16_tuning

Tuned threshold for FastNeuralStyle_eccv16 test
This commit is contained in:
Alexander Smorkalov
2023-10-13 10:29:41 +03:00
committed by GitHub
+1 -1
View File
@@ -531,7 +531,7 @@ TEST_P(DNNTestNetwork, FastNeuralStyle_eccv16)
Mat img = imread(findDataFile("dnn/googlenet_1.png"));
Mat inp = blobFromImage(img, 1.0, Size(320, 240), Scalar(103.939, 116.779, 123.68), false, false);
// Output image has values in range [-143.526, 148.539].
float l1 = 2e-4, lInf = 2e-3;
float l1 = 2e-4, lInf = 2.4e-3;
if (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD)
{
l1 = 0.4;