diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7162efca6..3a383ec28 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/requirements/runtime.txt b/requirements/runtime.txt index 451637f23..db5d81e01 100644 --- a/requirements/runtime.txt +++ b/requirements/runtime.txt @@ -1,3 +1,2 @@ matplotlib -mmcv>=1.1.4 numpy