-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Test 82 failing under Windows in Debug configuration #2568
Comments
Thanks for digging into it 👍 That procedure of lowering the threshold was employed before in #2507. We can do it again, but it would be good to stress test it over a big amount of test runs. Just to ensure that the new threshold will be enough to solve the problem |
The number of thread passed to OpenMP must be greater than 0. The default for OpenMP classes is 0. With this commit, by setting 0, the number of threads is set to the number of cores detected on the machine. Closes PointCloudLibrary#2568 See also PointCloudLibrary#2399
I tried several run on my machine and found out that in |
The number of thread passed to OpenMP must be greater than 0. The default for OpenMP classes is 0. With this commit, by setting 0, the number of threads is set to the number of cores detected on the machine. Closes PointCloudLibrary#2568 See also PointCloudLibrary#2399
Sounds good by me. Let's go with that 👍 |
The number of thread passed to OpenMP must be greater than 0. The default for OpenMP classes is 0. With this commit, by setting 0, the number of threads is set to the number of cores detected on the machine. Closes PointCloudLibrary#2568 See also PointCloudLibrary#2399
The number of thread passed to OpenMP must be greater than 0. The default for OpenMP classes is 0. With this commit, by setting 0, the number of threads is set to the number of cores detected on the machine. Closes PointCloudLibrary#2568
The number of thread passed to OpenMP must be greater than 0. The default for OpenMP classes is 0. With this commit, by setting 0, the number of threads is set to the number of cores detected on the machine. Closes PointCloudLibrary#2568
Here is the error:
User Error 1001
does not interfere with the test. This error can be fixed by checking whether the number of threads assigned to OpenMP is0
(which is the default if no number is specified) or not and by setting them to a number greater than0
.Unfortunately, however, the real reasons to which this test fails cannot be easily fixed.
This line
pcl/test/recognition/test_recognition_cg.cpp
Line 134 in a602b19
ends up calling this function
pcl/recognition/include/pcl/recognition/impl/cg/hough_3d.hpp
Line 272 in a602b19
that finds the maximum in
hough_space_
given a threshold.hough_space_
differs a lot betweenRelease
andDebug
configuration and may be due to the use ofNormalEstimation
class that provides different results as well, thus conditioning the results provided bySHOTEstimation
, seepcl/test/recognition/test_recognition_cg.cpp
Lines 206 to 217 in a602b19
By having a look at the numbers that comes out from
hough_space_
, it seems that by changing the threshold from13
to12
the test passes also inDebug
. Please note that this is a workaround, but from previous discussion it seems that normal estimation repeatability is undergoing investigation per se.See further discussions in #2399
The text was updated successfully, but these errors were encountered: