Loss function in classification yolov8

It’s because when not in training mode, the output is softmaxed.

So training loss is not softmaxed, while validation loss is.