tamerthamoqa / facenet-pytorch-glint360k

A PyTorch implementation of the 'FaceNet' paper for training a facial recognition model with Triplet Loss using the glint360k dataset. A pre-trained model using Triplet Loss is available for download.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About make Triplet dataset

55renchen opened this issue · comments

I have a puzzle,when generate triplet, I think the distance between pos and anc should less than the distance between anc and neg.

Hi 55renchen,

Could you clarify? Do you mean the Semi-Hard Negative triplet selection method?

This blog post by Olivier Moindrot may be helpful:
https://omoindrot.github.io/triplet-loss#triplet-mining