Keras implementation of various loss functions in face recognition and visualization on Mnist
Author | LCorleone |
---|---|
lcorleone@foxmail.com |
- tensorflow 1.5
- keras 2.2.0
- some common packages like numpy and so on.
- Now we support original softmax, center loss, A-softmax and AM-softmax.
- Just change the loss_name in keras_mnist_loss_compare.py
loss_name = 'AM-softmax'
- original softmax
- center loss
- A-softmax
- AM-softmax
- AAM-softmax(ArcFace)