Skip to content

A clean PyTorch implementation of SiamFC tracking/training, evaluated on 7 datasets.

Notifications You must be signed in to change notification settings

dkgupta90/siamfc-pytorch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiamFC - PyTorch

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.

Performance

GOT-10k

Dataset AO SR0.50 SR0.75
GOT-10k 0.355 0.390 0.118

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

OTB / UAV123 / DTB70 / TColor128 / NfS

Dataset Success Score Precision Score
OTB2013 0.589 0.781
OTB2015 0.578 0.765
UAV123 0.523 0.731
UAV20L 0.423 0.572
DTB70 0.493 0.731
TColor128 0.510 0.691
NfS (30 fps) - -
NfS (240 fps) 0.520 0.624

VOT2018

Dataset Accuracy Robustness (unnormalized)
VOT2018 0.502 37.25

Dependencies

Install PyTorch, opencv-python and GOT-10k toolkit:

pip install torch opencv-python got10k

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

Running the tracker

In the root directory of siamfc-pytorch:

  1. Download pretrained model.pth from Baidu Yun or Google Drive, and put the file under pretrained/siamfc.

  2. Create a symbolic link data to your datasets folder (e.g., data/OTB, data/UAV123, data/GOT-10k):

ln -s ./data /path/to/your/data/folder
  1. Run:
python test.py

By default, the tracking experiments will be executed and evaluated over all 7 datasets. Comment lines in test.py as you wish if you need to skip some experiments.

Training the tracker

  1. Assume the GOT-10k dataset is located at data/GOT-10K.

  2. Run:

python train.py

About

A clean PyTorch implementation of SiamFC tracking/training, evaluated on 7 datasets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%