Update doc install (#3609)

* Fix documentation, update installation doc

* Update trouble shooting

* Change mmcv version to 1.0.5 in CI

* Update requirements

* Test mmcv 1.1.0

* Update CI requirements

* Support mmcv 1.1.1
pull/3592/head
Wenwei Zhang 5 years ago committed by GitHub
parent 4b6ff75b86
commit 777dc96bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      .github/workflows/build.yml
  2. 2
      docs/install.md
  3. 2
      mmdet/__init__.py

@ -49,7 +49,7 @@ jobs:
- name: Install PyTorch
run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
- name: Install MMCV
run: pip install mmcv-full==1.0.5+torch${{matrix.torch}}+cpu -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html
run: pip install mmcv-full==latest+torch${{matrix.torch}}+cpu -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html
- name: Install unittest dependencies
run: pip install -r requirements/tests.txt -r requirements/optional.txt
- name: Build and install
@ -74,20 +74,20 @@ jobs:
include:
- torch: 1.3.1
torchvision: 0.4.2
mmcv: "1.0.5+torch1.3.0+cu101"
mmcv: "latest+torch1.3.0+cu101"
- torch: 1.5.1+cu101
torchvision: 0.6.1+cu101
mmcv: "1.0.5+torch1.5.0+cu101"
mmcv: "latest+torch1.5.0+cu101"
- torch: 1.6.0+cu101
torchvision: 0.7.0+cu101
mmcv: "1.0.5+torch1.6.0+cu101"
mmcv: "latest+torch1.6.0+cu101"
- torch: 1.6.0+cu101
torchvision: 0.7.0+cu101
mmcv: "1.0.5+torch1.6.0+cu101"
mmcv: "latest+torch1.6.0+cu101"
python-version: 3.6
- torch: 1.6.0+cu101
torchvision: 0.7.0+cu101
mmcv: "1.0.5+torch1.6.0+cu101"
mmcv: "latest+torch1.6.0+cu101"
python-version: 3.8
steps:

@ -72,7 +72,7 @@ pip install mmcv-full
| MMDetection version | MMCV version |
|:-------------------:|:-------------------:|
| master | mmcv-full>=1.0.5, <1.1.0|
| master | mmcv-full>=1.0.5, <=1.1.1|
| 2.3.0 | mmcv-full==1.0.5|
| 2.3.0rc0 | mmcv-full>=1.0.2 |
| 2.2.1 | mmcv==0.6.2 |

@ -16,7 +16,7 @@ def digit_version(version_str):
mmcv_minimum_version = '1.0.5'
mmcv_maximum_version = '1.0.5'
mmcv_maximum_version = '1.1.1'
mmcv_version = digit_version(mmcv.__version__)

Loading…
Cancel
Save