GetToThePoint icon indicating copy to clipboard operation
GetToThePoint copied to clipboard

Wrong loss criterion

Open Karansaluja opened this issue 4 years ago • 0 comments

You are using softmax + NLLLoss You should either use log_softmax + NLLLoss or softmax + CrossEntropyLoss https://discuss.pytorch.org/t/is-log-softmax-nllloss-crossentropyloss/9352

Karansaluja avatar Apr 02 '20 04:04 Karansaluja