https://github.com/amazon-science/siam-mot

SiamMOT: Siamese Multi-Object Tracking

https://github.com/amazon-science/siam-mot

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.2%) to scientific vocabulary

Keywords

computer-vision multi-object-tracking video-analysis

Keywords from Contributors

interactive projection archival sequences transformers packaging versions tracing charts network-simulation
Last synced: 5 months ago · JSON representation

Repository

SiamMOT: Siamese Multi-Object Tracking

Basic Info
  • Host: GitHub
  • Owner: amazon-science
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 14.2 MB
Statistics
  • Stars: 484
  • Watchers: 19
  • Forks: 60
  • Open Issues: 33
  • Releases: 0
Topics
computer-vision multi-object-tracking video-analysis
Created almost 5 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

SiamMOT

SiamMOT is a region-based Siamese Multi-Object Tracking network that detects and associates object instances simultaneously.

SiamMOT: Siamese Multi-Object Tracking,
Bing Shuai, Andrew Berneshawi, Xinyu Li, Davide Modolo, Joseph Tighe,

@inproceedings{shuai2021siammot,
  title={SiamMOT: Siamese Multi-Object Tracking},
  author={Shuai, Bing and Berneshawi, Andrew and Li, Xinyu and Modolo, Davide and Tighe, Joseph},
  booktitle={CVPR},
  year={2021}
}

Abstract

In this paper, we focus on improving online multi-object tracking (MOT). In particular, we introduce a region-based Siamese Multi-Object Tracking network, which we name SiamMOT. SiamMOT includes a motion model that estimates the instance’s movement between two frames such that detected instances are associated. To explore how the motion modelling affects its tracking capability, we present two variants of Siamese tracker, one that implicitly models motion and one that models it explicitly. We carry out extensive quantitative experiments on three different MOT datasets: MOT17, TAO-person and Caltech Roadside Pedestrians, showing the importance of motion modelling for MOT and the ability of SiamMOT to substantially outperform the state-of-the-art. Finally, SiamMOT also outperforms the winners of ACM MM’20 HiEve Grand Challenge on HiEve dataset. Moreover, SiamMOT is efficient, and it runs at 17 FPS for 720P videos on a single modern GPU.

Installation

Please refer to INSTALL.md for installation instructions.

Try SiamMOT demo

For demo purposes, we provide two tracking models -- tracking person (visible part) or jointly tracking person and vehicles (bus, car, truck, motorcycle, etc). The person tracking model is trained on COCO-17 and CrowdHuman, while the latter model is trained on COCO-17 and VOC12. Currently, both models used in demos use EMM as its motion model, which performs best among different alternatives.

In order to run the demo, use the following command: ~~~ python3 demos/demo.py --demo-video PATHTODEMOVIDE --track-class person --dump-video True ~~~ You can choose person or `personvehicelfortrack-class` such that person tracking or person/vehicle tracking model is used accordingly.

The model would be automatically downloaded to demos/models, and the visualization of tracking outputs is automatically saved to demos/demo_vis

We also provide several pre-trained models in model_zoos.md that can be used for demo.

Dataset Evaluation and Training

After installation, follow the instructions in DATA.md to setup the datasets. As a sanity check, the models presented in model_zoos.md can be used to for benchmark testing.

Use the following command to train a model on an 8-GPU machine: Before running training / inference, setup the configuration file properly ~~~ python3 -m torch.distributed.launch --nprocpernode=8 tools/trainnet.py --config-file configs/dla/DLA34FPN.yaml --train-dir PATHTOTRAINDIR --model-suffix MODEL_SUFFIX ~~~

Use the following command to test a model on a single-GPU machine: ~~~ python3 tools/testnet.py --config-file configs/dla/DLA34FPN.yaml --output-dir PATHTOOUTPUTDIR --model-file PATHTOMODELFILE --test-dataset DATASETKEY --set val ~~~

Note: If you get an error ModuleNotFoundError: No module named 'siammot' when running in the git root then make sure your PYTHONPATH includes the current directory, which you can add by running: export PYTHONPATH=.:$PYTHONPATH or you can explicitly add the project to the path by replacing the '.' in the export command with the absolute path to the git root.

Multi-gpu testing is going to be supported later.

Version

This is the preliminary version specifically for Airbone Object Tracking (AOT) workshop. The current version only support the motion model being EMM.

  • [Update 06/02/2021] Refactor of configuration file
  • [Update 06/02/2021] Operator patching for amodal inference (needed in MOT17) and model release of MOT17 model
  • [Update 06/02/2021] Support inference based on provided public detection

Stay tuned for more updates

License

This project is licensed under the Apache-2.0 License.

Owner

  • Name: Amazon Science
  • Login: amazon-science
  • Kind: organization

GitHub Events

Total
  • Watch event: 12
  • Issue comment event: 1
  • Fork event: 2
Last Year
  • Watch event: 12
  • Issue comment event: 1
  • Fork event: 2

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 19
  • Total Committers: 3
  • Avg Commits per committer: 6.333
  • Development Distribution Score (DDS): 0.368
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Bing Shuai b****i@a****m 12
dependabot[bot] 4****] 6
Amazon GitHub Automation 5****o 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 94
  • Total pull requests: 22
  • Average time to close issues: 11 days
  • Average time to close pull requests: 3 months
  • Total issue authors: 40
  • Total pull request authors: 1
  • Average comments per issue: 1.73
  • Average comments per pull request: 0.27
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 22
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • adityagupta-9900 (4)
  • noreenanwar (4)
  • yanghaibin-cool (4)
  • Leo63963 (3)
  • lihanlin99 (3)
  • carolinasolfernandez (2)
  • cr7legend (2)
  • JAYCHOU2020 (2)
  • Baojinyu (1)
  • Lenazhou (1)
  • alexkutsan (1)
  • B10515007 (1)
  • YaoMufeng (1)
  • SkalskiP (1)
  • TheRealPoseidon (1)
Pull Request Authors
  • dependabot[bot] (13)
Top Labels
Issue Labels
Pull Request Labels
dependencies (13)