A simplified explanation of the triplet loss. — Deep learning is fun. It will be quick and worth your time. Let us jump right in. Loss functions are valleys of neural networks (pun intended) without which it can’t learn highly complex and rich representations of an image used for various tasks like detection, segmentation, classification, re-identification, tracking etc…