pytorch-adacos

by 4uiiurz1

4uiiurz1 / pytorch-adacos

PyTorch implementation of AdaCos

142 Stars 21 Forks Last release: Not found MIT License 12 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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.