8000 Reid pose by huynhspm · Pull Request #849 · open-mmlab/mmtracking · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reid pose #849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 165 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
3c6ac56
add 17 mmtrack registry
GT9505 May 10, 2022 8000
17c8d57
[Refactor] Rename tests to tests_deprecated
GT9505 May 11, 2022
61dc727
[Feature] Support Gitlab CI
GT9505 May 11, 2022
8cc4015
[add] add data for ut in tests_deprecated/
GT9505 May 11, 2022
0f701c7
[Feature] Support base video dataset
GT9505 May 11, 2022
9429cf1
[Feature] Support MOT challenge dataset
May 12, 2022
574dd1e
[Feature] Support BaseSOTDataset and LaSOTDataset
May 13, 2022
44bfb8e
[Feature] Support ReID Dataset
dyhBUPT May 13, 2022
4fbb03d
[Refactor] Refactor the shared transforms
GT9505 May 15, 2022
64149b7
fix typo
May 13, 2022
aedfa6e
[Feature] Support YouTube VIS dataset
May 16, 2022
32212b2
[Refactor] Refactor GOT10kDataset、TrackingNetDataset、SOTCocoDataset a…
May 16, 2022
e34f328
Add TrackDataSample and PackTrackInputs
GT9505 May 17, 2022
d6baebb
[Feature] Support ImageNet VID Dataset
May 19, 2022
8555277
[Feature]Support ReID pipeline.
dyhBUPT May 19, 2022
0e3644a
Add key image sampler in base_video_dataset
May 20, 2022
c2f77bb
Refactor DFF
GT9505 May 20, 2022
3244ea2
Merge ConcatSameTypeFrames into PackTrackInputs
May 20, 2022
c3e0e06
[Fix] Fix bugs of names of keys in PackTrackInputs and image path joi…
May 20, 2022
69e2672
[Feature]Support ReID Metrics.
dyhBUPT May 23, 2022
23d6617
[Refactor] Refactor the pipeline of SiamRPN++
May 23, 2022
46c13f5
[Refactor] Refactor YOLOXModeSwitchHook
May 24, 2022
ef88484
Add video sampler & base video metrics
GT9505 May 24, 2022
34ed797
[Feature] Support base MOT model and bytetrack
May 25, 2022
73335c7
[Refactor] Refactor learning rate scheduler and optimizer hook for si…
May 26, 2022
d97627c
Add train.py and test.py
GT9505 May 27, 2022
64deb3e
Align the inference performance of DFF
GT9505 May 29, 2022
ec587a5
Update .gitlab-ci.yml file
dyhBUPT May 30, 2022
d957621
Update .gitlab-ci.yml
dyhBUPT May 30, 2022
9fa3002
[Refactor] Refactor SiamRPN++
May 31, 2022
555a49c
[Feature]Support YouTubeVIS Metrics.
Jun 1, 2022
251e8df
[Refactor] Refactor Random crop pipeline and PhotoMetricDistortion pi…
Jun 1, 2022
02a06da
[Feature] Support TAO Dataset
Jun 1, 2022
1de38e4
[Feature]Support MOTChallenge Metrics.
dyhBUPT Jun 1, 2022
bea6917
Fix optimizer_wrapper
Jun 2, 2022
0b549d2
[Feature] TAO track AP
Jun 6, 2022
36e95f8
[Refactor] Refactor metrics of SOT
Jun 6, 2022
d5a702f
[Feature]Support TrackVisualizer.
dyhBUPT Jun 7, 2022
d24eda3
fix a bug for TrackVisualizer.
dyhBUPT Jun 7, 2022
55e4ee2
[Refactor] Refactor the pipeline of STARK
Jun 7, 2022
9bac671
Fit the newest mmengine, and fix a bug in DFF config
GT9505 Jun 7, 2022
46723e0
[Refactor] Remove the OptimizerHook and SiameseOptimizerHook for fitt…
Jun 9, 2022
70ab026
[Refactor] Refactor UAV,OTB and VOT
Jun 9, 2022
9eea582
[Feature] Add browse_dataset
Jun 9, 2022
037c91e
Add TrackDataPreprocessor and refactor SiamRPN++
Jun 15, 2022
28d5b60
[Feature]Support ReID Model.
dyhBUPT Jun 16, 2022
fba9e8c
Refactor DFF
dyhBUPT Jun 17, 2022
3f0f71b
[Feature]Support Visualization Hook.
dyhBUPT Jun 18, 2022
5643ed8
[Refactor] Refactor Bytetrack
Jun 20, 2022
5916704
Refactor STARK and SOT base model
Jun 20, 2022
3d57521
Refactor SOT demo
Jun 21, 2022
2695a67
[Fix] Fixed the bug of key error in MOT metric
Jun 22, 2022
7043f4e
[Feature]Support FGFA
dyhBUPT Jun 22, 2022
fbcd3af
[Feature] Support SORT & DeepSORT
dyhBUPT Jun 22, 2022
dd96e66
[Refactor] Refactor MaskTrackRCNN
Jun 23, 2022
2885b57
[Fix] Fix 4 bugs of SOT in test and training
Jun 23, 2022
1d88278
[Feature]Support Tracktor
dyhBUPT Jun 25, 2022
e8019c7
[Refactor] Refactor QDTrack
Jun 26, 2022
1027319
[Refactor] Refactor all trackers' return
Jun 27, 2022
f9133df
Refactor SELSA
Jun 28, 2022
34f7ddd
Refactor TemporalRoIAlign
Jun 28, 2022
dc80edb
merge master branch of github at pr597 of June 28, 2022
GT9505 Jun 28, 2022
3c9835c
remove some conflict codes with the master branch of github
GT9505 Jun 28, 2022
50643f3
remove deprecated unittest
GT9505 Jun 28, 2022
6a72c5b
Remove useless codes under mmtracking/mmtrack
GT9505 Jun 29, 2022
d7fc3b6
support infer ceph backend
JingweiZhang12 Jun 29, 2022
1d18a36
Fix bugs for MOTMetrics
dyhBUPT Jun 29, 2022
af27289
[Fix] Fix SELSA and DataPreprocessor
Jun 30, 2022
31d0f72
Fix bug of SOT and align the precision of siamrpn
Jun 30, 2022
7a8060f
[Feature] Support multi-class tracking in ByteTrack
Jul 2, 2022
c1de6d8
Testing Alignment of SORT/DeepSORT/Tracktor
dyhBUPT Jul 2, 2022
2ff2de0
[Fix] Fix bugs for YouTubeMetric
Jul 2, 2022
f78913f
Refactor parameter search of siamrpn++
Jul 5, 2022
4d333ac
[Feature] Support tracklet interpolation in ByteTrack
Jul 5, 2022
a34bab6
Support Image Anno in BaseVideoDataset
dyhBUPT Jul 5, 2022
a47ec7e
Simplify CocoVideoMetric and PackTrackInputs
Jul 6, 2022
166303f
Refactor all configs of SOT
Jul 6, 2022
31b75e6
fix selsa
JingweiZhang12 Jul 7, 2022
8316530
Training Alignment of SORT/DeepSORT/Tracktor
dyhBUPT Jul 11, 2022
cba0bdc
Support parameter search of MOT
Jul 11, 2022
073325e
Refactor benchmark
Jul 11, 2022
661ac12
[Feature] Support DanceTrack dataset for MOT
Jul 12, 2022
be72949
Testing & Training Alignment of FGFA
dyhBUPT Jul 13, 2022
b42c2c5
[Refactor] Refactor VID demo
Jul 14, 2022
14ed16f
Refactor demo_mot_vis
dyhBUPT Jul 14, 2022
f809820
Refactor mot_error_isualization dyhBUPT Jul 14, 2022
14d2af1
[Fix] Fix bugs about duplicate IDs for QDTrack on MOT datasets
Jul 14, 2022
a350765
Update train.py
GT9505 Jul 14, 2022
da902d4
Update .gitlab-ci.yml to use the dev-1.x branch of mmcls
GT9505 Jul 19, 2022
080b999
Refactor package
Jul 20, 2022
643c9d4
Rename visualization.py to mot_error_visualization.py
Jul 21, 2022
539ca14
update dev-1.x circleci (#626)
dyhBUPT Jul 25, 2022
f14de0a
[Fix] Use basemodule from mmengine rather than mmcv (#632)
GT9505 Jul 27, 2022
0e3b42c
Refactor benchmark regression (#636)
Aug 1, 2022
cf30951
fix a bug of circleci (#641)
dyhBUPT Aug 3, 2022
ede0268
Testing & Training Alignment of QDTrack on TAO dataset (#629)
Aug 5, 2022
83ebeb1
[Refactor] Rename some directories (#648)
GT9505 Aug 8, 2022
39c64ea
[Feature]Support StrongSORT++ (#630)
dyhBUPT Aug 18, 2022
4177ab5
support auto scale lr (#664)
JingweiZhang12 Aug 18, 2022
c587223
[Fix] Fix meta information setting in init_model (#663)
JingweiZhang12 Aug 18, 2022
1324477
[Feature] Support the test of PrDiMP (#637)
JingweiZhang12 Aug 18, 2022
478f6a8
refactor transformer registry in stark method (#665)
JingweiZhang12 Aug 18, 2022
b5e17b7
[Add] Add README and metafile of StrongSORT (#667)
dyhBUPT Aug 19, 2022
2dbc2bb
[Feature]Support Mask2Former for VIS task (#631)
Aug 19, 2022
9f968ac
Rename Configs of xxSORT/Tracktor/Det/ReID (#671)
dyhBUPT Aug 19, 2022
314f4ca
Refactor config names of SOT and VIS & fix uint test of prdimp (#674)
JingweiZhang12 Aug 19, 2022
be473c5
[Refactor] Refactor config name for 1.x. (#670)
Aug 21, 2022
ef475c0
rename docs to docs_deprecated (#676)
GT9505 Aug 21, 2022
5db76f5
add base structure for docs (#677)
GT9505 Aug 21, 2022
8b9548d
Rename configs (#683)
ZwwWayne Aug 23, 2022
9208168
[Fix] Fix TrackLocalVisualizer and init_model (#686)
JingweiZhang12 Aug 24, 2022
067cc16
[Fix] Fix some bugs to be compatible with the latest mmcv and mmengin…
JingweiZhang12 Aug 24, 2022
84963b8
refactor docs of vid (#691)
JingweiZhang12 Aug 27, 2022
5d4d224
[Docs] Refactor README.md of SOT (#690)
JingweiZhang12 Aug 27, 2022
28569a6
[Docs] Update QDTrack and MaskTrack R-CNN README.md. (#694)
Aug 29, 2022
8f80f05
[Docs] Update xxSORT/Tracktor/TROIAlign README.md (#693)
dyhBUPT Aug 29, 2022
0fadcf9
[Doc] Update ByteTrack README for dev-1.x. (#685)
Aug 29, 2022
6286474
[Refactor] Refactor docs about `inference` and `analysis_tools`. (#680)
Aug 29, 2022
d9d607e
[Refactor] Refactor the config/train_test/visualization.md (#681)
dyhBUPT Aug 29, 2022
c51ffdf
[Docs] Add docs of get_started, migration and overview (#684)
JingweiZhang12 Aug 30, 2022
ffecf2a
[Refactor] Refactor dataflow and sync the latest mmengine. (#695)
Aug 30, 2022
195048b
[Enhance] Add SiamRPNBackboneUnfreezeHook (#697)
JingweiZhang12 Aug 30, 2022
5cd5737
Finish the rest docs (#699)
GT9505 Aug 30, 2022
1a074e5
set randomness for stark and siamrpn (#700)
JingweiZhang12 Aug 31, 2022
2d02bbe
Build readthedoc (#701)
GT9505 Aug 31, 2022
18302f2
[Fix] Fix demo and ci (#705)
JingweiZhang12 Sep 2, 2022
487c60b
[Feature] Support Multi-class Tracking in SORT/StrongSORT (#668)
dyhBUPT Sep 2, 2022
0eb9473
Fix requirements.txt and ci (#709)
GT9505 Sep 5, 2022
a469a7e
[Feature] Support saving results and show evaluation results in video…
JingweiZhang12 Sep 6, 2022
c15dd83
[Fix] Compat with the latest mmengine and mmcv in all files under too…
JingweiZhang12 Sep 6, 2022
cdc10d7
[Feature] Support the train of PrDiMP (#660)
JingweiZhang12 Sep 7, 2022
8223da0
[Docs] Refine README.md. (#714)
Sep 7, 2022
94516ba
Fix meta keys in PackReIDInputs (#713)
dyhBUPT Sep 7, 2022
814376d
[Refactor] Refactor MMTracking_Tutorial.ipynb (#712)
JingweiZhang12 Sep 7, 2022
4335826
[Feature] Support plotting performance curves for SOT (#702)
JingweiZhang12 Sep 7, 2022
8014e25
refine config.md and visualization.md (#716)
dyhBUPT Sep 8, 2022
74daec6
[Fix] Fix bugs about prdimp, sot_metrics and model publish (#717)
JingweiZhang12 Sep 8, 2022
d4019cf
[Feature] Support video playback for SOT and add docs about the visua…
JingweiZhang12 Sep 9, 2022
c889761
[Docs] Update Mask2Former README.md. (#708)
Sep 13, 2022
717c5cc
Update docs about PrDiMP and make small changes about PrDiMP (#720)
JingweiZhang12 Sep 13, 2022
c86e1b9
Bump to v1.0.0rc1 (#735)
GT9505 Oct 11, 2022
0824838
Update README.md (#746)
kitecats Oct 21, 2022
9b2509a
mmtrack 1.x support mmyolo
hoang1007 Feb 11, 2023
a25dd9b
add yolov7 detector
hoang1007 Feb 13, 2023
43695f2
Update yolov7 pipline
hoang1007 Feb 13, 2023
1219aed
Support OCSort for mmtracking 1.x
hoang1007 Feb 13, 2023
7ccf1a9
Add convenient script for test and debug
hoang1007 Feb 13, 2023
712f0c9
Add Yolov7 QDTrack
hoang1007 Feb 16, 2023
72b78df
add mmyolo augmentation
hoang1007 Feb 18, 2023
a5a7e4b
add yolox config
hoang1007 Feb 20, 2023
bba6fdc
add tool to convert AIC Dataset to COCO format
hoang1007 Feb 20, 2023
6d30d6f
fix .gitignore
hoang1007 Feb 20, 2023
e234248
add pose reid and qdtrack yolox
hoang1007 Feb 21, 2023
95d70bd
support multiprocessor for extract aicity data
hoang1007 Feb 21, 2023
699a743
modified qdtrack to compatitive with single stage detector
hoang1007 Feb 21, 2023
0a3950c
Complete deepsort pose model
hoang1007 Feb 21, 2023
0812005
biou
huynhspm Feb 25, 2023
2e4f4ff
pose_boiu
huynhspm Feb 26, 2023
4f2279f
visualize pose
huynhspm Mar 5, 2023
12855a3
fix configs_mot_deepsort
huynhspm Mar 6, 2023
1e48f95
reid
huynhspm Mar 7, 2023
dff0823
fix my_reid
huynhspm Mar 7, 2023
83a1bd2
fix my_reid
huynhspm Mar 8, 2023
fa59585
add detector yolo_x
huynhspm Mar 10, 2023
1d4fbc3
Delete test3.mp4
huynhspm Mar 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
178 changes: 30 additions & 148 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,152 +1,34 @@
version: 2.1

jobs:
lint:
docker:
- image: cimg/python:3.7.4
steps:
- checkout
- run:
name: Install pre-commit hook
command: |
pip install pre-commit
pre-commit install
- run:
name: Linting
command: pre-commit run --all-files
- run:
name: Check docstring coverage
command: |
pip install interrogate
interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-regex "__repr__" --fail-under 50 mmtrack
build_cpu:
parameters:
# The python version must match available image tags in
# https://circleci.com/developer/images/image/cimg/python
python:
type: string
default: "3.7.4"
torch:
type: string
torchvision:
type: string
docker:
- image: cimg/python:<< parameters.python >>
resource_class: large
steps:
- checkout
- run:
name: Install Libraries
command: |
sudo apt-get update
sudo apt-get install -y ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx libjpeg-dev zlib1g-dev libtinfo-dev libncurses5
- run:
name: Configure Python & pip
command: |
python -m pip install --upgrade pip
python -m pip install wheel
- run:
name: Install PyTorch
command: |
python -V
python -m pip install torch==<< parameters.torch >>+cpu torchvision==<< parameters.torchvision >>+cpu -f https://download.pytorch.org/whl/torch_stable.html
- run:
name: Install mmtrack dependencies
command: |
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch<< parameters.torch >>/index.html
python -m pip install mmdet
python -m pip install -r requirements.txt
python -m pip install git+https://github.com/votchallenge/toolkit.git
- run:
name: Build and install
command: |
python -m pip install -e .
- run:
name: Run unittests
command: |
python -m coverage run --branch --source mmtrack -m pytest tests/
python -m coverage xml
python -m coverage report -m
build_cu101:
machine:
image: ubuntu-1604-cuda-10.1:201909-23
resource_class: gpu.nvidia.small
steps:
- checkout
- run:
name: Install Libraries
command: |
sudo apt-get update
sudo apt-get install -y git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx
- run:
name: Configure Python & pip
command: |
pyenv global 3.7.0
python -m pip install --upgrade pip
python -m pip install wheel
- run:
name: Install PyTorch
command: |
python -V
python -m pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
- run:
name: Install mmtrack dependencies
# python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch${{matrix.torch_version}}/index.html
command: |
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
python -m pip install mmdet
python -m pip install -r requirements.txt
python -m pip install git+https://github.com/votchallenge/toolkit.git
- run:
name: Build and install
command: |
python setup.py check -m -s
TORCH_CUDA_ARCH_LIST=7.0 python -m pip install -e .
- run:
name: Run unittests
command: |
python -m pytest tests/
# this allows you to use CircleCI's dynamic configuration feature
setup: true

# the path-filtering orb is required to continue a pipeline based on
# the path of an updated fileset
orbs:
path-filtering: circleci/path-filtering@0.1.2

workflows:
unit_tests:
# the always-run workflow is always triggered, regardless of the pipeline parameters.
always-run:
jobs:
- lint
- build_cpu:
name: build_cpu_th1.6
torch: 1.6.0
torchvision: 0.7.0
requires:
- lint
- build_cpu:
name: build_cpu_th1.7
torch: 1.7.0
torchvision: 0.8.1
requires:
- lint
- build_cpu:
name: build_cpu_th1.8_py3.9
torch: 1.8.0
torchvision: 0.9.0
python: "3.9.0"
requires:
- lint
- build_cpu:
name: build_cpu_th1.9_py3.8
torch: 1.9.0
torchvision: 0.10.0
python: "3.8.0"
requires:
- lint
- build_cpu:
name: build_cpu_th1.9_py3.9
torch: 1.9.0
torchvision: 0.10.0
python: "3.9.0"
requires:
- lint
- build_cu101:
requires:
- build_cpu_th1.6
- build_cpu_th1.7
- build_cpu_th1.8_py3.9
- build_cpu_th1.9_py3.8
- build_cpu_th1.9_py3.9
# the path-filtering/filter job determines which pipeline
# parameters to update.
- path-filtering/filter:
name: check-updated-files
# 3-column, whitespace-delimited mapping. One mapping per
# line:
# <regex path-to-test> <parameter-to-set> <value-of-pipeline-parameter>
mapping: |
mmtrack/.* lint_only false
requirements/.* lint_only false
tests/.* lint_only false
tools/.* lint_only false
configs/.* lint_only false
.circleci/.* lint_only false
base-revision: dev-1.x
# this is the path of the configuration we should trigger once
# path filtering and pipeline parameter value updates are
# complete. In this case, we are using the parent dynamic
# configuration itself.
config-path: .circleci/test.yml
11 changes: 11 additions & 0 deletions .circleci/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ARG PYTORCH="1.8.1"
ARG CUDA="10.2"
ARG CUDNN="7"

FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel

# To fix GPG key error when running apt-get update
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub

RUN apt-get update && apt-get install -y ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx
198 changes: 198 additions & 0 deletions .circleci/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
version: 2.1

# the default pipeline parameters, which will be updated according to
# the results of the path-filtering orb
parameters:
lint_only:
type: boolean
default: true

jobs:
lint:
docker:
- image: cimg/python:3.7.4
steps:
- checkout
- run:
name: Install pre-commit hook
command: |
pip install pre-commit
pre-commit install
- run:
name: Linting
command: pre-commit run --all-files
- run:
name: Check docstring coverage
command: |
pip install interrogate
interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-magic --ignore-regex "__repr__" --fail-under 50 mmtrack
build_cpu:
parameters:
# The python version must match available image tags in
# https://circleci.com/developer/images/image/cimg/python
python:
type: string
default: "3.7.4"
torch:
type: string
torchvision:
type: string
mmcv:
type: string
docker:
- image: cimg/python:<< parameters.python >>
resource_class: large
steps:
- checkout
- run:
name: Install Libraries
command: |
sudo apt-get update
sudo apt-get install -y ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 libgl1-mesa-glx libjpeg-dev zlib1g-dev libtinfo-dev libncurses5
- run:
name: Configure Python & pip
command: |
python -m pip install --upgrade pip
python -m pip install wheel
- run:
name: Install PyTorch
command: |
python -V
python -m pip install torch==<< parameters.torch >>+cpu torchvision==<< parameters.torchvision >>+cpu -f https://download.pytorch.org/whl/torch_stable.html
- run:
name: Install mmtrack dependencies
command: |
python -m pip install git+https://github.com/votchallenge/toolkit.git
python -m pip install git+ssh://git@github.com/open-mmlab/mmengine.git@main
python -m pip install << parameters.mmcv >>
python -m pip install git+ssh://git@github.com/open-mmlab/mmdetection.git@dev-3.x
python -m pip install git+ssh://git@github.com/open-mmlab/mmclassification.git@dev-1.x
python -m pip install -r requirements.txt
python -m pip install git+https://github.com/JonathonLuiten/TrackEval.git
python -m pip install git+https://github.com/TAO-Dataset/tao.git
- run:
name: Build and install
command: |
python -m pip install -e .
- run:
name: Run unittests
command: |
python -m coverage run --branch --source mmtrack -m pytest tests/
python -m coverage xml
python -m coverage report -m
build_cuda:
parameters:
torch:
type: string
cuda:
type: enum
enum: ["10.1", "10.2", "11.1"]
cudnn:
type: integer
default: 7
mmcv:
type: string
machine:
image: ubuntu-2004-cuda-11.4:202110-01
# docker_layer_caching: true
resource_class: gpu.nvidia.small
steps:
- checkout
- run:
# CLoning repos in VM since Docker doesn't have access to the private key
name: Clone Repos
command: |
git clone -b main --depth 1 ssh://git@github.com/open-mmlab/mmengine.git /home/circleci/mmengine
git clone -b dev-3.x --depth 1 ssh://git@github.com/open-mmlab/mmdetection.git /home/circleci/mmdetection
git clone -b dev-1.x --depth 1 ssh://git@github.com/open-mmlab/mmclassification.git /home/circleci/mmclassification
- run:
name: Build Docker image
command: |
docker build .circleci/docker -t mmtrack:gpu --build-arg PYTORCH=<< parameters.torch >> --build-arg CUDA=<< parameters.cuda >> --build-arg CUDNN=<< parameters.cudnn >>
docker run --gpus all -t -d -v /home/circleci/project:/mmtrack -v /home/circleci/mmengine:/mmengine -v /home/circleci/mmdetection:/mmdetection -v /home/circleci/mmclassification:/mmclassification -w /mmtrack --name mmtrack mmtrack:gpu
- run:
name: Install mmtrack dependencies
command: |
docker exec mmtrack apt-get -y install git
docker exec mmtrack pip install -e /mmengine
docker exec mmtrack pip install << parameters.mmcv >>
docker exec mmtrack pip install -e /mmdetection
docker exec mmtrack pip install -e /mmclassification
docker exec mmtrack pip install -r requirements.txt
docker exec mmtrack python -m pip install git+https://github.com/JonathonLuiten/TrackEval.git
docker exec mmtrack python -m pip install git+https://github.com/votchallenge/toolkit.git
docker exec mmtrack python -m pip install git+https://github.com/TAO-Dataset/tao.git
- run:
name: Build and install
command: |
docker exec mmtrack pip install -e .
- run:
name: Run unittests
command: |
docker exec mmtrack python -m pytest tests/
workflows:
pr_stage_lint:
when: << pipeline.parameters.lint_only >>
jobs:
- lint:
name: lint
filters:
branches:
ignore:
- dev-1.x
pr_stage_test:
when:
not:
<< pipeline.parameters.lint_only >>
jobs:
- lint:
name: lint
filters:
branches:
ignore:
- dev-1.x
- build_cpu:
name: minimum_version_cpu
torch: 1.7.0
torchvision: 0.8.1
python: 3.6.9 # The lowest python 3.6.x version available on CircleCI images
mmcv: https://download.openmmlab.com/mmcv/dist/cpu/torch1.6.0/mmcv-2.0.0rc1-cp36-cp36m-manylinux1_x86_64.whl
requires:
- lint
- build_cpu:
name: maximum_version_cpu
torch: 1.9.0
torchvision: 0.10.0
python: 3.9.0
mmcv: https://download.openmmlab.com/mmcv/dist/cpu/torch1.9.0/mmcv-2.0.0rc1-cp39-cp39-manylinux1_x86_64.whl
requires:
- minimum_version_cpu
- hold:
type: approval
requires:
- maximum_version_cpu
- build_cuda:
name: mainstream_version_gpu
torch: 1.8.1
# Use double quotation mark to explicitly specify its type
# as string instead of number
cuda: "10.2"
mmcv: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0rc1-cp37-cp37m-manylinux1_x86_64.whl
requires:
- hold
merge_stage_test:
when:
not:
<< pipeline.parameters.lint_only >>
jobs:
- build_cuda:
name: mainstream_version_gpu
torch: 1.8.1
# Use double quotation mark to explicitly specify its type
# as string instead of number
mmcv: https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv-2.0.0rc1-cp37-cp37m-manylinux1_x86_64.whl
cuda: "10.2"
filters:
branches:
only:
- dev-1.x
Loading
0