Do not install mmcv through requirements (#90)

* Delete the mmcv requirement to support mmcv-full installed environment

* install mmcv in CI

* fix mmcv version error

Co-authored-by: Xinran <lixinran@sensetime.com>
This commit is contained in:
Wenwei Zhang 2020-11-19 00:00:12 +08:00 committed by GitHub
parent 7636409b3b
commit fe45b241c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -56,6 +56,10 @@ jobs:
if: ${{matrix.torchvision < 0.5}}
- name: Install PyTorch
run: pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
- name: Install MMCV
run: |
pip install mmcv-full==latest+torch${{matrix.torch}} -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html
python -c 'import mmcv; print(mmcv.__version__)'
- name: Install mmcls dependencies
run: |
pip install -r requirements.txt

View File

@ -1,3 +1,2 @@
matplotlib
mmcv>=1.1.4
numpy