郁闷,一直不能训练完毕,Required leaf false alarm rate achieved. Branch training terminated
picdb>opencv_traincascaded.exe -data xml -vec pos.vec -bg negdata.txt -numPos 8 -numNeg 32 -numStages 10 -w 20 -h 20 -featureType HAAR -minHitRate 0.995
PARAMETERS:
cascadeDirName: xml
vecFileName: pos.vec
bgFileName: negdata.txt
numPos: 8
numNeg: 32
numStages: 10
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
acceptanceRatioBreakValue : -1
stageType: BOOST
featureType: HAAR
sampleWidth: 20
sampleHeight: 20
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
mode: BASIC
Number of unique features given windowSize [20,20] : 78460
===== TRAINING 0-stage =====
<BEGIN
POS count : consumed 8 : 8
NEG count : acceptanceRatio 32 : 1
Precalculation time: 0.768
+----+---------+---------+
| N | HR | FA |
+----+---------+---------+
| 1| 1| 0|
+----+---------+---------+
END>
Training until now has taken 0 days 0 hours 0 minutes 1 seconds.
===== TRAINING 1-stage =====
<BEGIN
POS count : consumed 8 : 8
NEG count : acceptanceRatio 32 : 0.0794045
Precalculation time: 0.748
+----+---------+---------+
| N | HR | FA |
+----+---------+---------+
| 1| 1| 0|
+----+---------+---------+
END>
Training until now has taken 0 days 0 hours 0 minutes 2 seconds.
===== TRAINING 2-stage =====
<BEGIN
POS count : consumed 8 : 8
NEG count : acceptanceRatio 32 : 0.00194128
Precalculation time: 0.75
+----+---------+---------+
| N | HR | FA |
+----+---------+---------+
| 1| 1| 0|
+----+---------+---------+
END>
Training until now has taken 0 days 0 hours 0 minutes 3 seconds.
===== TRAINING 3-stage =====
<BEGIN
POS count : consumed 8 : 8
NEG count : acceptanceRatio 0 : 0
Required leaf false alarm rate achieved. Branch training terminated.