Hi, just started with opencv and I was trying out the train_hog sample but it's not working.
I used this example. Compiled while following this tutorial. For the training i'm using the INRIA dataset. This is the error I'm getting
./train --pd=/home/user/Documents/train/INRIA_dataset/ -p=pos.lst --nd=/home/user/Documents/train/INRIA_dataset/ -n=neg.lst
Start training......[done]
OpenCV Error: Parsing error (SVM model data is invalid, check sv_count, var_* and class_count tags) in write, file /home/user/OpenCV/opencv-3.1.0/modules/ml/src/svm.cpp, line 2038
terminate called after throwing an instance of 'cv::Exception'
what(): /home/user/OpenCV/opencv-3.1.0/modules/ml/src/svm.cpp:2038: error: (-212) SVM model data is invalid, check sv_count, var_* and class_count tags in function write
Aborted (core dumped)
I'm using ubuntu 15.10 64 bit