Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

error in train casacde

Hi I am having an error saying "Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters" when I am trying to do training. I used 50 positive and 100 negative images. I saw a similar question here . My bg.txt file is already in the form mentioned in that solution but still having the error.

my console output was as follows-

C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug>cv_traincascade.exe 
-data test -vec positives.vec -bg infofile.txt -numPos 50 -numNeg 100 -numStages 20 -preCalcValBufSize 1024 
-preCalcIdxBufSize 1024 -w 24 -h 24

PARAMETERS:

cascadeDirName: test

vecFileName: positives.vec

bgFileName: infofile.txt

numPos: 50

numNeg: 100

numStages: 20

precalcValBufSize[Mb] : 256

precalcIdxBufSize[Mb] : 256

stageType: BOOST

featureType: HAAR

sampleWidth: 24

sampleHeight: 24

boostType: GAB

minHitRate: 0.995

maxFalseAlarmRate: 0.5

weightTrimRate: 0.95

maxDepth: 1

maxWeakCount: 100

mode: BASIC

===== TRAINING 0-stage =====

<begin< p="">

POS count : consumed 50 : 50

Train dataset for temp stage can not be filled. Branch training terminated.

Cascade classifier can't be trained. Check the used training parameters.

strong text Can you please say what is wrong in my command? any help will be appreciated. thank you.

error in train casacde

Hi I am having an error saying "Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters" when I am trying to do training. I used 50 positive and 100 negative images. I saw a similar question here . My bg.txt file is already in the form mentioned in that solution but still having the error.

my console output was as follows-

C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug>cv_traincascade.exe 
-data test -vec positives.vec -bg infofile.txt -numPos 50 -numNeg 100 -numStages 20 -preCalcValBufSize 1024 
-preCalcIdxBufSize 1024 -w 24 -h 24

PARAMETERS:

PARAMETERS: cascadeDirName: test

test vecFileName: positives.vec

positives.vec bgFileName: infofile.txt

infofile.txt numPos: 50

50 numNeg: 100

100 numStages: 20

20 precalcValBufSize[Mb] : 256

256 precalcIdxBufSize[Mb] : 256

256 stageType: BOOST

BOOST featureType: HAAR

HAAR sampleWidth: 24

24 sampleHeight: 24

24 boostType: GAB

GAB minHitRate: 0.995

0.995 maxFalseAlarmRate: 0.5

0.5 weightTrimRate: 0.95

0.95 maxDepth: 1

1 maxWeakCount: 100

100 mode: BASIC

BASIC ===== TRAINING 0-stage =====

<begin< p="">

===== <BEGIN POS count : consumed 50 : 50

50 Train dataset for temp stage can not be filled. Branch training terminated.

terminated. Cascade classifier can't be trained. Check the used training parameters.

parameters.

strong text Can you please say what is wrong in my command? any help will be appreciated. thank you.

Note: Even if I am entering precalcValBufSize=1024 and precalcIdxBufSize=1024 it is showing 256.

error in train casacde

Hi I am having an error saying "Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters" when I am trying to do training. I used 50 positive and 100 negative images. I saw a similar question here . My bg.txt file is already in the form mentioned in that solution but still having the error.

my console output was as follows-

C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug>cv_traincascade.exe 
-data test -vec positives.vec -bg infofile.txt -numPos 50 -numNeg 100 -numStages 20 -preCalcValBufSize -precalcValBufSize 1024 
-preCalcIdxBufSize -precalcIdxBufSize 1024 -w 24 -h 24


PARAMETERS:
cascadeDirName: test
vecFileName: positives.vec
bgFileName: infofile.txt
numPos: 50
numNeg: 100
numStages: 20
precalcValBufSize[Mb] : 256
1024
precalcIdxBufSize[Mb] : 256
1024
stageType: BOOST
featureType: HAAR
sampleWidth: 24
sampleHeight: 24
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
mode: BASIC
===== TRAINING 0-stage =====
<BEGIN
POS count : consumed   50 : 50
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.

strong text Can you please say what is wrong in my command? any help will be appreciated. thank you.

Note: Even if I am entering precalcValBufSize=1024 and precalcIdxBufSize=1024 it is showing 256.

error in train casacde

Hi I am having an error saying "Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters" when I am trying to do training. I used 50 positive and 100 negative images. I saw a similar question here . My bg.txt file is already in the form mentioned in that solution but still having the error.

my console output was as follows-

