Snapshot of megvii-research/MOTR: 809★, Python, AI Tools. [ECCV2022] MOTR: End-to-End Multiple-Object Tracking with TRansformer
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
MOTR: End-to-End Multiple-Object Tracking with TRansformer
This repository is an official implementation of the paper MOTR: End-to-End Multiple-Object Tracking with TRansformer.
Introduction
TL; DR. MOTR is a fully end-to-end multiple-object tracking framework based on Transformer. It directly outputs the tracks within the video sequences without any association procedures.
Abstract. The key challenge in multiple-object tracking task is temporal modeling of the object under track. Existing tracking-by-detection methods adopt simple heuristics, such as spatial or appearance similarity. Such methods, in spite of their commonality, are overly simple and lack the ability to learn temporal variations from data in an end-to-end manner.In this paper, we present MOTR, a fully end-to-end multiple-object tracking framework. It learns to model the long-range temporal variation of the objects. It performs temporal association implicitly and avoids previous explicit heuristics. Built upon DETR, MOTR introduces the concept of "track query". Each track query models the entire track of an object. It is transferred and updated frame-by-frame to perform iterative predictions in a seamless manner. Tracklet-aware label assignment is proposed for one-to-one assignment between track queries and object tracks. Temporal aggregation network together with collective average loss is further proposed to enhance the long-range temporal relation. Experimental results show that MOTR achieves competitive performance and can serve as a strong Transformer-based baseline for future research.
Updates
(2021/09/23) Report BDD100K results and release corresponding codes motr_bdd100k.
(2022/02/09) Higher performance achieved by not clipping the bounding boxes inside the image.
(2022/02/11) Add checkpoint support for training on RTX 2080ti.
(2022/02/11) Report DanceTrack results and scripts.
(2022/05/12) Higher performance achieved by removing the public detection filtering (filter_pub_det) trick.
(2022/07/04) MOTR is accepted by ECCV 2022.
Main Results
MOT17
Method
Dataset
Train Data
HOTA
DetA
AssA
MOTA
IDF1
IDS
URL
MOTR
MOT17
MOT17+CrowdHuman Val
57.8
60.3
55.7
73.4
68.6
2439
model
DanceTrack
Method
Dataset
Train Data
HOTA
DetA
AssA
MOTA
IDF1
URL
MOTR
DanceTrack
DanceTrack
54.2
73.5
40.2
79.7
51.5
model
BDD100K
Method
Dataset
Train Data
MOTA
IDF1
IDS
URL
MOTR
BDD100K
BDD100K
32.0
43.5
3493
model
Note:
MOTR on MOT17 and DanceTrack is trained on 8 NVIDIA RTX 2080ti GPUs.
The training time for MOT17 is about 2.5 days on V100 or 4 days on RTX 2080ti;
The inference speed is about 7.5 FPS for resolution 1536x800;
All models of MOTR are trained with ResNet50 with pre-trained weights on COCO dataset.
Installation
The codebase is built on top of Deformable DETR.
Requirements
Linux, CUDA>=9.2, GCC>=5.4
Python>=3.7
We recommend you to use Anaconda to create a conda environment:
For BDD100K dataset, you can use the following script to generate txt file:
cd datasets/data_path
python3 generate_bdd100k_mot.py
cd ../../
Training and Evaluation
Training on single node
You can download COCO pretrained weights from Deformable DETR. Then training MOTR on 8 GPUs as following:
sh configs/r50_motr_train.sh
Evaluation on MOT15
You can download the pretrained model of MOTR (the link is in "Main Results" session), then run following command to evaluate it on MOT15 train dataset:
sh configs/r50_motr_eval.sh
For visual in demo video, you can enable 'vis=True' in eval.py like:
det.detect(vis=True)
Evaluation on MOT17
You can download the pretrained model of MOTR (the link is in "Main Results" session), then run following command to evaluate it on MOT17 test dataset (submit to server):
sh configs/r50_motr_submit.sh
Evaluation on BDD100K
For BDD100K dataset, please refer motr_bdd100k.
Test on Video Demo
We also provide a demo interface which allows for a quick processing of a given video.
If you find MOTR useful in your research, please consider citing:
@inproceedings{zeng2021motr,
title={MOTR: End-to-End Multiple-Object Tracking with TRansformer},
author={Zeng, Fangao and Dong, Bin and Zhang, Yuang and Wang, Tiancai and Zhang, Xiangyu and Wei, Yichen},
booktitle={European Conference on Computer Vision (ECCV)},
year={2022}
}
How active is development on megvii-research/MOTR?
The most recent commit recorded on megvii-research/MOTR was 2.6 years ago, based on the GitHub push timestamp. The repository has 111 forks — one of the better signals of community interest.
How does megvii-research/MOTR compare to other AI Tools projects?
megvii-research/MOTR is tracked by TopGit in the AI Tools category, with 809 GitHub stars and written in Python. Browse the AI Tools topic page on TopGit to compare it against similar projects by stars and activity.
How many stars does megvii-research/MOTR have?
megvii-research/MOTR has 809 GitHub stars — refresh the page for the live number, or check github.com/megvii-research/MOTR. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What is megvii-research/MOTR?
megvii-research/MOTR (megvii-research/MOTR) is a Python project on GitHub. From the project's own README: [ECCV2022] MOTR: End-to-End Multiple-Object Tracking with TRansformer
What language is megvii-research/MOTR written in?
megvii-research/MOTR is written primarily in Python. GitHub's language field is based on the largest share of bytes in the default branch.
What topics is megvii-research/MOTR associated with?
GitHub's repository topics for megvii-research/MOTR: "end-to-end", "multi-object-tracking", "pytorch", "transformer". TopGit's editorial category is AI Tools.
Why is megvii-research/MOTR categorized under AI Tools?
TopGit places megvii-research/MOTR in the AI Tools category based on its GitHub topics and description (tagged: "end-to-end", "multi-object-tracking", "pytorch"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Curious whether MOTR is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about MOTR.