preds_softmax = preds_softmax.gather(1,labels.view(-1,1)) 处出现 index 2 is out of bounds for dimension 1 with size 2
preds_softmax = preds_softmax.gather(1,labels.view(-1,1)) 处出现
index 2 is out of bounds for dimension 1 with size 2