Closed Martin20150405 closed 6 years ago
That all looks right. Maybe something is different in dlib now. Try it with the version of dlib released when that model was first published. Maybe that will make more similar. Or maybe you just need to run the training a few more times. You don't always get the same outputs for the same training run. However what you are reporting is more different than I would expect from that kind of variation.
Thanks for your reply. I ran it 4 times and the accuracy is about 76%-79%.
As the model is released on about 2016.10.03, do you mean 19.2
(released on 2016.10.10) by the version of dlib released when that model was first published
? Thanks.
I don't remember. You will have to look at the release logs.
I will try 19.2 & 19.1 first, thanks.
Training accuracy about CNN-mmod_human_face_detector
Hi Davis, I'm training a
CNN_MMOD
face detector by modifyingdnn_mmod_ex.cpp
in order to produce a model that has the same performance you provided onhttp://dlib.net/files/mmod_human_face_detector.dat.bz2
. But the accuracy is a lot lower.The testing dataset I'm using is a self-built dataset containing 120044 images, and
mmod_human_face_detector.dat
can achieve an accuracy of 89.06% (here accuracy means recall). However, using the dataset as you provided onhttp://dlib.net/files/data/dlib_face_detection_dataset-2016-09-30.tar.gz
(Is it the training data used to create the model?), the output model only have an accuracy of 79.68%.Here is the code I used for training, modified from
dnn_mmod_ex.cpp
,the dlib version is19.10
,download fromhttp://dlib.net
, training device isUbuntu 16.04 X64
,1080 Ti-11G
Can you help me to figure out where I did wrong? Or can you provide the original code you used for training
mmod_human_face_detector.dat
?Many thanks. Martin.