did you check the triplet loss1 and triplet loss2 codes? did you tuple the recall codes correctly?
This is another post with each step value which one could check using #print for each step and compare the value. where ever the values aren’t matching, you need to check upon.