Hello, yes I am using cross entropy loss function. when I call loss = loss_fn(outputs, labels) I get this error. If I print the size of outputs and labels I have this:
size outputs:  torch.Size([3, 100, 224, 224])
size labels:  torch.Size([3])
So what should I do to have labels as [100,224,244]?