← Open Source
clcarwin

sphereface_pytorch

A PyTorch Implementation of SphereFace.

Model DevelopmentArchitecturePython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
713
Stars
168
Forks
+0
This week
1
Contributors
Created 2017-09-27 · Updated 2026-10-04 · #14564 today
Top developers
clcarwin
README

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

Train

python train.py

Test

# lfw.tgz to lfw.zip
tar zxf lfw.tgz; cd lfw; zip -r ../lfw.zip *; cd ..

# 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

φ

References

sphereface

Nearby in the ranking
Similar items