CNN_face_detection icon indicating copy to clipboard operation
CNN_face_detection copied to clipboard

A question about the cascade cnn

Open MaxLingwei opened this issue 10 years ago • 2 comments

Dear anson, I'm sorry for trouble you again. I find that in your code, the part of detecting face, your 24 net just use the result of 12net directly. But in the paper I find that the 24net and 12net are only connected in fully-connected layer, so as 48net and 24net. So please tell me whether I have a wrong understanding if convient. Thank you for your help!

MaxLingwei avatar Sep 22 '16 07:09 MaxLingwei

Hi, In the paper, 12 net is followed by 24 net and then 48 net. I think you are referring to the multi-resolution architectures of 24 net and 48 net.

If you wish to do so, I believe this can be done by the following steps:

  1. Add the 12-net layers to the 24-net .prototxt files (concatenating the fully connected layers as shown in the paper)
  2. Transplant the trained 12-net parameters to the multi-resolution net, and set the local learning rate to 0, as shown here
  3. Train the net

anson0910 avatar Sep 22 '16 07:09 anson0910

I see. It seems that I have a wrong understanding for the paper before. Thank you for your answering!

MaxLingwei avatar Sep 22 '16 13:09 MaxLingwei