Releases: KevinMusgrave/pytorch-metric-learning
Releases · KevinMusgrave/pytorch-metric-learning
v1.5.1
v1.5.0
Features
For some loss functions, labels are now optional if indices_tuple
is provided:
loss = loss_func(embeddings, indices_tuple=pairs)
The losses for which you can do this are:
- CircleLoss
- ContrastiveLoss
- IntraPairVarianceLoss
- GeneralizedLiftedStructureLoss
- LiftedStructureLoss
- MarginLoss
- MultiSimilarityLoss
- NTXentLoss
- SignalToNoiseRatioContrastiveLoss
- SupConLoss
- TripletMarginLoss
- TupletMarginLoss
This issue has come up several times:
v1.4.0
New features
- Added InstanceLoss. See #410 by @layumi
v1.3.2
v1.3.1
v1.3.0
v1.2.1
v1.2.0
New Loss Function: SubCenterArcFace
Thanks @chingisooinar!