I couldn't find the total loss function in the main YOLOv4 paper. However, I found two differing formulas from two different papers (difference is highlighted/marked in the images below). Which formula is the correct default total loss formula for YOLOv4?
FORMULA 1 - Source
FORMULA 2 - Source
Formula 1 is the more correct one because that term of the formula is the confidence loss when there is an object detected. And the confidence loss is based on the cross entropy error.