Skip to content

Commit

Permalink
Yapf
Browse files Browse the repository at this point in the history
  • Loading branch information
Min-Sheng committed Dec 28, 2022
1 parent f1a16c4 commit 679284e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mmdet/datasets/pipelines/formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,7 @@ def __call__(self, results):
else:
img = to_tensor(img).permute(2, 0, 1).contiguous()
results['img'] = DC(
img,
padding_value=self.pad_val['img'],
stack=True)
img, padding_value=self.pad_val['img'], stack=True)
for key in ['proposals', 'gt_bboxes', 'gt_bboxes_ignore', 'gt_labels']:
if key not in results:
continue
Expand Down

0 comments on commit 679284e

Please sign in to comment.