If pairs/triplets are provided, labels are usually not used, yet they are still a required input to the loss function. See https://github.com/KevinMusgrave/pytorch-metric-learning/issues/179#issuecomment-1005420045