anson0910 / CNN_face_detection

Implementation based on the paper Li et al., “A Convolutional Neural Network Cascade for Face Detection, ” 2015 CVPR
253 stars 148 forks source link

train_val.prototxt about FCN #36

Closed qinhuan closed 7 years ago

qinhuan commented 7 years ago

@anson0910 Hi, can you provide train_val.prototxt file for training face12c-FCN? I only found CNN_face_detection_models / face_12c / face12c_full_conv.prototxt. It's used to test. And I don't know how to write the train_val.prototxt of FCN. Forgive me..

Thank you very much!

anson0910 commented 7 years ago

Hi, I think you are referring to CNN_face_detection_models / face_12c / train_val.prototxt ? Let me know if that's not what you're looking for, thanks!

qinhuan commented 7 years ago

Thank you for your reply! CNN_face_detection_models / face_12c / train_val.prototxt is used to train fully connected network. You use full conv in face_12c. Network structure is face12c_full_conv.prototxt. I don't know how to train this full conv network. Can you help me?

anson0910 commented 7 years ago

Hi, Actually, training is all done on the original fully connected network, you can then use the script here (you also need to change the variable softQuantize to False) to convert the net to a fully convolutional version.

For further information, you can refer to this notebook, it's the same procedure. Hope that helps!