Closed gitouni closed 2 years ago
see https://github.com/MIT-SPARK/TEASER-plusplus/issues/54#issuecomment-1070777676 first.
Setting OMP_NUM_THREADS
through os.environ
does not work. However, setting OMP_NUM_THREADS
through bash can fix this problem.
OMP_NUM_THREADS=12 python xxx.py
Maybe the reason is PMC module is complied in cpp and bind to python, so that os.environ
cannot pass this parameter to inner cpp solver.
Describe the bug Seg Fault Error when testing for more than 30 samples.
Have you run the unit tests?
Installed Dependencies Ubuntu 20.04. I have install all dependecies of teaserpp for python and examples can be run without error.
To Reproduce I use FPFH to build correspondence and TEASER++ for global registration. However, it will raise seg fault after almost 30 instances. Whatever the max coorespondence is (range from 500 to 5000), the seg fault will alwayas happen. My own dataset is ModelNet40, part of my code is as follows: TEASER++ Estimator
dataset testing
The error is
I have checked my CPU memory does not overflow (1.4GB/32GB).