google/tirg

What does this mean

Closed this issue · 0 comments

def compute_batch_based_classification_loss_(self, mod_img1, img2):

labels = torch.tensor(range(x.shape[0])).long()

is this mean labels is always zero ?