4uiiurz1 / Pytorch Adacos
Licence: mit
PyTorch implementation of AdaCos
Stars: ✭ 168
Programming Languages
python
139335 projects - #7 most used programming language
Labels
PyTorch implementation of AdaCos, ArcFace, CosFace, and SphereFace
This repository contains code for AdaCos, ArcFace, CosFace, and SphereFace based on AdaCos: Adaptively Scaling Cosine Logits for Effectively Learning Deep Face Representations implemented in PyTorch.
TODO
- [x] Omniglot
- [x] Results of Omniglot experiments
- [ ] Train on WebFace and test on LFW
Requirements
- Python 3.6
- PyTorch 1.0
Training
MNIST
python mnist_train.py --metric adacos
Omniglot
cd omniglot
. download.sh
cd ..
python omniglot_train.py --metric adacos
Results
Omniglot
Method | [email protected] | [email protected] |
---|---|---|
SphereFace | 89.66 | 98.48 |
CosFace | 89.68 | 98.23 |
ArcFace | 89.54 | 98.48 |
AdaCos | 90.06 | 98.55 |
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].