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

std::length_error at Ptr train

$
0
0
Hello Open CV Community, i try to train my Decision Tree but always get the same Error: Unhandled exception at 0x00007FFC34287788 in DecisionTrees.exe: Microsoft C++ exception: std::length_error at memory location 0x0000004ECC0FF560. The Error comes with the 3. Line. No Matter whats in the "Feature" or "Labels" Matrix. (I tried it even with just 0 and 1) Ptr model = cv::ml::DTrees::create(); Ptr myTrainData = cv::ml::TrainData::create(Features, cv::ml::ROW_SAMPLE, Labels); model->train(myTrainData); Do somebody know how to handle this error? Thanks a lot for your support! Kind regards, Derrick

Viewing all articles
Browse latest Browse all 19555

Trending Articles



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