This repo is the expansion work for SiameseFC. Although the origin code is a clear implementation of SiamFC, it does not provide the demo program for us. It is significant to use a demo program to see the tracking result in the arbitrary video. So, I write this repo to provide the expansion demo program. You can set the any target in your video.
The origin paper you can see in here
This repo need to install those dependencies:
opencv-python
torch
got10k
I recommend the got-10k toolkit for you to implement or evaluate your SOT code, you can go here to know this toolkit.
You can use this code to install those dependencies:
pip install XXX
-
Clone this repo in your computer
git clone https://github.com/NklausMikealson/SiameseFC-pytorch.git
-
Put your video in this repo
-
Run:
python demo.py [./your/video/path]
The got-10k toolkit provide 7 tracking datasets (OTB (2013/2015), VOT (2013~2018), DTB70, TColor128, NfS and UAV123) to evaluate your code.
in the root directory of repo:
Run:
python test.py
You can choose the evaluate dataset in test.py
-
Download the dataset at
./data/[your-dataset-name]
. -
Run:
python train.py