omoindrot / tensorflow-triplet-loss

Implementation of triplet loss in TensorFlow
https://omoindrot.github.io/triplet-loss
MIT License
1.12k stars 284 forks source link

About squared #30

Closed ghost closed 5 years ago

ghost commented 5 years ago

Why the code at line 34 in triplet_loss.py is "if not Squared"? Should it be "if Squared", for the following codes are to calculate the squared euclidean distance matrix?

ghost commented 5 years ago

Oh, get it. It is my mistake. it is "Square" not "Square root". Sorry to bother and thanks a lot for the codes.