Skip to content

Commit

Permalink
set unmap_results=True in ssd_head (#7328)
Browse files Browse the repository at this point in the history
  • Loading branch information
chhluo authored and ZwwWayne committed Mar 16, 2022
1 parent 62cd9aa commit 16cf598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdet/models/dense_heads/ssd_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def loss(self,
gt_bboxes_ignore_list=gt_bboxes_ignore,
gt_labels_list=gt_labels,
label_channels=1,
unmap_outputs=False)
unmap_outputs=True)
if cls_reg_targets is None:
return None
(labels_list, label_weights_list, bbox_targets_list, bbox_weights_list,
Expand Down

0 comments on commit 16cf598

Please sign in to comment.