From 270c293c9b4bfa90211ccab212d55ccd27bdc09f Mon Sep 17 00:00:00 2001 From: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Date: Tue, 1 Nov 2022 17:33:54 +0800 Subject: [PATCH] Bump version to v1.7.0 (#2362) * Bump version to v1.7.0 * remove deprecated message --- mmcv/image/geometric.py | 7 ------- mmcv/version.py | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/mmcv/image/geometric.py b/mmcv/image/geometric.py index 622e181f69..b8a3cb1062 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 7f1c0b9b98..0ad735f0c5 100644 --- a/mmcv/version.py +++ b/mmcv/version.py @@ -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: