Skip to content

qq1018408006/SiamPA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiamPA

This project hosts the code for implementing the SiamPA algorithm for visual tracking.

The raw results are here. The code is based on PySOT and SiamBAN.

Installation

Please find installation instructions in INSTALL.md.

Quick Start: Using SiamPA

Add SiamPAto your PYTHONPATH

export PYTHONPATH=/path/to/SiamPA:$PYTHONPATH

Download models

Download models from here and put the model.pth in the correct directory in experiments

Webcam demo

python tools/demo.py \
    --config experiments/uav/config.yaml \
    --snapshot experiments/uav/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 here. If you want to test tracker on new dataset, please refer to pysot-toolkit to setting testing_dataset.

Test tracker

cd experiments/uav
python -u ../../tools/test.py 	\
	--snapshot model.pth 	\ # model path
	--dataset UAV123 	\ # 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/uav

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

Training 🔧

See TRAIN.md for detailed instruction.

License

This project is released under the Apache 2.0 license.

About

This is the official implementation of SiamPA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published