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: Ce...
cos_loss=tf.reduce_mean(tf.nn.sparse_softmax_cross_entropy_with_logits(labels=y,logits=value))returncos_loss