Skip to content

Commit

Permalink
Bump version to v1.7.0 (#2362)
Browse files Browse the repository at this point in the history
* Bump version to v1.7.0

* remove deprecated message
  • Loading branch information
zhouzaida authored Nov 1, 2022
1 parent ff8e0c8 commit 270c293
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions mmcv/image/geometric.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (c) OpenMMLab. All rights reserved.
import numbers
import warnings
from typing import List, Optional, Tuple, Union, no_type_check

import cv2
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion mmcv/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 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:
Expand Down

0 comments on commit 270c293

Please sign in to comment.