1 comment

[ 3.1 ms ] story [ 16.0 ms ] thread
The online triplet mining strategy is more efficient than the offline one. It implies "getting a batch of n samples and their associated labels, and form triplets on the fly." About Triplet vs. Contrastive Loss comparison and its efficient implementation. https://qdrant.tech/articles/triplet-loss/