GitHub - GuillaumeErhard/Supervised_contrastive_loss_pytorch ...
github.com › Supervised_contrastive_loss_pytorchNov 25, 2020 · Why the loss never reaches zero ? The supervised contrastive loss defined in the paper will converge to a constant value, which is batch size dependant. The loss as it is described in the paper is analogous to the Tammes problem where each clusters where projections of a particular class land repel other clusters. Although it is unsolved for such high dimension of 128, an approximate solution over dataset statistics can be easily calculated.