Merge pull request #24040 from asmorkalov:as/cuda_dnn_eps_fix

Increase eps for Test_Torch_nets.FastNeuralStyle_accuracy to prevent sporadic test failres with CUDA.
pull/24047/head
Alexander Smorkalov 1 year ago committed by GitHub
commit d4af868528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      modules/dnn/test/test_torch_importer.cpp

@ -566,14 +566,14 @@ TEST_P(Test_Torch_nets, FastNeuralStyle_accuracy)
}
else if(target == DNN_TARGET_CUDA_FP16)
{
normAssert(out, refBlob, "", 0.6, 25);
normAssert(out, refBlob, "", 0.6, 26);
}
else if (target == DNN_TARGET_CPU_FP16)
{
normAssert(out, refBlob, "", 0.62, 25);
}
else
normAssert(out, refBlob, "", 0.5, 1.1);
normAssert(out, refBlob, "", 0.5, 1.11);
}
}

Loading…
Cancel
Save