Skip to content

srleohung/sphereface_pytorch

 
 

Repository files navigation

SphereFace

A PyTorch Implementation of SphereFace. The code can be trained on CASIA-Webface and the best accuracy on LFW is 99.22%.

SphereFace: Deep Hypersphere Embedding for Face Recognition

LFW Dataset

bash get_lfw.sh

Train

python train.py

Test

# lfw evaluation
python lfw_eval.py --model model/sphere20a_20171020.pth

Pre-trained models

Model name LFW accuracy Training dataset
20171020 0.9922 CASIA-WebFace

φ

equation

equation

phi

References

sphereface

About

A PyTorch Implementation of SphereFace.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Shell 0.5%