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
270c293c
Unverified
Commit
270c293c
authored
Nov 01, 2022
by
Zaida Zhou
Committed by
GitHub
Nov 01, 2022
Browse files
Bump version to v1.7.0 (#2362)
* Bump version to v1.7.0 * remove deprecated message
parent
ff8e0c8a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
mmcv/image/geometric.py
mmcv/image/geometric.py
+0
-7
mmcv/version.py
mmcv/version.py
+1
-1
No files found.
mmcv/image/geometric.py
View file @
270c293c
# Copyright (c) OpenMMLab. All rights reserved.
import
numbers
import
warnings
from
typing
import
List
,
Optional
,
Tuple
,
Union
,
no_type_check
import
cv2
...
...
@@ -355,12 +354,6 @@ def imrotate(img: np.ndarray,
Returns:
np.ndarray: The rotated image.
"""
warnings
.
warn
(
"We have added an arg 'border_mode' in this func "
'and will reorder the args in the future as: '
'( ..., scale: float = 1.0, '
"border_mode: str = 'constant', "
'border_value: int = 0, ... ). '
'Please use keyword arguments to call this function.'
)
if
center
is
not
None
and
auto_bound
:
raise
ValueError
(
'`auto_bound` conflicts with `center`'
)
h
,
w
=
img
.
shape
[:
2
]
...
...
mmcv/version.py
View file @
270c293c
# Copyright (c) OpenMMLab. All rights reserved.
__version__
=
'1.
6.2
'
__version__
=
'1.
7.0
'
def
parse_version_info
(
version_str
:
str
,
length
:
int
=
4
)
->
tuple
:
...
...
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