Skip to content
SenseTime Research platform for single object tracking, implementing algorithms like SiamRPN and SiamMask.
Branch: master
Clone or download
Latest commit 64ac801 May 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo push codes May 12, 2019
experiments add alex otb May 12, 2019
pysot push codes May 12, 2019
testing_dataset add testing_dataset May 12, 2019
toolkit push codes May 12, 2019
tools push codes May 12, 2019
.gitignore push codes May 12, 2019 Update May 12, 2019
LICENSE add README May 7, 2019 add vot19 results May 14, 2019 update json download link May 22, 2019 push codes May 12, 2019
requirements.txt push codes May 12, 2019 push codes May 12, 2019


PySOT is a software system designed by SenseTime Video Intelligence Research team. It implements state-of-the-art single object tracking algorithms, including SiamRPN and SiamMask. It is written in Python and powered by the PyTorch deep learning framework. This project also contains a Python port of toolkit for evaluating trackers.

PySOT has enabled research projects, including: SiamRPNDaSiamRPNSiamRPN++, and SiamMask.

Example SiamFC, SiamRPN and SiamMask outputs.


The goal of PySOT is to provide a high-quality, high-performance codebase for visual tracking research. It is designed to be flexible in order to support rapid implementation and evaluation of novel research. PySOT includes implementations of the following visual tracking algorithms:

using the following backbone network architectures:

Additional backbone architectures may be easily implemented. For more details about these models, please see References below.

Evaluation toolkit can support the following datasets:

📎 OTB2015 📎 VOT16/18/19 📎 VOT18-LT 📎 LaSOT 📎 UAV123

Model Zoo and Baselines

We provide a large set of baseline results and trained models available for download in the PySOT Model Zoo.


Please find installation instructions for PyTorch and PySOT in

Quick Start: Using PySOT



Download models

Download models in PySOT Model Zoo and put the model.pth in the correct directory in experiments

Webcam demo

python tools/ \
    --config experiments/siamrpn_r50_l234_dwxcorr/config.yaml \
    --snapshot experiments/siamrpn_r50_l234_dwxcorr/model.pth \
    # --video demo/bag.avi # (in case you don't have webcam)

Download testing datasets

Download datasets and put them into testing_dataset directory. Jsons of commonly used datasets can be downloaded from Google Drive or BaiduYun. If you want to test tracker on new dataset, please refer to pysot-toolkit to setting testing_dataset.

Test tracker

cd experiments/siamrpn_r50_l234_dwxcorr
python -u ../../tools/ 	\
	--snapshot model.pth 	\ # model path
	--dataset VOT2018 	\ # dataset name
	--config config.yaml	  # config file

The testing results will in the current directory(results/dataset/model_name/)

Eval tracker

assume still in experiments/siamrpn_r50_l234_dwxcorr

python ../../tools/ 	 \
	--tracker_path ./results \ # result path
	--dataset VOT2018        \ # dataset name
	--num 1 		 \ # number thread to eval
	--tracker_prefix 'model'   # tracker_name




PySOT is released under the Apache 2.0 license.

You can’t perform that action at this time.