Skip to content

Commit

Permalink
minor fix in htc tta when num det boxes is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
thangvubk committed Jan 22, 2021
1 parent 3a9f5ef commit 48258d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmdet/models/roi_heads/htc_roi_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,8 @@ def aug_test(self, img_feats, proposal_list, img_metas, rescale=False):
if self.with_mask:
if det_bboxes.shape[0] == 0:
segm_result = [[[]
for _ in range(self.mask_head[-1].num_classes -
1)]]
for _ in range(self.mask_head[-1].num_classes)]
]
else:
aug_masks = []
aug_img_metas = []
Expand Down

0 comments on commit 48258d9

Please sign in to comment.