Tuned threshold for FastNeuralStyle_eccv16 test for systems without AVX2.

pull/24359/head
Alexander Smorkalov 1 year ago
parent 7b6d65cf20
commit 33d64d0491
  1. 2
      modules/dnn/test/test_backends.cpp

@ -529,7 +529,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;

Loading…
Cancel
Save