pytorch-loss icon indicating copy to clipboard operation
pytorch-loss copied to clipboard

hard triplet conergence

Open ffredd opened this issue 1 year ago • 0 comments

I use triple loss between data of two modalities to reduce the distance between different modalities of the same class and increase the distance between different modalities of different class. But when I use batch_all loss, the valid set loss has not changed; now using hard_loss, the valid set loss still has not changed. What is the reason? I found some answers that triplet is difficult to converge. What do you do to deal with triplet loss convergence?

ffredd avatar Sep 16 '22 07:09 ffredd