GFocalV2 icon indicating copy to clipboard operation
GFocalV2 copied to clipboard

Where does the quality_focal_loss function in gfocal_loss.py call the weight_reduce_loss function ?

Open PanffeeReal opened this issue 2 months ago • 0 comments

论文中的损失函数表达式依然是带有N_pos作为分母,但是在gflv2的代码里实在找不到哪里做了这一步,希望能获得您的解答,十分感谢!


对比于GFLV1版本的gfocal_loss.py, 在v2版本中,gfocal_loss.py中的两个函数,quality_focal_loss 和 distribution_focal_loss 都没有调用weight_reduce_loss函数,请问在该版本的代码中,这个函数是放弃调用了吗?还是说在其他地方调用了?(gfocal_head.py也没有调用)

PanffeeReal avatar Apr 17 '24 08:04 PanffeeReal