Giter Club home page Giter Club logo

tracking-by-animation's Introduction

Tracking by Animation: Unsupervised Learning of Multi-Object Attentive Trackers

1. Results

1.1 MNIST-MOT

a) Qualitative results


Click it to watch longer ↑
Left: input. Middle: reconstruction. Right: memory (Row 1), attention (Row 2), and output (Row 3).

b) Quantitative results

Configuration IDF1↑ IDP↑ IDR↑ MOTA↑ MOTP↑ FAF↓ MT↓ ML↓ FP↓ FN↓ IDS↓ Frag↓
TBA 99.6 99.6 99.6 99.5 78.4 0 978 0 49 49 22 7

1.2 Sprites-MOT

a) Qualitative results


Click it to watch longer ↑
Left: input. Middle: reconstruction. Right: memory (Row 1), attention (Row 2), and output (Row 3).

b) Quantitative results

Configuration IDF1↑ IDP↑ IDR↑ MOTA↑ MOTP↑ FAF↓ MT↓ ML↓ FP↓ FN↓ IDS↓ Frag↓
TBA 99.2 99.3 99.2 99.2 79.1 0.01 985 1 60 80 30 22

1.3 DukeMTMC

a) Qualitative results


Click it to watch longer ↑
Rows 1 and 4: input. Row 2 and 5: reconstruction. Rows 3 and 6: output.

b) Quantitative results

Configuration IDF1↑ IDP↑ IDR↑ MOTA↑ MOTP↑ FAF↓ MT↓ ML↓ FP↓ FN↓ IDS↓ Frag↓
TBA 82.4 86.1 79.0 79.6 80.4 0.09 1,026 46 64,002 151,483 875 1,481

Quantitative results are made public at https://motchallenge.net/results/DukeMTMCT ('MOT_TBA' with paper ID 648).

2. Requirements

  • python 3.6
  • pytorch 0.3.1
  • py-motmetrics (to evaluate tracking performances)

3. Usage

3.1 Generate training data

cd path/to/tba                  # enter the project root directory
python scripts/gen_mnist.py     # for mnist
python scripts/gen_sprite.py    # for sprite
python scripts/gen_duke.py      # for duke

3.2 Train the model

python run.py --task mnist     # for mnist
python run.py --task sprite    # for sprite
python run.py --task duke      # for duke

3.3 Show training curves

python scripts/show_curve.py --task mnist     # for mnist
python scripts/show_curve.py --task sprite    # for sprite
python scripts/show_curve.py --task duke      # for duke

3.4 Evaluate tracking performances

a) Generate test data

python scripts/gen_mnist.py --metric 1         # for mnist
python scripts/gen_sprite.py --metric 1        # for sprite
python scripts/gen_duke.py --metric 1 --c 1    # for duke, please run over all cameras by setting c = 1, 2, ..., 8

b) Generate tracking results

python run.py --init sp_latest.pt --metric 1 --task mnist                     # for mnist
python run.py --init sp_latest.pt --metric 1 --task sprite                    # for sprite
python run.py --init sp_latest.pt --metric 1 --task duke --subtask camera1    # for duke, please run all subtasks from camera1 to camera8

c) Convert the results into .txt

python scripts/get_metric_txt.py --task mnist                     # for mnist
python scripts/get_metric_txt.py --task sprite                    # for sprite
python scripts/get_metric_txt.py --task duke --subtask camera1    # for duke, please run all subtasks from camera1 to camera8

d) Evaluate tracking performances

python -m motmetrics.apps.eval_motchallenge data/mnist/pt result/mnist/tba/default/metric --solver lap      # form mnist
python -m motmetrics.apps.eval_motchallenge data/sprite/pt result/sprite/tba/default/metric --solver lap    # form sprite

To evaluate duke, please upload the file duke.txt (under result/duke/tba/default/metric/) to https://motchallenge.net.

tracking-by-animation's People

Contributors

zhen-he avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.