Skip to content

Commit 2b97c52

Browse files
authored
Bump version to v2.0.0rc2 (#2349)
* Bump version to v2.0.0rc2 * minor refine
1 parent 3ffb2a7 commit 2b97c52

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
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

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

44

55
def parse_version_info(version_str: str, length: int = 4) -> tuple:
@@ -30,6 +30,6 @@ def parse_version_info(version_str: str, length: int = 4) -> tuple:
3030
return tuple(release)
3131

3232

33-
version_info = (2, 0, 0, 0, 'rc', 1)
33+
version_info = (2, 0, 0, 0, 'rc', 2)
3434

3535
__all__ = ['__version__', 'version_info', 'parse_version_info']

0 commit comments

Comments
 (0)