opencv / opencv

Open Source Computer Vision Library
https://opencv.org
Apache License 2.0
76.54k stars 55.64k forks source link

Tune test parameters for new segmentation model. #25578

Closed asmorkalov closed 1 month ago

asmorkalov commented 1 month ago

Introduced in https://github.com/opencv/opencv/pull/25435

[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from Test_Model
[ RUN      ] Test_Model.Segmentation/0, where GetParam() = NGRAPH/CPU
/home/alexander/Projects/OpenCV/opencv-master/modules/dnn/test/test_common.impl.hpp:84: Failure
Expected: (normL1) <= (l1), actual: 0.259644 vs 0
  |ref| = 2
/home/alexander/Projects/OpenCV/opencv-master/modules/dnn/test/test_common.impl.hpp:87: Failure
Expected: (normInf) <= (lInf), actual: 7 vs 0
  |ref| = 2
[  FAILED  ] Test_Model.Segmentation/0, where GetParam() = NGRAPH/CPU (11777 ms)
[ RUN      ] Test_Model.Segmentation/1, where GetParam() = OCV/OCL
[ WARN:0@13.437] global ocl4dnn_conv_spatial.cpp:1933 loadTunedConfig OpenCV(ocl4dnn): consider to specify kernel configuration cache directory through OPENCV_OCL4DNN_CONFIG_PATH parameter.
OpenCL program build log: dnn/dummy
Status -11: CL_BUILD_PROGRAM_FAILURE
-cl-no-subgroup-ifp
Error in processing command line: Don't understand command line argument "-cl-no-subgroup-ifp"!
/home/alexander/Projects/OpenCV/opencv-master/modules/dnn/test/test_common.impl.hpp:84: Failure
Expected: (normL1) <= (l1), actual: 0.259644 vs 0
  |ref| = 2
/home/alexander/Projects/OpenCV/opencv-master/modules/dnn/test/test_common.impl.hpp:87: Failure
Expected: (normInf) <= (lInf), actual: 7 vs 0
  |ref| = 2
[  FAILED  ] Test_Model.Segmentation/1, where GetParam() = OCV/OCL (2925 ms)
[ RUN      ] Test_Model.Segmentation/2, where GetParam() = OCV/OCL_FP16
/home/alexander/Projects/OpenCV/opencv-master/modules/dnn/test/test_common.impl.hpp:87: Failure
Expected: (normInf) <= (lInf), actual: 7 vs 2
  |ref| = 2
[  FAILED  ] Test_Model.Segmentation/2, where GetParam() = OCV/OCL_FP16 (1506 ms)
[ RUN      ] Test_Model.Segmentation/3, where GetParam() = OCV/CPU
/home/alexander/Projects/OpenCV/opencv-master/modules/dnn/test/test_common.impl.hpp:84: Failure
Expected: (normL1) <= (l1), actual: 0.259644 vs 0
  |ref| = 2
/home/alexander/Projects/OpenCV/opencv-master/modules/dnn/test/test_common.impl.hpp:87: Failure
Expected: (normInf) <= (lInf), actual: 7 vs 0
  |ref| = 2
[  FAILED  ] Test_Model.Segmentation/3, where GetParam() = OCV/CPU (2167 ms)
[----------] 4 tests from Test_Model (18375 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test case ran. (18375 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 4 tests, listed below:
[  FAILED  ] Test_Model.Segmentation/0, where GetParam() = NGRAPH/CPU
[  FAILED  ] Test_Model.Segmentation/1, where GetParam() = OCV/OCL
[  FAILED  ] Test_Model.Segmentation/2, where GetParam() = OCV/OCL_FP16
[  FAILED  ] Test_Model.Segmentation/3, where GetParam() = OCV/CPU

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

fengyuentau commented 1 month ago

@WanliZhong Please take a look at this problem.