mirror of
https://github.com/open-mmlab/mmpretrain.git
synced 2025-06-03 14:59:18 +08:00
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:
parent
7636409b3b
commit
fe45b241c5
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -1,3 +1,2 @@
|
||||
matplotlib
|
||||
mmcv>=1.1.4
|
||||
numpy
|
||||
|
Loading…
x
Reference in New Issue
Block a user