C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug>cv_traincascade.exe 
-data test -vec positives.vec -bg infofile.txt -numPos 50 -numNeg 100 -numStages 20 -precalcValBufSize 1024 
-precalcIdxBufSize 1024 -w 24 -h 24


PARAMETERS:
cascadeDirName: test
vecFileName: positives.vec
bgFileName: infofile.txt
numPos: 50
numNeg: 100
numStages: 20
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
stageType: BOOST
featureType: HAAR
sampleWidth: 24
sampleHeight: 24
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
mode: BASIC
===== TRAINING 0-stage =====
<BEGIN
POS count : consumed   50 : 50
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.

strong text Can you please say what is wrong in my command? any help will be appreciated. thank you.

my directory info- C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug

cv_traincascade.exe positives.vec negative infofile.txt

context of infofile is al follows-

negative/UMD_001.jpg negative/UMD_002.jpg negative/UMD_003.jpg negative/UMD_004.jpg negative/UMD_005.jpg negative/UMD_006.jpg negative/UMD_007.jpg negative/UMD_008.jpg negative/UMD_009.jpg negative/UMD_010.jpg ...

error in train casacde

Hi I am having an error saying "Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters" when I am trying to do training. I used 50 positive and 100 negative images. I saw a similar question here . My bg.txt file is already in the form mentioned in that solution but still having the error.

my console output was as follows-

C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug>cv_traincascade.exe 
-data test -vec positives.vec -bg infofile.txt -numPos 50 -numNeg 100 -numStages 20 -precalcValBufSize 1024 
-precalcIdxBufSize 1024 -w 24 -h 24


PARAMETERS:
cascadeDirName: test
vecFileName: positives.vec
bgFileName: infofile.txt
numPos: 50
numNeg: 100
numStages: 20
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
stageType: BOOST
featureType: HAAR
sampleWidth: 24
sampleHeight: 24
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
mode: BASIC
===== TRAINING 0-stage =====
<BEGIN
POS count : consumed   50 : 50
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.

strong text Can you please say what is wrong in my command? any help will be appreciated. thank you.

my directory info- C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug

cv_traincascade.exe positives.vec negative infofile.txt

context of infofile is al follows-

negative/UMD_001.jpg
negative/UMD_002.jpg
negative/UMD_003.jpg
negative/UMD_004.jpg
negative/UMD_005.jpg
negative/UMD_006.jpg
negative/UMD_007.jpg
negative/UMD_008.jpg
negative/UMD_009.jpg
negative/UMD_010.jpg

...

error in train casacde

Hi I am having an error saying "Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters" when I am trying to do training. I used 50 positive and 100 negative images. I saw a similar question here . My bg.txt file is already in the form mentioned in that solution but still having the error.

my console output was as follows-

C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug>cv_traincascade.exe 
-data test -vec positives.vec -bg infofile.txt -numPos 50 -numNeg 100 -numStages 20 -precalcValBufSize 1024 
-precalcIdxBufSize 1024 -w 24 -h 24


PARAMETERS:
cascadeDirName: test
vecFileName: positives.vec
bgFileName: infofile.txt
numPos: 50
numNeg: 100
numStages: 20
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
stageType: BOOST
featureType: HAAR
sampleWidth: 24
sampleHeight: 24
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
mode: BASIC
===== TRAINING 0-stage =====
<BEGIN
POS count : consumed   50 : 50
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.

strong text Can you please say what is wrong in my command? any help will be appreciated. thank you.

my directory info- C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug

cv_traincascade.exe positives.vec negative cv_traincascade.exe

positives.vec

negative

infofile.txt

context of infofile is al follows-

negative/UMD_001.jpg
negative/UMD_002.jpg
negative/UMD_003.jpg
negative/UMD_004.jpg
negative/UMD_005.jpg
negative/UMD_006.jpg
negative/UMD_007.jpg
negative/UMD_008.jpg
negative/UMD_009.jpg
negative/UMD_010.jpg

...

error in train casacde

Hi I am having an error saying "Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters" when I am trying to do training. I used 50 positive and 100 negative images. I saw a similar question here . My bg.txt file is already in the form mentioned in that solution but still having the error.

my console output was as follows-

C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug>cv_traincascade.exe 
-data test -vec positives.vec -bg infofile.txt -numPos 50 -numNeg 100 -numStages 20 -precalcValBufSize 1024 
-precalcIdxBufSize 1024 -w 24 -h 24


