Need help with pytorch-adacos?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

4uiiurz1
169 Stars 25 Forks MIT License 12 Commits 7 Opened issues

Description

PyTorch implementation of AdaCos

Services available

!
?

Need anything else?

Contributors list

# 78,388
Python
arcface
Keras
unet
9 commits
# 412,745
Python
pytorch
Deep le...
Shell
1 commit

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 |

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.