I'm trying to train inria dataset with this sample but i don't know what is the problem cause when it gets to this i receive the assert? What i'm doing wrong?
clog << "Histogram of Gradients are being calculated for negative images..."; computeHOGs(pos_image_size, neg_lst, gradient_lst, flip_samples); size_t negative_count = gradient_lst.size() - positive_count; labels.insert(labels.end(), negative_count, -1); CV_Assert(positive_count < labels.size()); ?