From 2b97c52d39324fadd81235e01649e9b01956b07d Mon Sep 17 00:00:00 2001 From: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Date: Mon, 24 Oct 2022 10:29:56 +0800 Subject: [PATCH] Bump version to v2.0.0rc2 (#2349) * Bump version to v2.0.0rc2 * minor refine --- mmcv/image/geometric.py | 7 ------- mmcv/version.py | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/mmcv/image/geometric.py b/mmcv/image/geometric.py index a5d0f8fa36..88fb63693a 100644 --- a/mmcv/image/geometric.py +++ b/mmcv/image/geometric.py @@ -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 @@ -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] diff --git a/mmcv/version.py b/mmcv/version.py index 94665a2c66..0b65e31b70 100644 --- a/mmcv/version.py +++ b/mmcv/version.py @@ -1,5 +1,5 @@ # Copyright (c) OpenMMLab. All rights reserved. -__version__ = '2.0.0rc1' +__version__ = '2.0.0rc2' 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: return tuple(release) -version_info = (2, 0, 0, 0, 'rc', 1) +version_info = (2, 0, 0, 0, 'rc', 2) __all__ = ['__version__', 'version_info', 'parse_version_info']