Why my tripletloss always is 1?

my input is 3 images

Take a look at this code:

Thanks for your reply. I got it. :blush: