Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

SenseTime Research platform for single object tracking, implementing algorithms like SiamRPN and SiamMask.

License

NotificationsYou must be signed in to change notification settings

STVIR/pysot

Repository files navigation

PySOT is a software system designed by SenseTime Video Intelligence Research team. It implements state-of-the-art single object tracking algorithms, includingSiamRPN andSiamMask. It is written in Python and powered by thePyTorch 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.

Introduction

The goal of PySOT is to provide a high-quality, high-performance codebase for visual trackingresearch. 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 seeReferences 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 thePySOT Model Zoo.

Installation

Please find installation instructions for PyTorch and PySOT inINSTALL.md.

Quick Start: Using PySOT

Add PySOT to your PYTHONPATH

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

Download models

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

Webcam demo

python tools/demo.py \    --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 intotesting_dataset directory. Jsons of commonly used datasets can be downloaded fromGoogle Drive orBaiduYun. If you want to test tracker on new dataset, please refer topysot-toolkit to settingtesting_dataset.

Test tracker

cd experiments/siamrpn_r50_l234_dwxcorrpython -u ../../tools/test.py \--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_8gpu

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

Training 🔧

SeeTRAIN.md for detailed instruction.

Getting Help 🔨

If you meet problem, try searching our GitHub issues first. We intend the issues page to be a forum in which the community collectively troubleshoots problems. But please donot postduplicate issues. If you have similar issue that has been closed, you can reopen it.

  • ModuleNotFoundError: No module named 'pysot'

🎯Solution: Runexport PYTHONPATH=path/to/pysot first before you run the code.

  • ImportError: cannot import name region

🎯Solution: Buildregion bypython setup.py build_ext —-inplace as decribled inINSTALL.md.

References

Contributors

License

PySOT is released under theApache 2.0 license.

About

SenseTime Research platform for single object tracking, implementing algorithms like SiamRPN and SiamMask.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp