mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
Higher threshold for ViT on OpenVINO
This commit is contained in:
parent
c3fe92d813
commit
3ff6c7f9fe
@ -3155,8 +3155,8 @@ TEST_P(Test_ONNX_nets, ViT_B_32) {
|
|||||||
}
|
}
|
||||||
if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH) {
|
if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH) {
|
||||||
if (target == DNN_TARGET_CPU) {
|
if (target == DNN_TARGET_CPU) {
|
||||||
l1 = 4.4e-5; // Expected: (normL1) <= (l1), actual: 4.31208e-05 vs 1e-05
|
l1 = 6e-5; // Expected: (normL1) <= (l1), actual: 4.31208e-05 vs 1e-05
|
||||||
lInf = 0.0002; // Expected: (normInf) <= (lInf), actual: 0.000194907 vs 0.0001
|
lInf = 0.0003; // Expected: (normInf) <= (lInf), actual: 0.000194907 vs 0.0001
|
||||||
} else if (target == DNN_TARGET_OPENCL || target == DNN_TARGET_OPENCL_FP16) {
|
} else if (target == DNN_TARGET_OPENCL || target == DNN_TARGET_OPENCL_FP16) {
|
||||||
l1 = 0.0092; // Expected: (normL1) <= (l1), actual: 0.00918349 vs 4.4e-05
|
l1 = 0.0092; // Expected: (normL1) <= (l1), actual: 0.00918349 vs 4.4e-05
|
||||||
lInf = 0.056; // Expected: (normInf) <= (lInf), actual: 0.0556431 vs 0.0002
|
lInf = 0.056; // Expected: (normInf) <= (lInf), actual: 0.0556431 vs 0.0002
|
||||||
|
Loading…
Reference in New Issue
Block a user