Open oldwolf204 opened 5 years ago
Take a look at this tensorflow code and blog post: https://github.com/omoindrot/tensorflow-triplet-loss The blog post linked there is very clear and useful. After you understand how the triplets are selected from each batch and the loss is computed it should be easier to write the equivalent code using darknet. good luck ;)
I want to implement triplet loss of FACENET in DARKNET for face comparison. How can I do that?