Skip to content

Commit

Permalink
Update D2Det.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JialeCao001 authored Jul 5, 2020
1 parent 89b6279 commit 1814162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdet/models/detectors/D2Det.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def simple_test(self, img, img_meta, proposals=None, rescale=False):
mask_scores = self.get_mask_scores(reg_iou, det_bboxes, det_labels)
segm_result = self.get_seg_masks(
reg_pred_instance, det_bboxes[:, :4], det_labels, img_meta[0]['ori_shape'],
img_meta[0]['scale_factor'], rescale=True)
img_meta[0]['scale_factor'], rescale=rescale)
else:
det_bboxes, det_labels = multiclass_nms1(det_bboxes[:, :4], det_bboxes[:, 4], det_labels + 1,
0.0, dict(type='soft_nms', iou_thr=0.5), 100)
Expand Down

0 comments on commit 1814162

Please sign in to comment.