How to solve the error "Expression:vector subscript out of range" when using train_classifierNM2.cpp
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
i can't find that sample, can you give us a hint (or show the src code) ?