Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [triplet-loss-function]

The tag has no usage guidance.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
2 answers

Why does triplet loss allow to learn a ranking whereas contrastive loss only allows to learn similarity?

I am looking at this lecture, which states (link to exact time): What the triplet loss allows us in contrast to the contrastive loss is that we can learn a ranking. So it's not only about similarity, ...
Gulzar's user avatar
  • 769
0 votes
0 answers

Sampling triplet sets in the field of few-shot learning

I have recently been exposed to the concept of K-way N-shot classification. As far as I realize few-shot learning involves meta training and meta testing sets for training and testing our model, ...
Miss M's user avatar
  • 1
-1 votes
1 answer

How to retrain a Facenet model with the triplet loss function?

I want to calculate the similarity or distance of two faces. I'm using Python. I have read and done what this tutorial says. However, the result is not good (the similarity of same faces and ...
behrad's user avatar
  • 99