* [fix] typo

my also contain -> may also contain

* [fix] typo
pull/3688/head^2
Jaedong Hwang 5 years ago committed by GitHub
parent 039ad4dd64
commit 11b1ef830a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mmdet/core/post_processing/merge_augs.py
  2. 2
      mmdet/models/detectors/base.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`.

@ -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`.

Loading…
Cancel
Save