From 0a02b3b88226f9f818ed5c0bdc100fb2ddc9c6af Mon Sep 17 00:00:00 2001 From: lkm2835 Date: Wed, 17 Nov 2021 01:03:58 +0900 Subject: [PATCH] Fix mosaic repr typo --- mmdet/datasets/pipelines/transforms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmdet/datasets/pipelines/transforms.py b/mmdet/datasets/pipelines/transforms.py index cb5945d2832..d39d383d35d 100644 --- a/mmdet/datasets/pipelines/transforms.py +++ b/mmdet/datasets/pipelines/transforms.py @@ -2187,8 +2187,8 @@ def _filter_box_candidates(self, bboxes, labels): def __repr__(self): repr_str = self.__class__.__name__ - repr_str += f'img_scale={self.img_scale}, ' - repr_str += f'center_ratio_range={self.center_ratio_range})' + repr_str += f'(img_scale={self.img_scale}, ' + repr_str += f'center_ratio_range={self.center_ratio_range}, ' repr_str += f'pad_val={self.pad_val})' return repr_str