"tests/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "cd1b8d7ca8de01aa58476eb311a45091b423358e"
Unverified Commit 2d9b97bc authored by hjin2902's avatar hjin2902 Committed by GitHub
Browse files

[Refactor]: update mmcv install method (#461)

parent d4d7af24
...@@ -41,18 +41,22 @@ jobs: ...@@ -41,18 +41,22 @@ jobs:
torch: [1.5.0+cu101, 1.6.0+cu101, 1.7.0+cu101, 1.8.0+cu101] torch: [1.5.0+cu101, 1.6.0+cu101, 1.7.0+cu101, 1.8.0+cu101]
include: include:
- torch: 1.5.0+cu101 - torch: 1.5.0+cu101
torch_version: torch1.5.0
torchvision: 0.6.0+cu101 torchvision: 0.6.0+cu101
mmcv: 1.5.0+cu101 mmcv: 1.5.0+cu101
cuda_arch: "7.0" cuda_arch: "7.0"
- torch: 1.6.0+cu101 - torch: 1.6.0+cu101
torch_version: torch1.6.0
mmcv: 1.6.0+cu101 mmcv: 1.6.0+cu101
torchvision: 0.7.0+cu101 torchvision: 0.7.0+cu101
cuda_arch: "7.0" cuda_arch: "7.0"
- torch: 1.7.0+cu101 - torch: 1.7.0+cu101
torch_version: torch1.7.0
mmcv: 1.7.0+cu101 mmcv: 1.7.0+cu101
torchvision: 0.8.1+cu101 torchvision: 0.8.1+cu101
cuda_arch: "7.0" cuda_arch: "7.0"
- torch: 1.8.0+cu101 - torch: 1.8.0+cu101
torch_version: torch1.8.0
mmcv: 1.8.0+cu101 mmcv: 1.8.0+cu101
torchvision: 0.9.0+cu101 torchvision: 0.9.0+cu101
cuda_arch: "7.0" cuda_arch: "7.0"
...@@ -86,7 +90,7 @@ jobs: ...@@ -86,7 +90,7 @@ jobs:
run: pip install numpy==1.19.5 torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html run: pip install numpy==1.19.5 torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
- name: Install mmdet3d dependencies - name: Install mmdet3d dependencies
run: | run: |
pip install mmcv-full==latest+torch${{matrix.mmcv}} -f https://download.openmmlab.com/mmcv/dist/index.html --use-deprecated=legacy-resolver pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/${{matrix.torch_version}}/index.html
pip install -q git+https://github.com/open-mmlab/mmdetection.git pip install -q git+https://github.com/open-mmlab/mmdetection.git
pip install -r requirements.txt pip install -r requirements.txt
- name: Build and install - name: Build and install
......
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