I think in the code “nominator = torch.exp(positives / self.temperature) # 2bs
denominator = self.negatives_mask torch.exp(similarity_matrix / self.temperature),” denominator contains nominator and the formula (k!=i) in the paper is somewhat different,thank you.
I think in the code “nominator = torch.exp(positives / self.temperature) # 2bs denominator = self.negatives_mask torch.exp(similarity_matrix / self.temperature),” denominator contains nominator and the formula (k!=i) in the paper is somewhat different,thank you.