Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv command config and error after stages

Hello, I am trying to first find a command that will be the most effective on new Mac Pro, it has a 2.7gh 12 core processing unit and 64gb of ram. This purpose of this computer is for this training, so what would be the best training parameters to use to get a good sized training executed. Also when I use the command below it crashes and sends an error after every stage. I am a little new to opencv.

opencv_traincascade -data data -vec cars.vec -bg bg.txt -numStages 30 -nsplits 2 -minHitrate 0.95 -maxFalseAlarmRate 0.5 -numPos 2000 -numNeg 4007 -w 48 -h 24 -precalcValBufSize 2548 -precalcIdxBufSize 2548

ERROR: After Each stage ===== TRAINING 5-stage ===== <begin pos="" count="" :="" consumed="" 2000="" :="" 2021="" train="" dataset="" for="" temp="" stage="" can="" not="" be="" filled.="" branch="" training="" terminated.<="" p="">

I have 2586 pgm positive and 4007 pgm negative. I've double checked files and folders everything seem good!

So if I could get an explanation of the error if possible and an efficient training parameter help I would really appreciate it!! I want the best training I can get which is why I didn't use LPB, I heard Haar was better. If any extra info is needed let me know. Thanks in advance!

click to hide/show revision 2
retagged

updated 2014-08-22 01:19:53 -0600

berak gravatar image

opencv command config and error after stages

Hello, I am trying to first find a command that will be the most effective on new Mac Pro, it has a 2.7gh 12 core processing unit and 64gb of ram. This purpose of this computer is for this training, so what would be the best training parameters to use to get a good sized training executed. Also when I use the command below it crashes and sends an error after every stage. I am a little new to opencv.

opencv_traincascade -data data -vec cars.vec -bg bg.txt -numStages 30 -nsplits 2 -minHitrate 0.95 -maxFalseAlarmRate 0.5 -numPos 2000 -numNeg 4007 -w 48 -h 24 -precalcValBufSize 2548 -precalcIdxBufSize 2548

ERROR: After Each stage ===== TRAINING 5-stage ===== <begin pos="" count="" :="" consumed="" 2000="" :="" 2021="" train="" dataset="" for="" temp="" stage="" can="" not="" be="" filled.="" branch="" training="" terminated.<="" p="">

I have 2586 pgm positive and 4007 pgm negative. I've double checked files and folders everything seem good!

So if I could get an explanation of the error if possible and an efficient training parameter help I would really appreciate it!! I want the best training I can get which is why I didn't use LPB, I heard Haar was better. If any extra info is needed let me know. Thanks in advance!

click to hide/show revision 3
retagged

updated 2014-08-22 01:20:15 -0600

berak gravatar image

opencv command config and error after stages

Hello, I am trying to first find a command that will be the most effective on new Mac Pro, it has a 2.7gh 12 core processing unit and 64gb of ram. This purpose of this computer is for this training, so what would be the best training parameters to use to get a good sized training executed. Also when I use the command below it crashes and sends an error after every stage. I am a little new to opencv.

opencv_traincascade -data data -vec cars.vec -bg bg.txt -numStages 30 -nsplits 2 -minHitrate 0.95 -maxFalseAlarmRate 0.5 -numPos 2000 -numNeg 4007 -w 48 -h 24 -precalcValBufSize 2548 -precalcIdxBufSize 2548

ERROR: After Each stage ===== TRAINING 5-stage ===== <begin pos="" count="" :="" consumed="" 2000="" :="" 2021="" train="" dataset="" for="" temp="" stage="" can="" not="" be="" filled.="" branch="" training="" terminated.<="" p="">

I have 2586 pgm positive and 4007 pgm negative. I've double checked files and folders everything seem good!

So if I could get an explanation of the error if possible and an efficient training parameter help I would really appreciate it!! I want the best training I can get which is why I didn't use LPB, I heard Haar was better. If any extra info is needed let me know. Thanks in advance!