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
08bc4498
Commit
08bc4498
authored
Jun 27, 2022
by
ly015
Committed by
zhouzaida
Jul 19, 2022
Browse files
fix typo in RandomFlip.__repr__
parent
1a57a76b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mmcv/transforms/processing.py
mmcv/transforms/processing.py
+2
-2
No files found.
mmcv/transforms/processing.py
View file @
08bc4498
...
@@ -1197,8 +1197,8 @@ class RandomFlip(BaseTransform):
...
@@ -1197,8 +1197,8 @@ class RandomFlip(BaseTransform):
def
__repr__
(
self
)
->
str
:
def
__repr__
(
self
)
->
str
:
repr_str
=
self
.
__class__
.
__name__
repr_str
=
self
.
__class__
.
__name__
repr_str
+=
f
'(
scale
=
{
self
.
prob
}
, '
repr_str
+=
f
'(
prob
=
{
self
.
prob
}
, '
repr_str
+=
f
'
interpola
tion=
{
self
.
direction
}
)'
repr_str
+=
f
'
direc
tion=
{
self
.
direction
}
)'
return
repr_str
return
repr_str
...
...
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