I want to know clearly,Is there any hard rule to chose the number of positive and negative samples so that training never stops in between.
I did follow the new Train Cascade method over the same sample, but it stuck as well at stage 5. I found that there is one equation for number of files to be there in vec file. I could not able to achieve that since while creating samples I could not able to create as many I want. It always creates one less than the number of positive samples I have in my positive folder. I tried both method i.e haar training and train cascade methods, for the same dataset positive=1000 and negative=2000. and false alarm rate=0.499 and mishitrate=0.95.
I use, $opencv_haartraining -data data -vec samples.vec -bg negatives.txt -nstages 3 -nsplits 2 -minhitrate 0.999 -maxfalsealarm 0.5 -npos 1000 -nneg 2000 -w 100 -h 40 -nonsym -mem 1024 -mode ALL runs well till stage 5 then it stops ( doesn't move even a bit, i waited more than 12 hours to see progress, but no progress noticed, then gave up waiting).