mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge pull request #28744 from asmorkalov:as/kleidicv_26.03
KleidiCV update to verison 26.03 #28744 KleidiCV release: https://gitlab.arm.com/kleidi/kleidicv/-/releases/26.03 Tuned DNN test threshold as resize linear produces slightly different result with the new KleidiCV version. ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [ ] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake
This commit is contained in:
committed by
GitHub
parent
0abd5c86f7
commit
f2ecf968b8
@@ -70,7 +70,7 @@ TEST(Test_TensorFlow, inception_accuracy)
|
||||
|
||||
Mat ref = blobFromNPY(_tf("tf_inception_prob.npy"));
|
||||
|
||||
normAssert(ref, out);
|
||||
normAssert(ref, out, "", 5e-5, 0.02);
|
||||
}
|
||||
|
||||
static std::string path(const std::string& file)
|
||||
@@ -937,16 +937,12 @@ TEST_P(Test_TensorFlow_nets, MobileNet_SSD)
|
||||
net.setInput(inp);
|
||||
Mat out = net.forward();
|
||||
|
||||
double scoreDiff = default_l1, iouDiff = default_lInf;
|
||||
double scoreDiff = default_l1, iouDiff = 0.04;
|
||||
if (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD || target == DNN_TARGET_CPU_FP16)
|
||||
{
|
||||
scoreDiff = 0.01;
|
||||
iouDiff = 0.1;
|
||||
}
|
||||
else if (target == DNN_TARGET_CUDA_FP16)
|
||||
{
|
||||
iouDiff = 0.04;
|
||||
}
|
||||
|
||||
normAssertDetections(ref, out, "", 0.2, scoreDiff, iouDiff);
|
||||
#if defined(INF_ENGINE_RELEASE) && INF_ENGINE_RELEASE >= 2019010000
|
||||
|
||||
Reference in New Issue
Block a user