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

asked Apr 29 '15

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

Preview: (hide)

Comments

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

berak gravatar imageberak (Apr 29 '15)edit