All Projects → qidiso → Mobilefacenet V2

qidiso / Mobilefacenet V2

🔥improve the accuracy of mobilefacenet(insight face) reached 99.733 in the cfp-ff、 the 99.68+ in lfw,96.71+ in agedb30.🔥

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Mobilefacenet V2

React Fastclick
Fast Touch Events for React
Stars: ✭ 476 (+40.41%)
Mutual labels:  fast, mobile
Php Opencv Examples
Tutorial for computer vision and machine learning in PHP 7/8 by opencv (installation + examples + documentation)
Stars: ✭ 333 (-1.77%)
Mutual labels:  face, mobilenet
Tensorflow realtime multi Person pose estimation
Multi-Person Pose Estimation project for Tensorflow 2.0 with a small and fast model based on MobilenetV3
Stars: ✭ 129 (-61.95%)
Mutual labels:  mobilenet, mobile
Embedded Ai.bi Weekly
嵌入式AI公众号: NeuralTalk,Weekly report and awesome list of embedded-ai.
Stars: ✭ 331 (-2.36%)
Mutual labels:  mobilenet, mobile
Tf Pose Estimation
Deep Pose Estimation implemented using Tensorflow with Custom Architectures for fast inference.
Stars: ✭ 3,856 (+1037.46%)
Mutual labels:  mobilenet, mobile
Mobileface
A face recognition solution on mobile device.
Stars: ✭ 669 (+97.35%)
Mutual labels:  face, mobilenet
Tensorflow Face Detection
A mobilenet SSD based face detector, powered by tensorflow object detection api, trained by WIDERFACE dataset.
Stars: ✭ 711 (+109.73%)
Mutual labels:  face, mobilenet
Autocrop
😌 Automatically detects and crops faces from batches of pictures.
Stars: ✭ 320 (-5.6%)
Mutual labels:  face
Mockolo
Efficient Mock Generator for Swift
Stars: ✭ 327 (-3.54%)
Mutual labels:  fast
Mimic
📡 League from the safety of your toilet.
Stars: ✭ 320 (-5.6%)
Mutual labels:  mobile
Flutter Rust Ffi
Starter project for Flutter plugins willing to access native and synchronous rust code using FFI
Stars: ✭ 330 (-2.65%)
Mutual labels:  mobile
Open Source Xamarin Apps
📱 Collaborative List of Open Source Xamarin Apps
Stars: ✭ 318 (-6.19%)
Mutual labels:  mobile
Mace Models
Mobile AI Compute Engine Model Zoo
Stars: ✭ 329 (-2.95%)
Mutual labels:  mobilenet
Facecapture
an Android app kind like Facerig(but simpler)
Stars: ✭ 325 (-4.13%)
Mutual labels:  face
Csso
CSS minifier with structural optimizations
Stars: ✭ 3,465 (+922.12%)
Mutual labels:  fast
Flutter ui challenge filter menu
My first Flutter UI challenge.
Stars: ✭ 335 (-1.18%)
Mutual labels:  mobile
Flutterfurnitureappui
Flutter representation of a furniture app UI
Stars: ✭ 322 (-5.01%)
Mutual labels:  mobile
Insomniac
Instagram bot for automated Instagram interaction using Android device via ADB
Stars: ✭ 324 (-4.42%)
Mutual labels:  mobile
Maroto
A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
Stars: ✭ 334 (-1.47%)
Mutual labels:  fast
Cordova Plugin Device
Apache Cordova Plugin device
Stars: ✭ 327 (-3.54%)
Mutual labels:  mobile

mobilefacenet-V2

now we get more higher accuray:

[lfw][12000]Accuracy-Flip: 0.99667+-0.00358
[agedb_30][12000]Accuracy-Flip: 0.96667+-0.00167 use my modified mobilenet network.

lr-batch-epoch: 0.01 11738 1 testing verification.. (12000, 512) infer time 39.129495 [lfw][36000]XNorm: 22.729305 [lfw][36000]Accuracy-Flip: 0.99667+-0.00358

