ethz-asl / segmap

A map representation based on 3D segments
BSD 3-Clause "New" or "Revised" License
1.06k stars 394 forks source link

This function works for binary classification problems only... in function predict_prob #63

Closed szm88 closed 6 years ago

szm88 commented 6 years ago

I have the problen when I use the model trained by my dataset : "opencv-2.4.8+dfsg1/modules/ml/src/rtrees.cpp:721: error: (-5) This function works for binary classification problems only... in function predict_prob" anyone can give some suggestions?

rdube commented 6 years ago

How did you train your classifier? Which parameter values did you set?

szm88 commented 6 years ago

Even i use the classeifier of segmatch to run loopclosure ane save the map,it also has the problem. i didn't change the parameter of segmatch.

rdube commented 6 years ago

I understand that you tried the classifier file provided here: http://robotics.ethz.ch/segmatch/ and that you still experience the same issue. Is that correct? Can you please make sure that the path is set correctly? Where did you save the file?

szm88 commented 6 years ago

@rdube thanks very much.I update the code,and recompile it.Now its ok.

rdube commented 6 years ago

@szm88 great! I will close this issue feel free to re-open if it is relevant!