Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mmcv version #345

Merged
merged 2 commits into from
Nov 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mmtrack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from .version import __version__, version_info

MMCV_MIN = '1.3.8'
MMCV_MAX = '1.4.0'
MMCV_MAX = '1.5.0'

MMDET_MIN = '2.14.0'

Expand Down Expand Up @@ -58,9 +58,9 @@ def digit_version(version_str: str, length: int = 4):
mmcv_version = digit_version(mmcv.__version__)


assert (mmcv_min_version <= mmcv_version < mmcv_max_version), \
assert (mmcv_min_version <= mmcv_version <= mmcv_max_version), \
f'MMCV=={mmcv.__version__} is used but incompatible. ' \
f'Please install mmcv>={MMCV_MIN}, <{MMCV_MAX}.'
f'Please install mmcv>={MMCV_MIN}, <={MMCV_MAX}.'

mmdet_min_version = digit_version(MMDET_MIN)
mmdet_version = digit_version(mmdet.__version__)
Expand Down