From 11b1ef830aa7c8c054d8b5346fe0966e643d473c Mon Sep 17 00:00:00 2001 From: Jaedong Hwang Date: Sat, 12 Sep 2020 17:52:23 +0900 Subject: [PATCH] [fix] typo (#3741) * [fix] typo my also contain -> may also contain * [fix] typo --- mmdet/core/post_processing/merge_augs.py | 2 +- mmdet/models/detectors/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mmdet/core/post_processing/merge_augs.py b/mmdet/core/post_processing/merge_augs.py index ed203d32d..167093ebf 100644 --- a/mmdet/core/post_processing/merge_augs.py +++ b/mmdet/core/post_processing/merge_augs.py @@ -14,7 +14,7 @@ def merge_aug_proposals(aug_proposals, img_metas, rpn_test_cfg): original image size. img_metas (list[dict]): list of image info dict where each dict has: - 'img_shape', 'scale_factor', 'flip', and my also contain + 'img_shape', 'scale_factor', 'flip', and may also contain 'filename', 'ori_shape', 'pad_shape', and 'img_norm_cfg'. For details on the values of these keys see `mmdet/datasets/pipelines/formatting.py:Collect`. diff --git a/mmdet/models/detectors/base.py b/mmdet/models/detectors/base.py index 914f47659..fab3ae349 100644 --- a/mmdet/models/detectors/base.py +++ b/mmdet/models/detectors/base.py @@ -68,7 +68,7 @@ class BaseDetector(nn.Module, metaclass=ABCMeta): img (list[Tensor]): List of tensors of shape (1, C, H, W). Typically these should be mean centered and std scaled. img_metas (list[dict]): List of image info dict where each dict - has: 'img_shape', 'scale_factor', 'flip', and my also contain + has: 'img_shape', 'scale_factor', 'flip', and may also contain 'filename', 'ori_shape', 'pad_shape', and 'img_norm_cfg'. For details on the values of these keys, see :class:`mmdet.datasets.pipelines.Collect`.