Closed HeDo88TH closed 1 year ago
Maybe a race condition?
(odmdev)[piero:/datasets … ssify/build] main* 9s ± ./pcclassify hedotest/point_cloud.ply hedotest/output.ply hedotest/model.bin --color
Loading hedotest/model.bin
Reading 1060056 points
Starting resolution: 0.2
Init scale 0 at 0.2 ...
Init scale 1 at 0.2 ...
Init scale 3 at 0.8 ...
Init scale 5 at 3.2 ...
Init scale 4 at 1.6 ...
Init scale 2 at 0.4 ...
Building scale 1 (160105 points) ...
Building scale 2 (37145 points) ...
Building scale 3 (10084 points) ...
Building scale 4 (2694 points) ...
Building scale 5 (731 points) ...
Features: 105
Classifying...
Local smoothing...
Wrote hedotest/output.ply
https://hub.dronedb.app/r/hedo88/err-opc/view/b3V0cHV0LnBseQ==/pointcloud
Does it work with:
OMP_NUM_THREADS=1 ./pcclassify ../point_cloud.ply out.ply ../model.bin
?
Ok this should be fixed with https://github.com/uav4geo/OpenPointClass/commit/2ccbc764e02cbb79da5908b9311a93f0a34f6dac
A vector was not being allocated (it would work only with the --color
flag).
Input files: https://hub.dronedb.app/r/hedo88/err-opc
Command:
./pcclassify ../point_cloud.ply out.ply ../model.bin
with
valgrind
:It crashes both on my linux system (kde neon 5.27) and on linux docker image (ubuntu 22.04)