Skip to content

Commit

Permalink
relex the cuda fp16 accuracy threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
WanliZhong committed May 7, 2024
1 parent 7b0764a commit 1c68538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dnn/test/test_backends.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ TEST_P(DNNTestNetwork, DenseNet_121)
}
else if (target == DNN_TARGET_CUDA_FP16)
{
l1 = 0.008;
lInf = 0.06;
l1 = 0.02;
lInf = 0.08;
}
processNet("dnn/onnx/models/densenet121.onnx", "", Size(224, 224), "", l1, lInf);
if (target != DNN_TARGET_MYRIAD || getInferenceEngineVPUType() != CV_DNN_INFERENCE_ENGINE_VPU_TYPE_MYRIAD_X)
Expand Down

0 comments on commit 1c68538

Please sign in to comment.