Skip to content

Commit 012ee80

Browse files
authored
Introduce the 1.0.0rc0 version of MMTracking (#725)
* Introduce the 1.0.0rc0 version of MMTracking * fix typo
1 parent 349978d commit 012ee80

File tree

2 files changed

+157
-154
lines changed

2 files changed

+157
-154
lines changed

.circleci/config.yml

Lines changed: 151 additions & 151 deletions
Original file line numberDiff line numberDiff line change
@@ -1,152 +1,152 @@
1-
version: 2.1
1+
# version: 2.1
22

3-
jobs:
4-
lint:
5-
docker:
6-
- image: cimg/python:3.7.4
7-
steps:
8-
- checkout
9-
- run:
10-
name: Install pre-commit hook
11-
command: |
12-
pip install pre-commit
13-
pre-commit install
14-
- run:
15-
name: Linting
16-
command: pre-commit run --all-files
17-
- run:
18-
name: Check docstring coverage
19-
command: |
20-
pip install interrogate
21-
interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-regex "__repr__" --fail-under 50 mmtrack
22-
build_cpu:
23-
parameters:
24-
# The python version must match available image tags in
25-
# https://circleci.com/developer/images/image/cimg/python
26-
python:
27-
type: string
28-
default: "3.7.4"
29-
torch:
30-
type: string
31-
torchvision:
32-
type: string
33-
docker:
34-
- image: cimg/python:<< parameters.python >>
35-
resource_class: large
36-
steps:
37-
- checkout
38-
- run:
39-
name: Install Libraries
40-
command: |
41-
sudo apt-get update
42-
sudo apt-get install -y ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx libjpeg-dev zlib1g-dev libtinfo-dev libncurses5
43-
- run:
44-
name: Configure Python & pip
45-
command: |
46-
python -m pip install --upgrade pip
47-
python -m pip install wheel
48-
- run:
49-
name: Install PyTorch
50-
command: |
51-
python -V
52-
python -m pip install torch==<< parameters.torch >>+cpu torchvision==<< parameters.torchvision >>+cpu -f https://download.pytorch.org/whl/torch_stable.html
53-
- run:
54-
name: Install mmtrack dependencies
55-
command: |
56-
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch<< parameters.torch >>/index.html
57-
python -m pip install mmdet
58-
python -m pip install -r requirements.txt
59-
python -m pip install git+https://github.com/votchallenge/toolkit.git
60-
- run:
61-
name: Build and install
62-
command: |
63-
python -m pip install -e .
64-
- run:
65-
name: Run unittests
66-
command: |
67-
python -m coverage run --branch --source mmtrack -m pytest tests/
68-
python -m coverage xml
69-
python -m coverage report -m
70-
build_cu101:
71-
machine:
72-
image: ubuntu-1604-cuda-10.1:201909-23
73-
resource_class: gpu.nvidia.small
74-
steps:
75-
- checkout
76-
- run:
77-
name: Install Libraries
78-
command: |
79-
sudo apt-get update
80-
sudo apt-get install -y git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx
81-
- run:
82-
name: Configure Python & pip
83-
command: |
84-
pyenv global 3.7.0
85-
python -m pip install --upgrade pip
86-
python -m pip install wheel
87-
- run:
88-
name: Install PyTorch
89-
command: |
90-
python -V
91-
python -m pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
92-
- run:
93-
name: Install mmtrack dependencies
94-
# python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch${{matrix.torch_version}}/index.html
95-
command: |
96-
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
97-
python -m pip install mmdet
98-
python -m pip install -r requirements.txt
99-
python -m pip install git+https://github.com/votchallenge/toolkit.git
100-
- run:
101-
name: Build and install
102-
command: |
103-
python setup.py check -m -s
104-
TORCH_CUDA_ARCH_LIST=7.0 python -m pip install -e .
105-
- run:
106-
name: Run unittests
107-
command: |
108-
python -m pytest tests/
109-
workflows:
110-
unit_tests:
111-
jobs:
112-
- lint
113-
- build_cpu:
114-
name: build_cpu_th1.6
115-
torch: 1.6.0
116-
torchvision: 0.7.0
117-
requires:
118-
- lint
119-
- build_cpu:
120-
name: build_cpu_th1.7
121-
torch: 1.7.0
122-
torchvision: 0.8.1
123-
requires:
124-
- lint
125-
- build_cpu:
126-
name: build_cpu_th1.8_py3.9
127-
torch: 1.8.0
128-
torchvision: 0.9.0
129-
python: "3.9.0"
130-
requires:
131-
- lint
132-
- build_cpu:
133-
name: build_cpu_th1.9_py3.8
134-
torch: 1.9.0
135-
torchvision: 0.10.0
136-
python: "3.8.0"
137-
requires:
138-
- lint
139-
- build_cpu:
140-
name: build_cpu_th1.9_py3.9
141-
torch: 1.9.0
142-
torchvision: 0.10.0
143-
python: "3.9.0"
144-
requires:
145-
- lint
146-
- build_cu101:
147-
requires:
148-
- build_cpu_th1.6
149-
- build_cpu_th1.7
150-
- build_cpu_th1.8_py3.9
151-
- build_cpu_th1.9_py3.8
152-
- build_cpu_th1.9_py3.9
3+
# jobs:
4+
# lint:
5+
# docker:
6+
# - image: cimg/python:3.7.4
7+
# steps:
8+
# - checkout
9+
# - run:
10+
# name: Install pre-commit hook
11+
# command: |
12+
# pip install pre-commit
13+
# pre-commit install
14+
# - run:
15+
# name: Linting
16+
# command: pre-commit run --all-files
17+
# - run:
18+
# name: Check docstring coverage
19+
# command: |
20+
# pip install interrogate
21+
# interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-regex "__repr__" --fail-under 50 mmtrack
22+
# build_cpu:
23+
# parameters:
24+
# # The python version must match available image tags in
25+
# # https://circleci.com/developer/images/image/cimg/python
26+
# python:
27+
# type: string
28+
# default: "3.7.4"
29+
# torch:
30+
# type: string
31+
# torchvision:
32+
# type: string
33+
# docker:
34+
# - image: cimg/python:<< parameters.python >>
35+
# resource_class: large
36+
# steps:
37+
# - checkout
38+
# - run:
39+
# name: Install Libraries
40+
# command: |
41+
# sudo apt-get update
42+
# sudo apt-get install -y ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx libjpeg-dev zlib1g-dev libtinfo-dev libncurses5
43+
# - run:
44+
# name: Configure Python & pip
45+
# command: |
46+
# python -m pip install --upgrade pip
47+
# python -m pip install wheel
48+
# - run:
49+
# name: Install PyTorch
50+
# command: |
51+
# python -V
52+
# python -m pip install torch==<< parameters.torch >>+cpu torchvision==<< parameters.torchvision >>+cpu -f https://download.pytorch.org/whl/torch_stable.html
53+
# - run:
54+
# name: Install mmtrack dependencies
55+
# command: |
56+
# python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch<< parameters.torch >>/index.html
57+
# python -m pip install mmdet
58+
# python -m pip install -r requirements.txt
59+
# python -m pip install git+https://github.com/votchallenge/toolkit.git
60+
# - run:
61+
# name: Build and install
62+
# command: |
63+
# python -m pip install -e .
64+
# - run:
65+
# name: Run unittests
66+
# command: |
67+
# python -m coverage run --branch --source mmtrack -m pytest tests/
68+
# python -m coverage xml
69+
# python -m coverage report -m
70+
# build_cu101:
71+
# machine:
72+
# image: ubuntu-1604-cuda-10.1:201909-23
73+
# resource_class: gpu.nvidia.small
74+
# steps:
75+
# - checkout
76+
# - run:
77+
# name: Install Libraries
78+
# command: |
79+
# sudo apt-get update
80+
# sudo apt-get install -y git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx
81+
# - run:
82+
# name: Configure Python & pip
83+
# command: |
84+
# pyenv global 3.7.0
85+
# python -m pip install --upgrade pip
86+
# python -m pip install wheel
87+
# - run:
88+
# name: Install PyTorch
89+
# command: |
90+
# python -V
91+
# python -m pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
92+
# - run:
93+
# name: Install mmtrack dependencies
94+
# # python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch${{matrix.torch_version}}/index.html
95+
# command: |
96+
# python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
97+
# python -m pip install mmdet
98+
# python -m pip install -r requirements.txt
99+
# python -m pip install git+https://github.com/votchallenge/toolkit.git
100+
# - run:
101+
# name: Build and install
102+
# command: |
103+
# python setup.py check -m -s
104+
# TORCH_CUDA_ARCH_LIST=7.0 python -m pip install -e .
105+
# - run:
106+
# name: Run unittests
107+
# command: |
108+
# python -m pytest tests/
109+
# workflows:
110+
# unit_tests:
111+
# jobs:
112+
# - lint
113+
# - build_cpu:
114+
# name: build_cpu_th1.6
115+
# torch: 1.6.0
116+
# torchvision: 0.7.0
117+
# requires:
118+
# - lint
119+
# - build_cpu:
120+
# name: build_cpu_th1.7
121+
# torch: 1.7.0
122+
# torchvision: 0.8.1
123+
# requires:
124+
# - lint
125+
# - build_cpu:
126+
# name: build_cpu_th1.8_py3.9
127+
# torch: 1.8.0
128+
# torchvision: 0.9.0
129+
# python: "3.9.0"
130+
# requires:
131+
# - lint
132+
# - build_cpu:
133+
# name: build_cpu_th1.9_py3.8
134+
# torch: 1.9.0
135+
# torchvision: 0.10.0
136+
# python: "3.8.0"
137+
# requires:
138+
# - lint
139+
# - build_cpu:
140+
# name: build_cpu_th1.9_py3.9
141+
# torch: 1.9.0
142+
# torchvision: 0.10.0
143+
# python: "3.9.0"
144+
# requires:
145+
# - lint
146+
# - build_cu101:
147+
# requires:
148+
# - build_cpu_th1.6
149+
# - build_cpu_th1.7
150+
# - build_cpu_th1.8_py3.9
151+
# - build_cpu_th1.9_py3.8
152+
# - build_cpu_th1.9_py3.9

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,13 @@ The master branch works with **PyTorch1.5+**.
6969

7070
## What's New
7171

72-
- Release [OC-SORT](configs/mot/ocsort/) pretrained models.
72+
We release MMTracking 1.0.0rc0, the first version of MMTracking 1.x.
7373

74-
v0.13.0 was released in 29/04/2022.
75-
Please refer to [changelog.md](docs/en/changelog.md) for details and release history.
74+
Built upon the new [training engine](https://github.com/open-mmlab/mmengine), MMTracking 1.x unifies the interfaces of datasets, models, evaluation, and visualization.
75+
76+
We also support more methods in MMTracking 1.x, such as [StrongSORT](https://github.com/open-mmlab/mmtracking/tree/dev-1.x/configs/mot/strongsort) for MOT, [Mask2Former](https://github.com/open-mmlab/mmtracking/tree/dev-1.x/configs/vis/mask2former) for VIS, [PrDiMP](https://github.com/open-mmlab/mmtracking/tree/dev-1.x/configs/sot/prdimp) for SOT.
77+
78+
Please refer to [dev-1.x](https://github.com/open-mmlab/mmtracking/tree/dev-1.x) branch for the using of MMTracking 1.x.
7679

7780
## Installation
7881

0 commit comments

Comments
 (0)