Chainer Center Loss
Implementation of Center Loss in Chainer.
Requirements
Python 3.5.1
Chainer 2.0.0
CuPy 1.0.0 (if use GPU)
Matplotlib
How to train
python train_mnist.py --batchsize 32 --epoch 20 --centerloss
python train_mnist.py --batchsize 32 --epoch 20 --gpu 0 --centerloss
Visualize the result
Reference