Skip to content

chandan047/RAT-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAT Tracker (Route-And-Track Tracker)

The objective of this project is to study how Object Tracking can benefit from the properties of Capusle Network. We analyze the performance of Capsule Network on various motion classes and conclude some interesting results.

A clean PyTorch implementation of SiamFC tracker described in paper Fully-Convolutional Siamese Networks for Object Tracking. The code is evaluated on 7 tracking datasets (OTB (2013/2015), VOT (2018), DTB70, TColor128, NfS and UAV123), using the GOT-10k toolkit

Model

Model

Progress

  • Implement Capsule Network with dynamic routing between capsules [2]
  • Integrate with SiamFC [1]
  • Implement Adaptive routing for capsule networks[3]
  • Run RAT Tracker model on VOT 2018, OTB-100 datasets
  • Ablation study on motion-classes
  • Re-train the model with loss on object classification/reconstruction
  • Motion class group vs output layer of capsule network

Performance (the scores are updated)

GOT-10k

Dataset AO SR0.50 SR0.75
GOT-10k 0.334 0.352 0.099

The scores are comparable with state-of-the-art results on GOT-10k leaderboard.

OTB / UAV123 / DTB70 / TColor128 / NfS

Dataset Success Score Precision Score
OTB2015 0.584 0.788

Comparison with SiamFC

SiamFC RAT Tracker
Success Score (IOU) 58.97 58.44
Precision Score 79.20 78.88
Success Rate 74.33 72.84
Speed (fps) 66.90 16.88

Performance of SiamFC is overall better than our RAT Tracker. However in the sub-class performance comparision figures below, we can see that our model outperforms SiamFC in certain categories of motion class.

Success Score (IOU) Precision Score Success Rate

RAT Tracker outperforms Illumination Variation (IV), Background Clutters (BC), Low Resolution (LR) and Motion Blur (MB) videos. Performance on Fast Motion (FM) is competitive. There is a consistent gain in performance on these types of motion classes where object has similar orientation but the quality is low. Further analysis is required to understand this model.

Installation

Install Anaconda, then install dependencies:

# install PyTorch >= 1.0
conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
# intall OpenCV using menpo channel (otherwise the read data could be inaccurate)
conda install -c menpo opencv
# install GOT-10k toolkit
pip install got10k

GOT-10k toolkit is a visual tracking toolkit that implements evaluation metrics and tracking pipelines for 9 popular tracking datasets.

Training the tracker

  1. Setup the training dataset in tools/train.py. Default is the GOT-10k dataset located at ~/data/GOT-10k.
  2. Run:
python tools/train.py

Evaluate the tracker

  1. Setup the tracking dataset in tools/test.py. Default is the OTB dataset located at ~/data/OTB.
  2. Setup the checkpoint path of your pretrained model. Default is pretrained/siamfc_alexnet_e50.pth.
  3. Run:
python tools/test.py

Running the demo

  1. Setup the sequence path in tools/demo.py. Default is ~/data/OTB/Crossing.
  2. Setup the checkpoint path of your pretrained model. Default is pretrained/siamfc_alexnet_e50.pth.
  3. Run:
python tools/demo.py

Acknowledgements

References

  1. Fully Convolutional Siamese Networks for Object Tracking, Bertinetto et al.
  2. Dynamic Routing Between Capsules, Sabour et al.
  3. Adaptive Routing Between Capsules, Ren et al.
  4. OTB (2013/2015)
  5. VOT (2018)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages