Ask Your Question

Revision history [back]

aborted core dumped :NEG current samples: 7250 terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 140) > this->size() (which is 11) Aborted (core dumped)7254

During cascade classifier training I used 2500 positive samples and 8000 negative samples. But in 4th stage of training I got this error of " aborted core dumped " and "std: out of range". Please help me to get rid off this problem.

aborted core dumped :NEG current samples: 7250 terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 140) > this->size() (which is 11) Aborted (core dumped)7254

During cascade classifier training I used 2500 positive samples and 8000 negative samples. But in 4th stage of training I got this error of " aborted core dumped " and "std: out of range". Please help me to get rid off this problem.problem. I used this command "opencv_traincascade -data data -vec positives2.vec -bg bg.txt -numPos 2500 -numNeg 7000 -numStages 10 -w 30 -h 30 -precalcValBufSize 1524 -precalcIdxBufSize 1524"

aborted core dumped :NEG current samples: 7250 terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 140) > this->size() (which is 11) Aborted (core dumped)7254

During cascade classifier training I used 2500 positive samples and 8000 negative samples. But in 4th stage of training I got this error of " aborted core dumped " and "std: out of range". Please help me to get rid off this problem. I used this command "opencv_traincascade -data data -vec positives2.vec -bg bg.txt -numPos 2500 -numNeg 7000 -numStages 10 -w 30 -h 30 -precalcValBufSize 1524 -precalcIdxBufSize 1524"