Skip to content

Commit

Permalink
Update ld_retina.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzh-tju authored Jan 4, 2022
1 parent ff6386c commit 971d0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdet/models/dense_heads/ld_retina.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def loss_single(self, cls_score, bbox_pred, anchors, labels, label_weights,
# assigned_vlr[assigned_vlr > 0] = 1
vlr_weights = assigned_vlr
# 剔除正样本
neg_weights[labels != self.num_classes] = 0
vlr_weights[labels != self.num_classes] = 0
loss_bbox = self.loss_bbox(
bbox_pred,
bbox_targets,
Expand Down

0 comments on commit 971d0cc

Please sign in to comment.