From 6292193e68b46e80dde36b2bb3b9c0728480ae72 Mon Sep 17 00:00:00 2001 From: jhj0517 <97279763+jhj0517@users.noreply.github.com> Date: Tue, 4 Jun 2024 00:41:58 +0900 Subject: [PATCH] loosen version constraint with mmcv --- mmdet/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdet/__init__.py b/mmdet/__init__.py index 3ac884ac8b4..fe34904642d 100644 --- a/mmdet/__init__.py +++ b/mmdet/__init__.py @@ -14,7 +14,7 @@ mmengine_version = digit_version(mmengine.__version__) assert (mmcv_version >= digit_version(mmcv_minimum_version) - and mmcv_version < digit_version(mmcv_maximum_version)), \ + and mmcv_version <= digit_version(mmcv_maximum_version)), \ f'MMCV=={mmcv.__version__} is used but incompatible. ' \ f'Please install mmcv>={mmcv_minimum_version}, <{mmcv_maximum_version}.'