-
Notifications
You must be signed in to change notification settings - Fork 597
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Support the results of Tracktor on MOT15, MOT16 and MOT20 (#…
…217) * support mot15 16 20 * [Feature] Support MOT15 MOT16 and MOT20 * add mot15 and mot16 * add mot20 * add mot20 * rename ckpt path * delete some useless configs * fix a bug * fix a bug * add fps * fix a bug * rebase configs * fix some bugs * fix a bug * fix a bug * fix some bug * benchmark * modify readme * modify model path * metafile * fix a bug * fix some typos
- Loading branch information
1 parent
cac7080
commit 63db5ee
Showing
28 changed files
with
579 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
USE_MMDET = True | ||
_base_ = ['./faster-rcnn_r50_fpn_4e_mot17-half.py'] | ||
# data | ||
data_root = 'data/MOT15/' | ||
data = dict( | ||
train=dict( | ||
ann_file=data_root + 'annotations/half-train_cocoformat.json', | ||
img_prefix=data_root + 'train'), | ||
val=dict( | ||
ann_file=data_root + 'annotations/half-val_cocoformat.json', | ||
img_prefix=data_root + 'train'), | ||
test=dict( | ||
ann_file=data_root + 'annotations/half-val_cocoformat.json', | ||
img_prefix=data_root + 'train')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
USE_MMDET = True | ||
_base_ = ['./faster-rcnn_r50_fpn_4e_mot17-half.py'] | ||
# data | ||
data_root = 'data/MOT16/' | ||
data = dict( | ||
train=dict( | ||
ann_file=data_root + 'annotations/half-train_cocoformat.json', | ||
img_prefix=data_root + 'train'), | ||
val=dict( | ||
ann_file=data_root + 'annotations/half-val_cocoformat.json', | ||
img_prefix=data_root + 'train'), | ||
test=dict( | ||
ann_file=data_root + 'annotations/half-val_cocoformat.json', | ||
img_prefix=data_root + 'train')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
USE_MMDET = True | ||
_base_ = ['./faster-rcnn_r50_fpn_4e_mot17-half.py'] | ||
model = dict( | ||
detector=dict( | ||
rpn_head=dict(bbox_coder=dict(clip_border=True)), | ||
roi_head=dict( | ||
bbox_head=dict(bbox_coder=dict(clip_border=True), num_classes=1)))) | ||
# data | ||
data_root = 'data/MOT20/' | ||
data = dict( | ||
train=dict( | ||
ann_file=data_root + 'annotations/half-train_cocoformat.json', | ||
img_prefix=data_root + 'train'), | ||
val=dict( | ||
ann_file=data_root + 'annotations/half-val_cocoformat.json', | ||
img_prefix=data_root + 'train'), | ||
test=dict( | ||
ann_file=data_root + 'annotations/half-val_cocoformat.json', | ||
img_prefix=data_root + 'train')) | ||
# learning policy | ||
lr_config = dict( | ||
policy='step', | ||
warmup='linear', | ||
warmup_iters=100, | ||
warmup_ratio=1.0 / 100, | ||
step=[6]) | ||
# runtime settings | ||
total_epochs = 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
USE_MMDET = True | ||
_base_ = ['./faster-rcnn_r50_fpn_4e_mot17-half.py'] | ||
model = dict( | ||
detector=dict( | ||
rpn_head=dict(bbox_coder=dict(clip_border=True)), | ||
roi_head=dict( | ||
bbox_head=dict(bbox_coder=dict(clip_border=True), num_classes=1)))) | ||
# data | ||
data_root = 'data/MOT20/' | ||
data = dict( | ||
train=dict( | ||
ann_file=data_root + 'annotations/train_cocoformat.json', | ||
img_prefix=data_root + 'train'), | ||
val=dict( | ||
ann_file=data_root + 'annotations/train_cocoformat.json', | ||
img_prefix=data_root + 'train'), | ||
test=dict( | ||
ann_file=data_root + 'annotations/train_cocoformat.json', | ||
img_prefix=data_root + 'train')) | ||
# learning policy | ||
lr_config = dict( | ||
policy='step', | ||
warmup='linear', | ||
warmup_iters=100, | ||
warmup_ratio=1.0 / 100, | ||
step=[6]) | ||
# runtime settings | ||
total_epochs = 8 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
configs/mot/tracktor/tracktor_faster-rcnn_r50_fpn_4e_mot15-private-half.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
_base_ = ['./tracktor_faster-rcnn_r50_fpn_4e_mot17-private-half.py'] | ||
model = dict( | ||
pretrains=dict( | ||
detector= # noqa: E251 | ||
'https://download.openmmlab.com/mmtracking/mot/faster_rcnn/faster-rcnn_r50_fpn_4e_mot15-half_20210804_001040-ae733d0c.pth', # noqa: E501 | ||
reid= # noqa: E251 | ||
'https://download.openmmlab.com/mmtracking/mot/reid/reid_r50_6e_mot15_20210803_192157-65b5e2d7.pth' # noqa: E501 | ||
), | ||
reid=dict(head=dict(num_classes=375))) | ||
# data | ||
data_root = 'data/MOT15/' | ||
data = dict( | ||
train=dict( | ||
ann_file=data_root + 'annotations/half-train_cocoformat.json', | ||
img_prefix=data_root + 'train'), | ||
val=dict( | ||
ann_file=data_root + 'annotations/half-val_cocoformat.json', | ||
img_prefix=data_root + 'train'), | ||
test=dict( | ||
ann_file=data_root + 'annotations/half-val_cocoformat.json', | ||
img_prefix=data_root + 'train')) |
Oops, something went wrong.