CNN_face_detection icon indicating copy to clipboard operation
CNN_face_detection copied to clipboard

About the result after running

Open MaxLingwei opened this issue 10 years ago • 4 comments

Hello, I downloaded you project and ran in my computer. Your work helps me a lot. A problem is that my result is shown as follow: 2

Of course it's not good enough. I wonder it is because of my incorrect operation, or there are some bugs in your code/model? What is the result you run in you own environment? I never change your code or your caffee model. Hope you would answer my question. Thanks a lot.

MaxLingwei avatar Sep 02 '16 03:09 MaxLingwei

Hi, you can refer to this issue. The current parameters (thresholds) are not tuned at their best values, so I guess you can try tuning the parameters, for example : increasing the confidence value in the detect_face_48c method of face_detection_functions.py

Some other possibilities that cause these issues is there was an error during training of the calibration nets, as mentioned here. The data preparation scripts have been changed as well as mentioned here.

anson0910 avatar Sep 02 '16 03:09 anson0910

Thank you very much. By the way, what dataset do you use to train the calibration nets? Do you use all face in aflw? And how about the number of positive and negative train sets?

MaxLingwei avatar Sep 02 '16 08:09 MaxLingwei

Yes, I use all faces in AFLW, total images of 45 categories adding up to roughly 1 million training images.

anson0910 avatar Sep 02 '16 10:09 anson0910

I get a better result after I have modify the confidence and threshold. Later I will train a caffeemodel by myself. Thank you for your kindness!

MaxLingwei avatar Sep 02 '16 14:09 MaxLingwei