From 1910dffd6c8ff43e85f34eadcd9592b5461a54a6 Mon Sep 17 00:00:00 2001 From: xiexinch Date: Thu, 24 Nov 2022 15:02:50 +0800 Subject: [PATCH] minor change --- mmseg/datasets/transforms/transforms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmseg/datasets/transforms/transforms.py b/mmseg/datasets/transforms/transforms.py index 8d3d131f8..683f6b0e6 100644 --- a/mmseg/datasets/transforms/transforms.py +++ b/mmseg/datasets/transforms/transforms.py @@ -1235,8 +1235,8 @@ class ResizeShortestEdge(BaseTransform): Modified from https://github.com/facebookresearch/detectron2/blob/main/detectron2/data/transforms/augmentation_impl.py#L130 # noqa:E501 This transform attempts to scale the shorter edge to the given - `short_edge_length` , as long as the longer edge does not exceed - `max_size`. If `max_size` is reached, then downscale so that the longer + `scale`, as long as the longer edge does not exceed `max_size`. + If `max_size` is reached, then downscale so that the longer edge does not exceed `max_size`. Required Keys: