|
|
|
@ -1067,6 +1067,8 @@ TEST_P(Test_TensorFlow_layers, tf2_prelu) |
|
|
|
|
applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_NN_BUILDER); |
|
|
|
|
if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH) |
|
|
|
|
applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_NGRAPH); |
|
|
|
|
if (backend == DNN_BACKEND_CUDA) |
|
|
|
|
applyTestTag(CV_TEST_TAG_DNN_SKIP_CUDA); // not supported; only across channels is supported
|
|
|
|
|
runTensorFlowNet("tf2_prelu"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1239,6 +1241,11 @@ TEST_P(Test_TensorFlow_nets, EfficientDet) |
|
|
|
|
0, 7, 0.8039304, 0.6118435263633728, 0.13175517320632935, 0.9065558314323425, 0.2943994700908661); |
|
|
|
|
double scoreDiff = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? 4e-3 : 1e-5; |
|
|
|
|
double iouDiff = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? 2e-3 : 1e-4; |
|
|
|
|
if (target == DNN_TARGET_CUDA_FP16) |
|
|
|
|
{ |
|
|
|
|
scoreDiff = 0.002; |
|
|
|
|
iouDiff = 0.003; |
|
|
|
|
} |
|
|
|
|
normAssertDetections(ref, out, "", 0.5, scoreDiff, iouDiff); |
|
|
|
|
expectNoFallbacksFromIE(net); |
|
|
|
|
} |
|
|
|
|