improve the accuracy of mobilefacenet in paper mobilefacenet论文(https://arxiv.org/abs/1804.07573)

First step training (use softmax to pretrain): train softmax(facenet):

[lfw][62000]XNorm: 23.029881 [lfw][62000]Accuracy-Flip: 0.99383+-0.00308 testing verification.. (14000, 512) infer time 20.121058 [cfp_fp][62000]XNorm: 24.043967 [cfp_fp][62000]Accuracy-Flip: 0.89343+-0.01705 testing verification.. (12000, 512) infer time 16.860138 [agedb_30][62000]XNorm: 23.566453 [agedb_30][62000]Accuracy-Flip: 0.93883+-0.01675 saving 31 INFO:root:Saved checkpoint to "../models/MF/model-y1-softmax12-0031.params"

pretrained models: https://pan.baidu.com/s/1xBq9FoL79z7K892aFWkmFw

Second step: CUDA_VISIBLE_DEVICES='0,1' python -u train_softmax.py --network y1 --ckpt 2 --loss-type 4 --margin-s [128] --lr-steps 120000,180000,210000,230000 --emb-size [512] --per-batch-size 150 --data-dir ../data/faces_ms1m_112x112 --pretrained ../models/MobileFaceNet/model-y1-softmax,20 --prefix ../models/MF/model-y1-arcface

Third step: CUDA_VISIBLE_DEVICES='0,1' python -u train_softmax.py --network y1 --ckpt 2 --loss-type 4 --lr 0.001 --lr-steps 40000,60000,70000 --wd 0.00004 --fc7-wd-mult 10 --emb-size 512 --per-batch-size 150 --margin-s 64 --data-dir ../data/faces_ms1m_112x112 --pretrained ../models/MF/model-y1-arcface,46 --prefix ../models/MF/model-y1-arcface

Update wd=0.00001 , --fc7-wd-mult 10 --emb-size 512 i get new Accuracy:

Accuracy
dbname accuracy
lfw 0.996233
cfp_fp 0.94300
age_db30 0.96383

##########first #CUDA_VISIBLE_DEVICES='0' python -u train_softmax.py --network y1 --ckpt 2 --loss-type 4 --lr 0.1 --emb-size 512 --per-batch-size 240 --margin-s 64 --wd 0.00001 --fc7-wd-mult 10 --data-dir /Users/sunyimac/faces_emore --pretrained ../models/MobileFaceNet/model-y1-arcfaced,18 --prefix ../models/MobileFaceNet/model-y1-arcface

#CUDA_VISIBLE_DEVICES='0' python -u train_softmax.py --network y1 --ckpt 2 --loss-type 4 --lr 0.01 --emb-size 512 --per-batch-size 240 --margin-s 64 --wd 0.00001 --fc7-wd-mult 10 --data-dir /Users/sunyimac/faces_emore --pretrained ../models/MobileFaceNet/model-y1-arcface,62 --prefix ../models/MobileFaceNet/model-y1-arcfaced

CUDA_VISIBLE_DEVICES='0' python -u train_softmax.py --network y1 --ckpt 2 --loss-type 4 --lr 0.00001 --emb-size 512 --per-batch-size 240 --wd 0.00001 --fc7-wd-mult 10 --data-dir /Users/sunyimac/faces_emore --pretrained ../models/MobileFaceNet/model-y1-arcface,75 --prefix ../models/MobileFaceNet/model-y1-arcfaced

Update wd=0.000001 trainning is not end. now is the new Accuracy: i get new higher Accuracy:

Accuracy
dbname accuracy
lfw 0.99667
cfp_fp 0.94300
age_db30 0.96700

Update wd=0.0000001 trainning is not end. now is the new Accuracy: i get new higher Accuracy:

Accuracy🔥
dbname accuracy
lfw 0.99683
cfp_ff 0.99733
cfp_fp 0.94500
age_db30 0.96717
you can visit my log file:
https://github.com/qidiso/mobilefacenet-V2/blob/master/retrain0.001.log

Now Release the models:

[models:]https://github.com/aidlearning/AidLearning-FrameWork/tree/master/src/facencnn/models (reached 99.733 in the cfp-ff、 the 99.68+ in lfw,96.71+ in agedb30)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].