Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

divide() with zero values #12826

Merged
merged 6 commits into from
Oct 15, 2018
Merged

divide() with zero values #12826

merged 6 commits into from
Oct 15, 2018

Conversation

alalek
Copy link
Member

@alalek alalek commented Oct 14, 2018

Merge after #12825

resolves #8413

allow_multiple_commits=1

@alalek
Copy link
Member Author

alalek commented Oct 14, 2018

/cc @dmatveev I disabled div by zero tests in G-API.

@seiko2plus
Copy link
Contributor

@alalek, GAPI test failing on ppc64le, could you please take a look at https://ocv-power.imavr.com/#/builders/2/builds/1308?

List failed tests (first 10):
MathOpTestFluid/MathOpTest.MatricesAccuracyTest/DIV_1_16_1_1920x1080_0_0_1 [3, true, 16, 1, 1920x1080, -1, false, true, { gapi.kernel_package }] :

/worker/buildbot/Power8_Linux_gcc-5__opencv/opencv/modules/gapi/test/common/gapi_core_tests_inl.hpp:133: Failure
Expected: (countNonZeroPixels(cv::abs(out_mat_gapi - out_mat_ocv) > 0)) <= (0.01*out_mat_ocv.total()), actual: 40348 vs 20736

MathOpTestFluid/MathOpTest.MatricesAccuracyTest/DIV_1_16_1_1920x1080_0_1_1 [3, true, 16, 1, 1920x1080, -1, true, true, { gapi.kernel_package }] :

/worker/buildbot/Power8_Linux_gcc-5__opencv/opencv/modules/gapi/test/common/gapi_core_tests_inl.hpp:133: Failure
Expected: (countNonZeroPixels(cv::abs(out_mat_gapi - out_mat_ocv) > 0)) <= (0.01*out_mat_ocv.total()), actual: 40348 vs 20736

MathOpTestFluid/MathOpTest.MatricesAccuracyTest/DIV_1_16_1_1920x1080_1_0_1 [3, true, 16, 1, 1920x1080, 0, false, true, { gapi.kernel_package }] :

/worker/buildbot/Power8_Linux_gcc-5__opencv/opencv/modules/gapi/test/common/gapi_core_tests_inl.hpp:133: Failure
Expected: (countNonZeroPixels(cv::abs(out_mat_gapi - out_mat_ocv) > 0)) <= (0.01*out_mat_ocv.total()), actual: 40348 vs 20736

MathOpTestFluid/MathOpTest.MatricesAccuracyTest/DIV_1_16_1_1920x1080_1_1_1 [3, true, 16, 1, 1920x1080, 0, true, true, { gapi.kernel_package }] :

/worker/buildbot/Power8_Linux_gcc-5__opencv/opencv/modules/gapi/test/common/gapi_core_tests_inl.hpp:133: Failure
Expected: (countNonZeroPixels(cv::abs(out_mat_gapi - out_mat_ocv) > 0)) <= (0.01*out_mat_ocv.total()), actual: 40348 vs 20736

MathOpTestFluid/MathOpTest.MatricesAccuracyTest/DIV_1_16_1_1280x720_0_0_1 [3, true, 16, 1, 1280x720, -1, false, true, { gapi.kernel_package }] :

/worker/buildbot/Power8_Linux_gcc-5__opencv/opencv/modules/gapi/test/common/gapi_core_tests_inl.hpp:133: Failure
Expected: (countNonZeroPixels(cv::abs(out_mat_gapi - out_mat_ocv) > 0)) <= (0.01*out_mat_ocv.total()), actual: 17950 vs 9216

MathOpTestFluid/MathOpTest.MatricesAccuracyTest/DIV_1_16_1_1280x720_0_1_1 [3, true, 16, 1, 1280x720, -1, true, true, { gapi.kernel_package }] :

/worker/buildbot/Power8_Linux_gcc-5__opencv/opencv/modules/gapi/test/common/gapi_core_tests_inl.hpp:133: Failure
Expected: (countNonZeroPixels(cv::abs(out_mat_gapi - out_mat_ocv) > 0)) <= (0.01*out_mat_ocv.total()), actual: 17950 vs 9216

MathOpTestFluid/MathOpTest.MatricesAccuracyTest/DIV_1_16_1_1280x720_1_0_1 [3, true, 16, 1, 1280x720, 0, false, true, { gapi.kernel_package }] :

/worker/buildbot/Power8_Linux_gcc-5__opencv/opencv/modules/gapi/test/common/gapi_core_tests_inl.hpp:133: Failure
Expected: (countNonZeroPixels(cv::abs(out_mat_gapi - out_mat_ocv) > 0)) <= (0.01*out_mat_ocv.total()), actual: 17950 vs 9216

MathOpTestFluid/MathOpTest.MatricesAccuracyTest/DIV_1_16_1_1280x720_1_1_1 [3, true, 16, 1, 1280x720, 0, true, true, { gapi.kernel_package }] :

/worker/buildbot/Power8_Linux_gcc-5__opencv/opencv/modules/gapi/test/common/gapi_core_tests_inl.hpp:133: Failure
Expected: (countNonZeroPixels(cv::abs(out_mat_gapi - out_mat_ocv) > 0)) <= (0.01*out_mat_ocv.total()), actual: 17950 vs 9216

MathOpTestFluid/MathOpTest.MatricesAccuracyTest/DIV_1_16_1_640x480_0_0_1 [3, true, 16, 1, 640x480, -1, false, true, { gapi.kernel_package }] :

/worker/buildbot/Power8_Linux_gcc-5__opencv/opencv/modules/gapi/test/common/gapi_core_tests_inl.hpp:133: Failure
Expected: (countNonZeroPixels(cv::abs(out_mat_gapi - out_mat_ocv) > 0)) <= (0.01*out_mat_ocv.total()), actual: 5899 vs 3072

MathOpTestFluid/MathOpTest.MatricesAccuracyTest/DIV_1_16_1_640x480_0_1_1 [3, true, 16, 1, 640x480, -1, true, true, { gapi.kernel_package }] :

/worker/buildbot/Power8_Linux_gcc-5__opencv/opencv/modules/gapi/test/common/gapi_core_tests_inl.hpp:133: Failure
Expected: (countNonZeroPixels(cv::abs(out_mat_gapi - out_mat_ocv) > 0)) <= (0.01*out_mat_ocv.total()), actual: 5899 vs 3072

@seiko2plus
Copy link
Contributor

seiko2plus commented Oct 15, 2018

@alalek, Sorry, it seems build failed after merging #12674 and not affected by this PR, its my fault maybe I should improve nightly builds on CI to notify me on mail. however I will open an issue and I'm going to investigate on it.


#12830

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: core category: ocl future This issue can't be fixed during restrictions of the compatibility requirements port/backport done Label for maintainers. Authors of PR can ignore this test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Element-wise division of CV_64F matrices outputs inf instead of 0
4 participants