pytorch CrossEntropyLoss报错

1
loss = criterion(outputs, targets.squeeze())
请作者喝一杯咖啡☕️