← 开源
auroua

InsightFace_TF

Insight Face on TensorFlow

Model DevelopmentArchitecturePython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
697
Star
247
Fork
+1
本周
1
贡献者
创建于 2018-03-03 · 更新于 2026-10-12 · 今日第 14863 名
主要开发者
auroua

auroua/InsightFace_TF 排名第 14,863,有 697 个星标。

同类别比较

auroua/InsightFace_TF 排名第 14,863,此处有 8 个同类条目;adipandas/multi-object-tracker 排名第 14,862。

同类别比较
名称排名指标
yandex/rep14,849
语言:
Jupyter Notebook
星标数:
699
分叉数:
145
简介:
Machine Learning toolbox for Humans
bes-dev/MobileStyleGAN.pytorch14,851
语言:
Python
星标数:
698
分叉数:
87
简介:
An official implementation of MobileStyleGAN in PyTorch
jonasrauber/eagerpy14,857
语言:
Python
星标数:
698
分叉数:
39
adipandas/multi-object-tracker14,862
语言:
Python
星标数:
697
分叉数:
101
简介:
Multi-object trackers in Python
tkn-tub/ns3-gym14,870
语言:
C++
星标数:
697
分叉数:
221
简介:
ns3-gym - The Playground for Reinforcement Learning in Networking Research
vecxoz/vecstack14,871
语言:
Python
星标数:
697
分叉数:
79
简介:
Python package for stacking (machine learning technique)
HasnainRaz/Fast-SRGAN14,879
语言:
Python
星标数:
695
分叉数:
120
简介:
A Fast Deep Learning Model to Upsample Low Resolution Videos to High Resolution at 30fps
aleju/mario-ai14,883
语言:
Lua
星标数:
695
分叉数:
142
简介:
Playing Mario with Deep Reinforcement Learning
关键参数与规格
关键参数与规格
参数值
语言Python
类别Model Development
子类别Architecture
星标数697
分叉数247
贡献者1
创建日期2018-03-03
更新日期2026-10-12
1 天星标数0
7 天星标数1
排名14,863
上次排名14,702
排名变化-161
7 天星标排名10,905
上次 7 天星标排名10,962
7 天星标排名变化57
总星标排名14,935
上次总星标排名14,905
总星标排名变化-30
国家China
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

) 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.

常见问题

记录了多少星标和分叉?

auroua/InsightFace_TF 有 697 个星标和 247 个分叉。

仓库排名是多少?

auroua/InsightFace_TF 排名第 14,863。

记录的语言和类别是什么?

auroua/InsightFace_TF 有 697 个星标,语言为 Python,类别为 Model Development。

哪个仓库排名最接近?

auroua/InsightFace_TF 与 adipandas/multi-object-tracker 比较,后者排名第 14,862,有 697 个星标。

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
排名相邻
同类项目