Comments (7)
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.
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.
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.
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.
Can you provide your full train log and the test image?
from libfacedetection.train.
I attached my train log earlier, I stopped after 40 epoch as there was no change
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.
Thanks for your log and the test image.
- Since you stopped after 40 epochs, the model is not well trained. Please follow default settings and have it trained 500 epochs.
- 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)
- can not export to onnx HOT 2
- 模型是否支持关键点输出 HOT 8
- 当转onnx的时候,验证pytorch模型推理和onnx推理时候出现问题 HOT 2
- Cannot download labelsv2 HOT 3
- nonsquare input size training and exporting HOT 1
- How to train with custom dataset by using the pretrained model? HOT 2
- where can we get datasets with key points to train Yunet?
- 最小像素点修改 HOT 1
- 图像预处理时的均值和方差为什么是[0,0,0]和[1,1,1] HOT 1
- 老师,如果在Win上配置了MMDET环境后,如何修改指令执行train.py呀? HOT 5
- Why can't I find the yunet_final.pth weight file HOT 2
- Did you try Focal loss, how about its performance ? HOT 1
- The problem has been solved
- Train on rotated images to improve landmarks. HOT 1
- pytrch2onnx convervsion issue HOT 2
- 训练完成导出C++部署不成功
- Problems installing the repo HOT 1
- Batch inference problem! HOT 1
- Not able to setup the training environment HOT 9
- 为啥数据不做归一化 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libfacedetection.train.