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

Allow for mmcv 2.1.0 to fix install on colab #937

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ conda create -n mmyolo python=3.8 pytorch==1.10.1 torchvision==0.11.2 cudatoolki
conda activate mmyolo
pip install openmim
mim install "mmengine>=0.6.0"
mim install "mmcv>=2.0.0rc4,<2.1.0"
mim install "mmcv>=2.0.0rc4,<=2.1.0"
mim install "mmdet>=3.0.0,<4.0.0"
git clone https://github.com/open-mmlab/mmyolo.git
cd mmyolo
Expand Down
2 changes: 1 addition & 1 deletion README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ conda create -n mmyolo python=3.8 pytorch==1.10.1 torchvision==0.11.2 cudatoolki
conda activate mmyolo
pip install openmim
mim install "mmengine>=0.6.0"
mim install "mmcv>=2.0.0rc4,<2.1.0"
mim install "mmcv>=2.0.0rc4,<=2.1.0"
mim install "mmdet>=3.0.0,<4.0.0"
git clone https://github.com/open-mmlab/mmyolo.git
cd mmyolo
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apt-get update \

# Install MMEngine , MMCV and MMDet
RUN pip install --no-cache-dir openmim && \
mim install --no-cache-dir "mmengine>=0.6.0" "mmcv>=2.0.0rc4,<2.1.0" "mmdet>=3.0.0,<4.0.0"
mim install --no-cache-dir "mmengine>=0.6.0" "mmcv>=2.0.0rc4,<=2.1.0" "mmdet>=3.0.0,<4.0.0"

# Install MMYOLO
RUN git clone https://github.com/open-mmlab/mmyolo.git /mmyolo && \
Expand Down
2 changes: 1 addition & 1 deletion docs/en/get_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```shell
pip install -U openmim
mim install "mmengine>=0.6.0"
mim install "mmcv>=2.0.0rc4,<2.1.0"
mim install "mmcv>=2.0.0rc4,<=2.1.0"
mim install "mmdet>=3.0.0,<4.0.0"
```

Expand Down
2 changes: 1 addition & 1 deletion docs/en/tutorials/custom_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ thus we only need to install MMEngine, MMCV, MMDetection, and MMYOLO with the fo
```shell
!pip3 install openmim
!mim install "mmengine>=0.6.0"
!mim install "mmcv>=2.0.0rc4,<2.1.0"
!mim install "mmcv>=2.0.0rc4,<=2.1.0"
!mim install "mmdet>=3.0.0,<4.0.0"
```

Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/get_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```shell
pip install -U openmim
mim install "mmengine>=0.6.0"
mim install "mmcv>=2.0.0rc4,<2.1.0"
mim install "mmcv>=2.0.0rc4,<=2.1.0"
mim install "mmdet>=3.0.0,<4.0.0"
```

Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/tutorials/custom_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pip install "mmcv>=2.0.0rc4" -f https://download.openmmlab.com/mmcv/dist/cu116/t
```shell
!pip3 install openmim
!mim install "mmengine>=0.6.0"
!mim install "mmcv>=2.0.0rc4,<2.1.0"
!mim install "mmcv>=2.0.0rc4,<=2.1.0"
!mim install "mmdet>=3.0.0,<4.0.0"
```

Expand Down
2 changes: 1 addition & 1 deletion mmyolo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


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}.'

Expand Down
2 changes: 1 addition & 1 deletion requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
docutils==0.16.0
mmcv>=2.0.0rc4,<2.1.0
mmcv>=2.0.0rc4,<=2.1.0
mmdet>=3.0.0
mmengine>=0.7.1
myst-parser
Expand Down
2 changes: 1 addition & 1 deletion requirements/mminstall.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mmcv>=2.0.0rc4,<2.1.0
mmcv>=2.0.0rc4,<=2.1.0
mmdet>=3.0.0
mmengine>=0.7.1