PARAMETERS:
cascadeDirName: test
vecFileName: positives.vec
bgFileName: infofile.txt
numPos: 50
numNeg: 100
numStages: 20
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
stageType: BOOST
featureType: HAAR
sampleWidth: 24
sampleHeight: 24
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
mode: BASIC
===== TRAINING 0-stage =====
<BEGIN
POS count : consumed   50 : 50
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.

strong text Can you please say what is wrong in my command? any help will be appreciated. thank you.

my directory info- C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug

cv_traincascade.exe

positives.vec

negative

infofile.txt

context of infofile is al follows-

negative/UMD_001.jpg
negative/UMD_002.jpg
negative/UMD_003.jpg
negative/UMD_004.jpg
negative/UMD_005.jpg
negative/UMD_006.jpg
negative/UMD_007.jpg
negative/UMD_008.jpg
negative/UMD_009.jpg
negative/UMD_010.jpg

...

Here is the zip file of the directory https://docs.google.com/file/d/0B90iLkzk5IUrbm1RNUEyLVgyeU0/edit?usp=sharing

error in train casacde

Hi I am having an error saying "Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters" when I am trying to do training. I used 50 positive and 100 negative images. I saw a similar question here . My bg.txt file is already in the form mentioned in that solution but still having the error.

my console output was as follows-

C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug>cv_traincascade.exe 
-data test -vec positives.vec -bg infofile.txt -numPos 50 -numNeg 100 -numStages 20 -precalcValBufSize 1024 
-precalcIdxBufSize 1024 -w 24 -h 24


PARAMETERS:
cascadeDirName: test
vecFileName: positives.vec
bgFileName: infofile.txt
numPos: 50
numNeg: 100
numStages: 20
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
stageType: BOOST
featureType: HAAR
sampleWidth: 24
sampleHeight: 24
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
mode: BASIC
===== TRAINING 0-stage =====
<BEGIN
POS count : consumed   50 : 50
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.

strong text Can you please say what is wrong in my command? any help will be appreciated. thank you.

my directory info- C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug

cv_traincascade.exe

positives.vec

negative

infofile.txt

context of infofile is al follows-

negative/UMD_001.jpg
negative/UMD_002.jpg
negative/UMD_003.jpg
negative/UMD_004.jpg
negative/UMD_005.jpg
negative/UMD_006.jpg
negative/UMD_007.jpg
negative/UMD_008.jpg
negative/UMD_009.jpg
negative/UMD_010.jpg

...

Here is the zip file of the directory https://docs.google.com/file/d/0B90iLkzk5IUrbm1RNUEyLVgyeU0/edit?usp=sharing

error in train casacde

Hi I am having an error saying "Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters" when I am trying to do training. I used 50 positive and 100 negative images. I saw a similar question here . My bg.txt file is already in the form mentioned in that solution but still having the error.

my console output was as follows-

C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug>cv_traincascade.exe 
-data test -vec positives.vec -bg infofile.txt -numPos 50 -numNeg 100 -numStages 20 -precalcValBufSize 1024 
-precalcIdxBufSize 1024 -w 24 -h 24


PARAMETERS:
cascadeDirName: test
vecFileName: positives.vec
bgFileName: infofile.txt
numPos: 50
numNeg: 100
numStages: 20
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
stageType: BOOST
featureType: HAAR
sampleWidth: 24
sampleHeight: 24
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100
mode: BASIC
===== TRAINING 0-stage =====
<BEGIN
POS count : consumed   50 : 50
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.

strong text Can you please say what is wrong in my command? any help will be appreciated. thank you.

my directory info- C:\Users\Administrator\Documents\Visual Studio 2010\Projects\cv_traincascade\Debug

cv_traincascade.exe

positives.vec

negative

infofile.txt

context of infofile is al follows-

negative/UMD_001.jpg
negative/UMD_002.jpg
negative/UMD_003.jpg
negative/UMD_004.jpg
negative/UMD_005.jpg
negative/UMD_006.jpg
negative/UMD_007.jpg
negative/UMD_008.jpg
negative/UMD_009.jpg
negative/UMD_010.jpg

...

Here is the zip file of the directory https://docs.google.com/file/d/0B90iLkzk5IUrbm1RNUEyLVgyeU0/edit?usp=sharinghttps://docs.google.com/file/d/0B90iLkzk5IUrbXI3dkRsZFdEVGc/edit?usp=sharing