May I ask why you use F.binary_cross_entropy for loss_xy while you use F.mse_loss for loss_wh?
And, (1) why did you divide by 2 for loss_wh? (you didn't divide by 2 for loss_xy)
(2) I thought that yolov4 uses CIoU loss for bbox regression (x, y, w, h), no?
May I ask why you use F.binary_cross_entropy for loss_xy while you use F.mse_loss for loss_wh? And, (1) why did you divide by 2 for loss_wh? (you didn't divide by 2 for loss_xy) (2) I thought that yolov4 uses CIoU loss for bbox regression (x, y, w, h), no?
Thank you for your help.