From 09fb5bf5e8512bf3401be32003176d9916d164e2 Mon Sep 17 00:00:00 2001 From: JohnConnor123 <106041597+JohnConnor123@users.noreply.github.com> Date: Thu, 13 Jun 2024 02:44:04 +0300 Subject: [PATCH] Update __init__.py Fixed a bug due to which mmdet was not installed for some Windows 10 users. --- 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}.'