I am having issue in getting clear concept of contrastive loss used in siamese network. Here is pytorch formula torch.mean((1-label) * torch.pow(euclidean_dista
I want to train a Siamese Network to compare vectors for similarity. My dataset consist of pairs of vectors and a target column with "1" if they are the same an