GitHub repository: kaijieshi7/pytorch-loss
Description: label-smooth, amsoftmax, focal-loss, triplet-loss, lovasz-softmax. Maybe useful