From 8024f81de2caafe2197256948857835ccedd3f61 Mon Sep 17 00:00:00 2001 From: Charlyo <7512047+Charlyo@users.noreply.github.com> Date: Wed, 22 Sep 2021 04:46:59 +0200 Subject: [PATCH] [Docs] Fix a typo in transforms (#454) --- mmcls/datasets/pipelines/transforms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mmcls/datasets/pipelines/transforms.py b/mmcls/datasets/pipelines/transforms.py index cb79cc5d1..0dae7463a 100644 --- a/mmcls/datasets/pipelines/transforms.py +++ b/mmcls/datasets/pipelines/transforms.py @@ -165,7 +165,7 @@ class RandomResizedCrop(object): interpolation (str): Interpolation method, accepted values are 'nearest', 'bilinear', 'bicubic', 'area', 'lanczos'. Defaults to 'bilinear'. - backend (str): The image resize backend type, accpeted values are + backend (str): The image resize backend type, accepted values are `cv2` and `pillow`. Defaults to `cv2`. """ @@ -628,7 +628,7 @@ class Resize(object): interpolation (str): Interpolation method, accepted values are "nearest", "bilinear", "bicubic", "area", "lanczos". More details can be found in `mmcv.image.geometric`. - backend (str): The image resize backend type, accpeted values are + backend (str): The image resize backend type, accepted values are `cv2` and `pillow`. Default: `cv2`. """ @@ -708,7 +708,7 @@ class CenterCrop(object): interpolation (str): Interpolation method, accepted values are 'nearest', 'bilinear', 'bicubic', 'area', 'lanczos'. Only valid if ``efficientnet_style`` is True. Defaults to 'bilinear'. - backend (str): The image resize backend type, accpeted values are + backend (str): The image resize backend type, accepted values are `cv2` and `pillow`. Only valid if efficientnet style is True. Defaults to `cv2`.