Alright so I checked and the predicted label shape is torch.Size([32, 10])
while the ground_truth is torch.Size([32])
        pred_label = model(image)
        loss = criterion(pred_label, label)

32 is my batch size but I’m not sure where the 10 comes from.