Skip to content

Commit 2542848

Browse files
[Fix] Fix the configs of STARK on LaSOT and update mminstall.md (#572)
* fix the bug of configs of Stark on lasot * update the mminstall.md * fix ci
1 parent c250394 commit 2542848

File tree

4 files changed

+23
-15
lines changed

4 files changed

+23
-15
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -227,26 +227,26 @@ jobs:
227227
with:
228228
python-version: ${{ matrix.python }}
229229
- name: Upgrade pip
230-
run: pip install pip --upgrade --user
230+
run: python -m pip install pip --upgrade --user
231231
- name: Install PyTorch
232232
# 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
234234
- 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
236236
- name: Install MMCV
237237
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
239239
- name: Install mmdet
240240
run: |
241-
pip install mmdet
241+
python -m pip install mmdet
242242
- name: Install unittest dependencies
243243
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
248248
- name: Build and install
249-
run: pip install -e .
249+
run: python -m pip install -e .
250250
- name: Run unittests
251251
run: |
252252
coverage run --branch --source mmtrack -m pytest tests/

configs/sot/stark/stark_st1_r50_500e_lasot.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,8 @@
8383
pipeline=train_pipeline,
8484
split='train',
8585
test_mode=False)
86-
]))
86+
]),
87+
test=dict(
88+
type='LaSOTDataset',
89+
ann_file=data_root + 'lasot/annotations/lasot_test_infos.txt',
90+
img_prefix=data_root + 'lasot/LaSOTBenchmark'))

configs/sot/stark/stark_st2_r50_50e_lasot.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,8 @@
8686
pipeline=train_pipeline,
8787
split='train',
8888
test_mode=False)
89-
]))
89+
]),
90+
test=dict(
91+
type='LaSOTDataset',
92+
ann_file=data_root + 'lasot/annotations/lasot_test_infos.txt',
93+
img_prefix=data_root + 'lasot/LaSOTBenchmark'))

requirements/mminstall.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
mmcls>=0.14.0
2-
mmcv-full>=1.3.8,<1.4.0
3-
mmdet>=2.14.0,<3.0.0
1+
mmcls>=0.16.0
2+
mmcv-full>=1.3.17,<1.6.0
3+
mmdet>=2.19.1,<3.0.0

0 commit comments

Comments
 (0)