Coder Social home page Coder Social logo

Comments (7)

fengyuentau avatar fengyuentau commented on June 9, 2024

Since our network is light-weight, it is hard for the light-weight network to further optimize itself as the training keeps going, which means it may reach local optimum.

from libfacedetection.train.

nhatanhphung avatar nhatanhphung commented on June 9, 2024

I was not trying to load the pretrained model to further optimize, the training started from scratch and the loss would stay very high, and IoU would fluctuate between 0.11 and 0.16 mostly

from libfacedetection.train.

fengyuentau avatar fengyuentau commented on June 9, 2024

I was not trying to load the pretrained model to further optimize, the training started from scratch and the loss would stay very high, and IoU would fluctuate between 0.11 and 0.16 mostly

What I am trying to say is the model's complexity limits its learning ability. But, of course, you can always think of some optimization to help it learn better.

from libfacedetection.train.

nhatanhphung avatar nhatanhphung commented on June 9, 2024

when I tried to train the model with the default settings with the widerface data, the result is very wrong, low IoU, high loss, testing gives 5-6 bounding boxes for 1 singular face image.

from libfacedetection.train.

fengyuentau avatar fengyuentau commented on June 9, 2024

Can you provide your full train log and the test image?

from libfacedetection.train.

nhatanhphung avatar nhatanhphung commented on June 9, 2024

I attached my train log earlier, I stopped after 40 epoch as there was no change

training_log.txt

The image I used was from google
https://user-images.githubusercontent.com/20840293/129165111-ce17073f-c2a8-4cd2-b6bf-7ca047c3831d.jpg

Edit: I also included the weight and the result image using libfacedetection c++ code
yunet_final.zip
https://user-images.githubusercontent.com/20840293/129166485-bfad18f9-15ea-4888-9d10-a2f661201218.png

from libfacedetection.train.

fengyuentau avatar fengyuentau commented on June 9, 2024

Thanks for your log and the test image.

  1. Since you stopped after 40 epochs, the model is not well trained. Please follow default settings and have it trained 500 epochs.
  2. This model by default priorbox setting can detect faces of from ~10x10 pix to ~300x300 pix, but the face in the image (840x840 pix) you provide is way larger than this. You can try shrinking the image to 1/2 or even 1/3 and then run the detection.

from libfacedetection.train.

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.