Ask Your Question

wy200507030's profile - activity

2013-12-18 04:40:47 -0600 asked a question why opencv NormalBayesClassifier.train() is run very very slowly which train data is small

Hi, all i use opencv's NormalBayesClassifier.train() to train to train bayes model, the number of train data is 44518, and the num of class is 156, the num of attributes which in each vector is 156, and the matrix which is generated by the vectors is sparse, it has run about more than 5 hours, but has not train over, the program is still running at NormalBayesClassifier.train() function why?, Dose the opencv's NormalBayesClassifier.train() run slowly really?

thanks
2013-11-22 00:29:55 -0600 commented answer after make -w 30 -h 30 opencv_createsamples run very very slowly

Thank you, your say is correct, and i cost 2 days to get its result, and the result is acceptadble.

2013-11-22 00:28:12 -0600 received badge  Critic (source)
2013-11-22 00:28:10 -0600 received badge  Supporter (source)
2013-11-22 00:28:02 -0600 received badge  Scholar (source)
2013-11-18 23:32:38 -0600 received badge  Editor (source)
2013-11-18 06:58:45 -0600 asked a question after make -w 30 -h 30 opencv_createsamples run very very slowly

hi, i use opencv cascade train like this:

./opencv_createsamples -vec righttoppointstraindata.vec -w 30 -h 30 -info info.dat

then use

./home/opencv2461/bin/opencv_traincascade -data model -vec righttoppointstraindata.vec -bg bg.txt -numPos 100 -numNeg 400 -numStages 13 -w 30 -h 30

it runs but when after TRAINING 5-stage it runs very very slowly. and it run at the 6-stage for more than 2 hours,but has not finished the 6-stage, why? thanks.

2013-11-18 06:55:19 -0600 asked a question when cascade training the window size is form 24 to 30, the program is runnging very very slowly

Hi,

I use opencv cascade train like this:

./opencv_createsamples -vec righttoppointstraindata.vec -info info.dat
/home/opencv2461/bin/opencv_traincascade -data model -vec righttoppointstraindata.vec -bg bg.txt -numPos 100 -numNeg 400 -numStages 13 -w 30 -h 30

it runs but when after TRAINING 5-stage it runs very very slowly, like this:

===== TRAINING 6-stage =====
<BEGIN
POS count : consumed   100 : 100
    it has been in 6 stage for 2 hours, but has not finished the 6 stage, why?
the 5-stage is like this:
===== TRAINING 5-stage =====
<BEGIN
POS count : consumed   100 : 100
NEG count : acceptanceRatio    400 : 0.0132022
Precalculation time: 7
+----+---------+---------+
|  N |    HR   |    FA   |
+----+---------+---------+
|   1|        1|        1|
+----+---------+---------+
|   2|        1|        1|
+----+---------+---------+
|   3|        1|   0.0275|
+----+---------+---------+
END>