Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
f01d301e
Unverified
Commit
f01d301e
authored
Jun 13, 2023
by
i-aki-y
Committed by
GitHub
Jun 13, 2023
Browse files
[Docs] Fix a typo in RandomResize docstring (#2829)
parent
9b1209fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmcv/transforms/processing.py
mmcv/transforms/processing.py
+1
-1
No files found.
mmcv/transforms/processing.py
View file @
f01d301e
...
...
@@ -1400,7 +1400,7 @@ class RandomResize(BaseTransform):
target
\\
_scale[0]
\\
sim Uniform([ratio
\\
_range[0], ratio
\\
_range[1]])
* scale[0]
.. math::
target
\\
_scale[
0
]
\\
sim Uniform([ratio
\\
_range[0], ratio
\\
_range[1]])
target
\\
_scale[
1
]
\\
sim Uniform([ratio
\\
_range[0], ratio
\\
_range[1]])
* scale[1]
Following the resize order of weight and height in cv2, ``ratio_range[0]``
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment