GithubHelp home page GithubHelp logo

Comments (5)

anson0910 avatar anson0910 commented on June 8, 2024

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

from cnn_face_detection.

buweiaini avatar buweiaini commented on June 8, 2024

Dear anson0910 :
Thank you for your reply!
I am sorry to trouble you again . When I train the caffemodel of 12-net, I used 18,000 positive faces collected from the AFLW datast, and about 180,000 non_face patchs, the model converge ,,,,,but when I use the 12-net caffemodel to test , the confidence of detect windows are all 0.5,,,,,,,,,then I augument the number of positives from18,000 to 54,000,,,,I get the same result,,,,,,,
Have you ever met this kind of problem?
Thank you !

from cnn_face_detection.

anson0910 avatar anson0910 commented on June 8, 2024

If during training, the accuracy on the validation set is higher than 0.9, 12-net should perform great during testing.
However, if the accuracy stays fixed at 0.5, you may need to stop the training, and start over again.
It should be an issue related to the initialized parameters' range or learning rate, but just retraining a few times should give the desired result!

from cnn_face_detection.

buweiaini avatar buweiaini commented on June 8, 2024

dear anson0910:
if i want to implement the multi-resolution net , how can i train the net?
i mean we must put a pair of images to the net, so how can we confirm that the each image in the pair can be pass into the net at the same time ?

from cnn_face_detection.

anson0910 avatar anson0910 commented on June 8, 2024

Hi,
I think you can simply create the lmdb files as before, and for example in face_24's train_val file, add a data layer specifying the data_param.

from cnn_face_detection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.