This commit is contained in:
BIGWangYuDong 2022-05-18 22:05:47 +08:00
parent a4d8ff024b
commit 3f3d9c27b1

View File

@ -113,13 +113,14 @@ jobs:
apt-get clean apt-get clean
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
- name: Install Pillow - name: Install Pillow
run: python -m pip install Pillow==6.2.2 run: pip install Pillow==6.2.2
if: ${{matrix.torchvision < 0.5}} if: ${{matrix.torchvision < 0.5}}
- name: Install PyTorch - name: Install PyTorch
run: python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html run: pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
- name: Install MMCV - name: Install MMCV
run: | run: |
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch${{matrix.mmcv}}/index.html pip install mim
mim install mmcv-full
pip install -r requirements.txt pip install -r requirements.txt
python -c 'import mmcv; print(mmcv.__version__)' python -c 'import mmcv; print(mmcv.__version__)'
- name: Install MMCLS and MMDET - name: Install MMCLS and MMDET