I want to construct a siamese network using a triplet loss function. For which we need to select training samples( triplets ) for training the network, So how do we select hard triplet's for training before even building the network. By hard triplets I mean d(anchor,positive) should nearly equal to d(anchor, negative).where d is selected distance metric.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.