Skip to content

Commit 270c293

Browse files
authored
Bump version to v1.7.0 (#2362)
* Bump version to v1.7.0 * remove deprecated message
1 parent ff8e0c8 commit 270c293

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

mmcv/image/geometric.py

-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Copyright (c) OpenMMLab. All rights reserved.
22
import numbers
3-
import warnings
43
from typing import List, Optional, Tuple, Union, no_type_check
54

65
import cv2
@@ -355,12 +354,6 @@ def imrotate(img: np.ndarray,
355354
Returns:
356355
np.ndarray: The rotated image.
357356
"""
358-
warnings.warn("We have added an arg 'border_mode' in this func "
359-
'and will reorder the args in the future as: '
360-
'( ..., scale: float = 1.0, '
361-
"border_mode: str = 'constant', "
362-
'border_value: int = 0, ... ). '
363-
'Please use keyword arguments to call this function.')
364357
if center is not None and auto_bound:
365358
raise ValueError('`auto_bound` conflicts with `center`')
366359
h, w = img.shape[:2]

mmcv/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Copyright (c) OpenMMLab. All rights reserved.
2-
__version__ = '1.6.2'
2+
__version__ = '1.7.0'
33

44

55
def parse_version_info(version_str: str, length: int = 4) -> tuple:

0 commit comments

Comments
 (0)