From 7b3f99f6f0c6c969eaa020f708056cb9bf7b9859 Mon Sep 17 00:00:00 2001 From: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com> Date: Thu, 18 Nov 2021 22:23:02 +0900 Subject: [PATCH] Fix mosaic repr typo (#6523) --- 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