Multiclass classification with softmax

Hi jpj!

Yes, you should use CrossEntropyLoss as your loss criterions (and not
use Softmax because CrossEntropyLoss expects logits rather than
probabilities as its predicted input).

Best.

K. Frank

1 Like