Browse Source

debug loss of YOLOv2

yjh0410 2 years ago
parent
commit
907c5993e7
1 changed files with 0 additions and 1 deletions
  1. 0 1
      models/yolov2/loss.py

+ 0 - 1
models/yolov2/loss.py

@@ -83,7 +83,6 @@ class Criterion(object):
         
         # obj loss
         gt_objectness[pos_masks] *= ious.clamp(0.)
-        print(gt_objectness[pos_masks])
         loss_obj = self.loss_objectness(pred_obj, gt_objectness)
         loss_obj = loss_obj.sum() / num_fgs