"torchvision/vscode:/vscode.git/clone" did not exist on "6e10e3f88158f12b7a304d3c2f803d2bbdde0823"
Unverified Commit d61476a2 authored by Ziyi Wu's avatar Ziyi Wu Committed by GitHub
Browse files

[Fix] Fix MMSeg max version (#656)

* remove mmseg max ver limit

* install mmdet 2.11.0

* mmseg < 0.14.1

* change mmseg to mmsegmentation

* fix mmseg to 0.14.0
parent 04156899
...@@ -92,7 +92,7 @@ jobs: ...@@ -92,7 +92,7 @@ jobs:
run: | run: |
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/${{matrix.torch_version}}/index.html pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/${{matrix.torch_version}}/index.html
pip install mmdet==2.11.0 pip install mmdet==2.11.0
pip install -q git+https://github.com/open-mmlab/mmsegmentation.git pip install mmsegmentation==0.14.0
pip install -r requirements.txt pip install -r requirements.txt
- name: Build and install - name: Build and install
run: | run: |
......
...@@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build ...@@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build
# Install MMCV, MMDetection and MMSegmentation # Install MMCV, MMDetection and MMSegmentation
RUN pip install mmcv-full==latest+torch1.6.0+cu101 -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html RUN pip install mmcv-full==latest+torch1.6.0+cu101 -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html
RUN pip install mmdet==2.11.0 RUN pip install mmdet==2.11.0
RUN pip install mmsegmentation==0.13.0 RUN pip install mmsegmentation==0.14.0
# Install MMDetection3D # Install MMDetection3D
RUN conda clean --all RUN conda clean --all
......
...@@ -12,8 +12,8 @@ The required versions of MMCV, MMDetection and MMSegmentation for different vers ...@@ -12,8 +12,8 @@ The required versions of MMCV, MMDetection and MMSegmentation for different vers
| MMDetection3D version | MMDetection version | MMSegmentation version | MMCV version | | MMDetection3D version | MMDetection version | MMSegmentation version | MMCV version |
|:-------------------:|:-------------------:|:-------------------:|:-------------------:| |:-------------------:|:-------------------:|:-------------------:|:-------------------:|
| master | mmdet>=2.10.0, <=2.11.0| mmseg>=0.13.0 | mmcv-full>=1.3.1, <=1.4| | master | mmdet>=2.10.0, <=2.11.0| mmseg==0.14.0 | mmcv-full>=1.3.1, <=1.4|
| 0.14.0 | mmdet>=2.10.0, <=2.11.0| mmseg>=0.13.0 | mmcv-full>=1.3.1, <=1.4| | 0.14.0 | mmdet>=2.10.0, <=2.11.0| mmseg==0.14.0 | mmcv-full>=1.3.1, <=1.4|
| 0.13.0 | mmdet>=2.10.0, <=2.11.0| Not required | mmcv-full>=1.2.4, <=1.4| | 0.13.0 | mmdet>=2.10.0, <=2.11.0| Not required | mmcv-full>=1.2.4, <=1.4|
| 0.12.0 | mmdet>=2.5.0, <=2.11.0 | Not required | mmcv-full>=1.2.4, <=1.4| | 0.12.0 | mmdet>=2.5.0, <=2.11.0 | Not required | mmcv-full>=1.2.4, <=1.4|
| 0.11.0 | mmdet>=2.5.0, <=2.11.0 | Not required | mmcv-full>=1.2.4, <=1.4| | 0.11.0 | mmdet>=2.5.0, <=2.11.0 | Not required | mmcv-full>=1.2.4, <=1.4|
...@@ -99,7 +99,7 @@ Note: ...@@ -99,7 +99,7 @@ Note:
MMDetection3D v0.14.0 is only compatible with MMDetection version `mmdet>=2.10.0, <=2.11.0`. The future versions will only support `mmdet>=2.12.0` since v0.15.0 (to be released in July). MMDetection3D v0.14.0 is only compatible with MMDetection version `mmdet>=2.10.0, <=2.11.0`. The future versions will only support `mmdet>=2.12.0` since v0.15.0 (to be released in July).
```shell ```shell
pip install git+https://github.com/open-mmlab/mmdetection.git pip install mmdet==2.11.0
``` ```
Optionally, you could also build MMDetection from source in case you want to modify the code: Optionally, you could also build MMDetection from source in case you want to modify the code:
...@@ -107,6 +107,7 @@ Optionally, you could also build MMDetection from source in case you want to mod ...@@ -107,6 +107,7 @@ Optionally, you could also build MMDetection from source in case you want to mod
```shell ```shell
git clone https://github.com/open-mmlab/mmdetection.git git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection cd mmdetection
git checkout v2.11.0 # switch to v2.11.0 branch
pip install -r requirements/build.txt pip install -r requirements/build.txt
pip install -v -e . # or "python setup.py develop" pip install -v -e . # or "python setup.py develop"
``` ```
...@@ -114,7 +115,7 @@ pip install -v -e . # or "python setup.py develop" ...@@ -114,7 +115,7 @@ pip install -v -e . # or "python setup.py develop"
**e. Install [MMSegmentation](https://github.com/open-mmlab/mmsegmentation).** **e. Install [MMSegmentation](https://github.com/open-mmlab/mmsegmentation).**
```shell ```shell
pip install git+https://github.com/open-mmlab/mmsegmentation.git pip install mmsegmentation==0.14.0
``` ```
Optionally, you could also build MMSegmentation from source in case you want to modify the code: Optionally, you could also build MMSegmentation from source in case you want to modify the code:
...@@ -122,6 +123,7 @@ Optionally, you could also build MMSegmentation from source in case you want to ...@@ -122,6 +123,7 @@ Optionally, you could also build MMSegmentation from source in case you want to
```shell ```shell
git clone https://github.com/open-mmlab/mmsegmentation.git git clone https://github.com/open-mmlab/mmsegmentation.git
cd mmsegmentation cd mmsegmentation
git checkout v0.14.0 # switch to v0.14.0 branch
pip install -e . # or "python setup.py develop" pip install -e . # or "python setup.py develop"
``` ```
......
...@@ -36,7 +36,7 @@ assert (mmdet_version >= digit_version(mmdet_minimum_version) ...@@ -36,7 +36,7 @@ assert (mmdet_version >= digit_version(mmdet_minimum_version)
f'Please install mmdet>={mmdet_minimum_version}, ' \ f'Please install mmdet>={mmdet_minimum_version}, ' \
f'<={mmdet_maximum_version}.' f'<={mmdet_maximum_version}.'
mmseg_minimum_version = '0.13.0' mmseg_minimum_version = '0.14.0'
mmseg_maximum_version = '0.14.0' mmseg_maximum_version = '0.14.0'
mmseg_version = digit_version(mmseg.__version__) mmseg_version = digit_version(mmseg.__version__)
assert (mmseg_version >= digit_version(mmseg_minimum_version) assert (mmseg_version >= digit_version(mmseg_minimum_version)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment