Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

opencv different results on win vs linux

$
0
0
I ran the same code on windows and linux. But the results are totally different. First, I used adaboost to learn the model. On win, it runs well. On linux, when training adaboost, there is an error: **Bad argument (168-th value of 4-th (ordered) variable (=-inf) is too large) in CvDTreeTrainData::set_data, file /build/buildd/opencv-2.4.8+dfsg1/modules/ml/src/tree.cpp, line 551 terminate called after throwing an instance of 'cv::Exception' what(): /build/buildd/opencv-2.4.8+dfsg1/modules/ml/src/tree.cpp:551: error: (-5) 168-th value of 4-th (ordered) variable (=-inf) is too large in function CvDTreeTrainData::set_data** Then, I used SVM to replace adaboost. On win, the result is OK, however, the result on linux is awful. I use the same code and same paremeters. How can I deal with this issue.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>