YOLOP icon indicating copy to clipboard operation
YOLOP copied to clipboard

It is mentioned in the paper that Lcls and Lobj in the detection task use focal loss, but this is not the case in the code.

Open lss0510 opened this issue 3 years ago • 1 comments

in the code loss.py, line 195: gamma = cfg.LOSS.FL_GAMMA if gamma > 0: BCEcls, BCEobj = FocalLoss(BCEcls, gamma), FocalLoss(BCEobj, gamma) but in the code default.py, line 39: _C.LOSS.FL_GAMMA = 0.0 Following the code above, Lcls and Lobj are still BCELoss.

lss0510 avatar Oct 11 '22 07:10 lss0510

没开启

xiaolu123123 avatar Sep 19 '23 07:09 xiaolu123123