I’m also getting negative nn.CrossEntropyLoss (every couple of epochs). I am evaluating the loss on the output of a Resnet model (i.e. last layer is nn.Linear). What other reasons are there be for negative loss?