@@ -227,26 +227,26 @@ jobs:
227
227
with :
228
228
python-version : ${{ matrix.python }}
229
229
- name : Upgrade pip
230
- run : pip install pip --upgrade --user
230
+ run : python -m pip install pip --upgrade --user
231
231
- name : Install PyTorch
232
232
# As a complement to Linux CI, we test on PyTorch LTS version
233
- run : pip install torch==1.8.2+${{ matrix.platform }} torchvision==0.9.2+${{ matrix.platform }} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
233
+ run : python -m pip install torch==1.8.2+${{ matrix.platform }} torchvision==0.9.2+${{ matrix.platform }} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
234
234
- name : Install votchallenge toolkit
235
- run : pip install git+https://github.com/votchallenge/toolkit.git
235
+ run : python -m pip install git+https://github.com/votchallenge/toolkit.git
236
236
- name : Install MMCV
237
237
run : |
238
- pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.8/index.html --only-binary mmcv-full
238
+ python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.8/index.html --only-binary mmcv-full
239
239
- name : Install mmdet
240
240
run : |
241
- pip install mmdet
241
+ python -m pip install mmdet
242
242
- name : Install unittest dependencies
243
243
run : |
244
- pip install -r requirements/tests.txt -r requirements/runtime.txt
245
- pip install git+https://github.com/JonathonLuiten/TrackEval.git
246
- pip install git+https://github.com/lvis-dataset/lvis-api.git
247
- pip install git+https://github.com/TAO-Dataset/tao.git
244
+ python -m pip install -r requirements/tests.txt -r requirements/runtime.txt
245
+ python -m pip install git+https://github.com/JonathonLuiten/TrackEval.git
246
+ python -m pip install git+https://github.com/lvis-dataset/lvis-api.git
247
+ python -m pip install git+https://github.com/TAO-Dataset/tao.git
248
248
- name : Build and install
249
- run : pip install -e .
249
+ run : python -m pip install -e .
250
250
- name : Run unittests
251
251
run : |
252
252
coverage run --branch --source mmtrack -m pytest tests/
0 commit comments