Browse Source

add YOLOX-Plus

yjh0410 2 years ago
parent
commit
bc8f08692b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      models/detectors/yolox_plus/loss.py

+ 0 - 1
models/detectors/yolox_plus/loss.py

@@ -136,7 +136,6 @@ class ClassificationLoss(nn.Module):
             gt_score: (torch.Tensor): [N, C]
         """
         gt_label = gt_label.long()
-        gt_score = gt_score[:]
         gt_score = gt_score[torch.arange(gt_label.shape[0]), gt_label]
 
         pred_sigmoid = pred_cls.sigmoid()