/image-feature-learning-pytorch

PyTorch implementation of Center Loss & Contrastive-Center Loss.

Primary LanguagePythonMIT LicenseMIT

image-feature-learning-pytorch

A Pytorch implementation of Center Loss & Contrastive-Center Loss.

(Thanks: https://github.com/jxgu1016/MNIST_center_loss_pytorch)

Modification/Addition:

  • Implement Contrastive-Center Loss in addition to original one.
  • Refactor and fix discrepancies between the paper and the implementation.
  • Make calculation of center loss faster.