Can't run opencv_traincascade again! [closed]
Well, I run traincascade by "accident " , I mean that some parameters weren't good. So i stoped it by killing the proces and now it refuse to start again with new parameters, I've got this message when i try to do so :
"Training parameters are loaded from the parameter file in data folder! Please empty the data folder if you want to use your own set of parameters."
And the thing is , I don't find the data folder to empty it, maybe hidden some where ?
@StevenPuttemans, client for you ;)
it's the folder, where you write your intermediate cascade files,
the one you gave to opencv_traincascade -data [somefolder]
you should clean that up, to make sure it's not using the bad parameters from your last run.
Thank you for your answer berak ,allways here to save me : p But i gave "-data trained" to opencv_traincascade and no such folder was created , that's why I don't understand where taincascade find its parameters!
aww.
can you just try to create an empty folder with that name (and point it to that) ?
(did not update mygithub, so i can't try myself. if you fail, steven will be there to help you, once the sun rises over europe, again..)
I tried your suggestion but sadly it didn't work : ( But no matter I ll go too bed and wait tomorow (as I'm in europe too) to see if Steven can help me on this! Thank's again for your help : )
Okay let me see
As to the first error you had, simply said, before I added that warning, people didnt know why parameters couldn't be changed after a first training setup. It is due to the files inside the data folder that are checked for their existance first and contain the give parameters hardcoded. Removing the files gives you a blank training sheet.
Even better, for each new setup i make a new data folder like, cascade1, cascade2, ... that helps avoiding problems.
Seems to me it is time that I put more work in my book explaining all details of cascade classifier training :D
adding a note here might help, too.
Yeah - overall we need to improve documentation and tutorials on this topic. To many problems are not covered for the moment. In my 2 years of active research on the framework, I am still discovering multiple new things each time I dig into the code.
I will check tomorrow with the latest branch and report back to you. OpenCV2.4 or OpenCV3.0?
Also the -bt DAB and -bt RAD say nothing to me, never used those parameters...