Browse Source

Merge pull request #879 from will-jl944/bug_fix

fix typo in randomresize docstring
will-jl944 4 years ago
parent
commit
1c101432c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dygraph/paddlex/cv/transforms/operators.py

+ 1 - 1
dygraph/paddlex/cv/transforms/operators.py

@@ -318,7 +318,7 @@ class RandomResize(Transform):
     Attention:If interp is 'RANDOM', the interpolation method will be chose randomly.
 
     Args:
-        target_sizes (List[int], List[list or tuple] or Tuple[lsit or tuple]):
+        target_sizes (List[int], List[list or tuple] or Tuple[list or tuple]):
             Multiple target sizes, each target size is an int or list/tuple.
         interp ({'NEAREST', 'LINEAR', 'CUBIC', 'AREA', 'LANCZOS4', 'RANDOM'}, optional):
             Interpolation method of resize. Defaults to 'LINEAR'.