When I training the car evaluation, the training loss, validation loss and accuracy doesn’t change ,the above is my code, i am a beginner, please give me advice, thank you very much

When I training the car evaluation, the training loss, validation loss and accuracy doesn’t change ,the above is my code, i am a beginner, please give me advice, thank you very much.

Based on your screenshot, it seems the training and validation losses do change.
However, nn.CrossEntropyLoss expects raw logits, so you should remove the last softmax layer from your model.

1 Like

Yes,I have solve it!! Thank you very much!!