Open TQZhang04 opened 3 weeks ago
Temporary fix to RunTime Error ... detected tensor([0, 1, 2]) expected [0, 1] add torch.clamp(labels_for_score, max=1) after line 72 in train.py
torch.clamp(labels_for_score, max=1)
train.py
Temporary fix to RunTime Error ... detected tensor([0, 1, 2]) expected [0, 1]: add labels_for_score = torch.clamp(labels_for_score, max=1) after line 72 in train.py
labels_for_score = torch.clamp(labels_for_score, max=1)
Temporary fix to RunTime Error ... detected tensor([0, 1, 2]) expected [0, 1] add
torch.clamp(labels_for_score, max=1)
after line 72 intrain.py