Skip to content
Proyectos

YirongMao/softmax_variants

Ver en GitHub

Acerca de

PyTorch code for softmax variants: center loss, cosface loss, large-margin gaussian mixture, COCOLoss, ring loss

IA y aprendizaje automático

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

softmax_variants

Various loss functions for softmax variants: center loss, cosface loss, large-margin gaussian mixture, COCOLoss implemented by pytorch 0.3.1

the training dataset is MNIST

You can directly run code train_mnist_xxx.py to reproduce the result

The reference papers are as follow:

Center loss: Yandong Wen, Kaipeng Zhang, Zhifeng Li and Yu Qiao. A Discriminative Feature Learning Approach for Deep Face Recognition. ECCV 2016

Cosface loss: Hao Wang, Yitong Wang, Zheng Zhou, Xing Ji, Dihong Gong, Jingchao Zhou,Zhifeng Li, and Wei Liu. CosFace: Large Margin Cosine Loss for Deep Face Recognition. CVPR2018

Large-margin gaussian mixture loss: Weitao Wan, Yuanyi Zhong,Tianpeng Li, Jiansheng Chen. Rethinking Feature Distribution for Loss Functions in Image Classification. CVPR 2018

COSO loss: Yu Liu, Hongyang Li, Xiaogang Wang. Rethinking Feature Discrimination and Polymerization for Large scale recognition. NIPS workshop 2017

The learned 2-d embedding features are:

softmax loss

image

COCO loss

image

Center loss

image

CosFace loss

image

Large-margin gaussian mixture loss

image

Explorar proyectos relacionados

Cargando…