I use opencv_traincascade for training using following parameters
opencv_traincascade -data cascade_model -vec ..\create_template\pos_vec_file -bg ..\BG\bg.txt -featureType LBP -w 32 -h 32 -numPos 5000 -numNeg 10000
I tried to give more memory 1024 Mb (256 by default), but in this case i have memory allocation error. So the problem is that at the first training stages it was ok, but then on stage 12, 13 and so on it takes 8 hours per stage. During train process i have 10-15% processor activity. I have TBB binaries in opencv lib, but i don't really sure that my PC uses it. How can i tell to the PC, that i want to consolidate all PC resources on training process?
Thanks.
You should install TBB and IPP. Then you can pass WITH_TBB=ON to CMake when configuring OpenCV. It helped me and I had 100% processor activity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With