[D] How might I test a network with only two samples when it was trained using triplet loss?
During training I generate triplets using an anchor sample along with a positive match and negative match. The L2 distance of each from the anchor is used to calculate loss, but how does this work in the deployed case where you have only two samples where one might be an anchor? I have been looking at FaceNet but the paper only mentions “a squared L2 distance threshold”. Is this something that needs to be determined empirically? Or is there a better analytical solution?
submitted by /u/Cranial_Vault
[link] [comments]