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.
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.
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 |
Dataset | Accuracy | Robustness (unnormalized) |
---|---|---|
VOT2018 | 0.502 | 37.25 |
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.
In the root directory of siamfc-pytorch
:
-
Download pretrained
model.pth
from Baidu Yun or Google Drive, and put the file underpretrained/siamfc
. -
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
- 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.
-
Assume the GOT-10k dataset is located at
data/GOT-10K
. -
Run:
python train.py