Thanks a lot @KFrank, I would expect the same thing on training set therefore I asked. This loss function corresponds to standart triplet loss which corresponds to minimising energy between positive and anchor and maximising between anchor and negative.
I am evaluating the accuracy on the same set that I used for training. Is there any chance that the problem is related to batching somehow?
Best