error(-215)
I've got this "error: (-215) _samples.type() == CV_32F in function cv::ml::SVMImpl::do_train",even if there is no data of the type of CV_32F
ok, that's a c++ assertion (you have to read it "the other way round").
_samples.type() should be CV_32F, but wasn't.
in other words, to train an SVM, you need a 2d numpy float array, with each feature being one row,
Asked: 2016-08-16 04:08:23 -0600
Seen: 3,522 times
Last updated: Aug 16 '16