Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv_traincascade seems does not make any progress anymore

Hi,

When I launch this command:

opencv_traincascade -data cascadeResized25 -vec resized25.vec -bg negResized25.txt -numPos 600 -numNeg 3000 -numStages 10 -featureType HAAR -minHitRate 0.99 -maxFalseAlarmRate 0.1 -w 25 -h 25

opencv_traincascade reach the stage 3 normaly, but when it try to start the stage 4, it does not continue as expected. No error message or excpetion is thrown, but it does not seem to continue ever. The last output i receive is:

===== TRAINING 3-stage ===== BEGIN

POS count : consumed 600 : 622

NEG count : acceptanceRatio 3000 : 0.000661595

Precalculation time: 3.632

+----+---------+---------+

| N | HR | FA |

+----+---------+---------+

| 1| 1| 0|

+----+---------+---------+

END>

Training until now has taken 0 days 1 hours 59 minutes 17 seconds.

===== TRAINING 4-stage =====

BEGIN

POS count : consumed 600 : 622

It has been not more than 20 hours that I am "waiting" for the next stage to proceed. Any idea why ?

opencv_traincascade seems does not seem to make any progress anymore

Hi,

When I launch this command:

opencv_traincascade -data cascadeResized25 -vec resized25.vec -bg negResized25.txt -numPos 600 -numNeg 3000 -numStages 10 -featureType HAAR -minHitRate 0.99 -maxFalseAlarmRate 0.1 -w 25 -h 25

opencv_traincascade reach the stage 3 normaly, but when it try to start the stage 4, it does not continue as expected. No error message or excpetion is thrown, but it does not seem to continue ever. The last output i receive is:

===== TRAINING 3-stage ===== BEGIN

POS count : consumed 600 : 622

NEG count : acceptanceRatio 3000 : 0.000661595

Precalculation time: 3.632

+----+---------+---------+

| N | HR | FA |

+----+---------+---------+

| 1| 1| 0|

+----+---------+---------+

END>

Training until now has taken 0 days 1 hours 59 minutes 17 seconds.

===== TRAINING 4-stage =====

BEGIN

POS count : consumed 600 : 622

It has been not more than 20 hours that I am "waiting" for the next stage to proceed. Any idea why ?