← Open Source
auroua

InsightFace_TF

Insight Face on TensorFlow.

Model DevelopmentArchitecturePython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
697
Stars
247
Forks
+1
This week
1
Contributors
Created 2018-03-03 · Updated 2026-10-12 · #14863 today
Top developers
auroua

auroua/InsightFace_TF is ranked 14,863 with 697 stars.

Same-category comparison

auroua/InsightFace_TF is ranked 14,863 among these 8 peers; adipandas/multi-object-tracker is ranked 14,862.

Same-category comparison
NameRankMetrics
yandex/rep14,849
Language:
Jupyter Notebook
Stars:
699
Forks:
145
Description:
Machine Learning toolbox for Humans.
bes-dev/MobileStyleGAN.pytorch14,851
Language:
Python
Stars:
698
Forks:
87
Description:
An official implementation of MobileStyleGAN in PyTorch.
jonasrauber/eagerpy14,857
Language:
Python
Stars:
698
Forks:
39
adipandas/multi-object-tracker14,862
Language:
Python
Stars:
697
Forks:
101
Description:
Multi-object trackers in Python.
tkn-tub/ns3-gym14,870
Language:
C++
Stars:
697
Forks:
221
Description:
ns3-gym - The Playground for Reinforcement Learning in Networking Research.
vecxoz/vecstack14,871
Language:
Python
Stars:
697
Forks:
79
Description:
Python package for stacking (machine learning technique).
HasnainRaz/Fast-SRGAN14,879
Language:
Python
Stars:
695
Forks:
120
Description:
A Fast Deep Learning Model to Upsample Low Resolution Videos to High Resolution at 30fps.
aleju/mario-ai14,883
Language:
Lua
Stars:
695
Forks:
142
Description:
Playing Mario with Deep Reinforcement Learning.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryArchitecture
Stars697
Forks247
Contributors1
Created date2018-03-03
Updated date2026-10-12
Stars in 1 day0
Stars in 7 days1
Rank14,863
Previous rank14,702
Rank change-161
7-day stars rank10,905
Previous 7-day stars rank10,962
7-day stars rank change57
Total stars rank14,935
Previous total stars rank14,905
Total stars rank change-30
CountryChina
README summary

Insight Face in TensorFlow Tasks ~~mxnet dataset to tfrecords~~ ~~backbone network architectures [vgg16, vgg19, resnet]~~ ~~backbone network architectures [resnet-se, resnext]~~ ~~LResNet50E-IR~~ ~~LResNet100E-IR~~ ~~Additive Angular Margin Loss~~ ~~CosineFace Loss~~ ~~train network code~~ ~~add validate during training~~ ~~multi-gpu training~~ ~~combine losses~~ contributed by RogerLo. evaluate code Training Tips(Continual updates) If you can't use large batch size(>128), you should use small learning rate If you can't use large batch size(>128), you can try batch renormalization(file

) If use multiple gpus, you should keep at least 16 images each gpu. Try Group Normalization, you can use the code Using the current model, and the lr schedule in , you can get the results as The bug about model size is 1. If you want to get a small model, you should use multi-gpu training code's bug have fixed. py| pretrained model download link resnet_v1_50 resnet_v1_101 resnet_v1_152 vgg16 vgg19 References 1. InsightFace

: Additive Angular Margin Loss for Deep Face Recognition 3. Deep Residual Learning for Image Recognition 7. Very Deep Convolutional Networks For Large-Scale Image Recognition 8.

Frequently asked questions

How many stars and forks are recorded?

auroua/InsightFace_TF has 697 stars and 247 forks.

What is the repository rank?

auroua/InsightFace_TF is ranked 14,863.

What language and category are recorded?

auroua/InsightFace_TF has 697 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

auroua/InsightFace_TF is compared with adipandas/multi-object-tracker, ranked 14,862 with 697 stars.

README

Insight Face in TensorFlow

Tasks

  • mxnet dataset to tfrecords
  • backbone network architectures [vgg16, vgg19, resnet]
  • backbone network architectures [resnet-se, resnext]
  • LResNet50E-IR
  • LResNet100E-IR
  • Additive Angular Margin Loss
  • CosineFace Loss
  • train network code
  • add validate during training
  • multi-gpu training
  • combine losses contributed by RogerLo.
  • evaluate code

Training Tips(Continual updates)

  • If you can't use large batch size(>128), you should use small learning rate
  • If you can't use large batch size(>128), you can try batch renormalization(file L_Resnet_E_IR_RBN.py)
  • If use multiple gpus, you should keep at least 16 images each gpu.
  • Try Group Normalization, you can use the code L_Resnet_E_IR_GBN.py
  • Using the current model, and the lr schedule in train_nets.py, you can get the results as model c
  • The bug about model size is 1.6G have fixed based on issues #9. If you want to get a small model, you should use L_Resnet_E_IR_fix_issues9.py
  • multi-gpu training code's bug have fixed. If you want to use the correct version, you should use train_nets_mgpu_new.py

Training models (Continual updates)

model A
model name depth normalization layer batch size total_steps download password
model A 50 group normalization 16 1060k model a 2q72
accuracy
dbname accuracy
lfw 0.9897
cfp_ff 0.9876
cfp_fp 0.84357
age_db30 0.914
model B
model name depth normalization layer batch size total_steps download password
model B 50 batch normalization 16 1100k model_b h6ai
accuracy
dbname accuracy
lfw 0.9933
cfp_ff 0.99357
cfp_fp 0.8766
age_db30 0.9342
model C
model name depth normalization layer batch size total_steps download password
model C 50 batch normalization 16 1950k model_c 8mdi
accuracy
dbname accuracy
lfw 0.9963
cfp_ff 0.99586
cfp_fp 0.9087
age_db30 0.96367
model D
model name depth normalization layer batch size total_steps model_size download password
model D 50 batch normalization 136 710k 348.9MB model_d amdt
accuracy
dbname accuracy
lfw 0.9968
cfp_ff 0.9973
cfp_fp 0.9271
age_db30 0.9725

Requirements

  1. TensorFlow 1.4 1.6
  2. TensorLayer 1.7
  3. cuda8&cudnn6 or cuda9&cudnn7
  4. Python3

Max Batch Size Test

Environment
GPU cuda cudnn TensorFlow TensorLayer Maxnet Gluon
Titan xp 9.0 7.0 1.6 1.7 1.1.0 1.1.0
Results
DL Tools Max BatchSize(without bn and prelu) Max BatchSize(with bn only) Max BatchSize(with prelu only) Max BatchSize(with bn and prelu)
TensorLayer (8000, 9000) (5000, 6000) (3000, 4000) (2000, 3000)
Mxnet (40000, 50000) (20000, 30000) (20000, 30000) (10000, 20000)
Gluon (7000, 8000) (3000, 4000) no official method None

(8000, 9000) : 8000 without OOM, 9000 OOM Error

Test Code
TensorLayer Maxnet Gluon
tensorlayer_batchsize_test.py mxnet_batchsize_test.py gluon_batchsize_test.py

pretrained model download link

References

  1. InsightFace mxnet
  2. InsightFace : Additive Angular Margin Loss for Deep Face Recognition
  3. Group Normalization
  4. tensorlayer_vgg16
  5. tensorlayer_vgg19
  6. tf_slim
  7. Deep Residual Learning for Image Recognition
  8. Very Deep Convolutional Networks For Large-Scale Image Recognition
  9. Squeeze-and-Excitation Networks
Nearby in the ranking
Similar items