Skip to content

Commit bccb17d

Browse files
gkagkoshhaAndroid
andauthored
Add fix on the bbox loss_weight of the PAA head (#6744)
Co-authored-by: PJLAB\huanghaian <[email protected]>
1 parent 5102f2f commit bccb17d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmdet/models/dense_heads/paa_head.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def get_pos_loss(self, anchors, cls_score, bbox_pred, label, label_weight,
248248
pos_bbox_pred,
249249
pos_bbox_target,
250250
pos_bbox_weight,
251-
avg_factor=self.loss_cls.loss_weight,
251+
avg_factor=self.loss_bbox.loss_weight,
252252
reduction_override='none')
253253

254254
loss_cls = loss_cls.sum(-1)

0 commit comments

Comments
 (0)