Ask Your Question
2

Test failures with Intel compiler

asked 2013-05-31 10:50:01 -0600

ChrisArmstrong gravatar image

Hi,

I have three test failures with an unoptimized, debug build. One I suspect is because I don't have a video capture device attached (the last below), but I suspect the first two are numerical errors. Please could someone confirm?

Thanks,

Chris.

//Details:

Platform: x86_64

Compiler: Intel version 13.1.1.163

OpenCV Version: 2.4.5

Build command:

cmake -DCMAKE_VERBOSE_MAKEFILE=TRUE -DCMAKE_INSTALL_PREFIX=/home/chris/downloads/opencv-install -DCMAKE_CXX_FLAGS="-O0 -fp-model precise" -DCMAKE_C_FLAGS="-O0 -fp-model precise" -DCMAKE_BUILD_TYPE=Debug ../

i) Numerical error somewhere?

crownpass> ./bin/opencv_test_video --gtest_filter=Video_calcOpticalFlowDual_TVL1.Regression
Note: Google Test filter = Video_calcOpticalFlowDual_TVL1.Regression
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from Video_calcOpticalFlowDual_TVL1
[ RUN      ] Video_calcOpticalFlowDual_TVL1.Regression
/home/chris/downloads/opencv-2.4.5/modules/video/test/test_tvl1optflow.cpp:169: Failure
Expected: (err) <= (MAX_RMSE), actual: 0.122213 vs 0.02
[  FAILED  ] Video_calcOpticalFlowDual_TVL1.Regression (6548 ms)
[----------] 1 test from Video_calcOpticalFlowDual_TVL1 (6548 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (6548 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] Video_calcOpticalFlowDual_TVL1.Regression

 1 FAILED TEST

ii) Another numerical failure?

crownpass> ../release_debugO0/bin/opencv_test_highgui --gtest_filter=Highgui_Image.regression
Note: Google Test filter = Highgui_Image.regression
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from Highgui_Image
[ RUN      ] Highgui_Image.regression
warning: empty layer generated
/home/chris/downloads/opencv-2.4.5/modules/ts/src/ts.cpp:519: Failure
Failed

        failure reason: Bad accuracy
        test case #-1
        seed: ffffffffffffffff
-----------------------------------
        LOG: reading image : /home/chris/downloads/opencv-2.4.5/release_openmp/bin/data/testdata/highgui/../cv/shared/baboon.png
 full_name : /tmp/__opencv_temp.4Iodsy.png
 full_name : /tmp/__opencv_temp.D6fXA2.tiff
 full_name : /tmp/__opencv_temp.C62BMv.jpg
 full_name : /tmp/__opencv_temp.ZxEvq0.jp2
Reading image from file: too big difference (=13.2068) with fmt=jp2
 full_name : /tmp/__opencv_temp.SrKrvw.bmp
 full_name : /tmp/__opencv_temp.lk5UB2.ppm
 full_name : /tmp/__opencv_temp.qam2Ky.ras
end test function : ImagesTest

-----------------------------------

[  FAILED  ] Highgui_Image.regression (803 ms)
[----------] 1 test from Highgui_Image (803 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (804 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] Highgui_Image.regression

 1 FAILED TEST

iii) And presumably the following failure is to be expected because there is no video capture device?

crownpass> ./bin/opencv_test_superres
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from SuperResolution
[ RUN      ] SuperResolution.BTVL1
unknown file: Failure
C++ exception with description "/home/chris/downloads/opencv-2.4.5/modules/superres/src/frame_source.cpp:149: error: (-215) vc_.isOpened() in function reset
" thrown in the test body.
[  FAILED  ] SuperResolution.BTVL1 (1 ms)
[----------] 1 test from SuperResolution (1 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] SuperResolution.BTVL1

 1 FAILED TEST
edit retag flag offensive close merge delete

Comments

Have you found any solution to this problem? I have the same problem that is I have built OpenCV with icc compiler and accuracy tests are failed.

enienws gravatar imageenienws ( 2013-07-30 02:03:35 -0600 )edit

I am getting the same issue here with failed accuracy checks using the icc compiler. I am also compiling with the intel IPP library... I wonder if either of you are...

SebClarke gravatar imageSebClarke ( 2014-03-18 12:27:14 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-28 04:43:14 -0600

MasL0 gravatar image

I got the same problem when opencv and opencv_extra repositories were on different branches. And I resolved the issue by checkout of opencv_extra to the same branch (2.4.8 in my case).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-05-31 10:50:01 -0600

Seen: 1,040 times

Last updated: Apr 28 '14