How to solve the error "Expression:vector subscript out of range" when using train_classifierNM2.cpp

asked 2015-04-28 22:26:26 -0600

Carrot_Luobo gravatar image

I was trying to run the train_classifierNM2.cpp to train my own data, when run into the function StatModel::train<boost>(cvml, Boost::Params(Boost::REAL, 100, 0.0, 1, false,Mat())), it appeared the error image description

edit retag flag offensive close merge delete

Comments

i can't find that sample, can you give us a hint (or show the src code) ?

berak gravatar imageberak ( 2015-04-29 01:44:57 -0600 )edit