技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
tracking-inference【数据与研究】Run PySOT tracking demos, benchmark tests, and tracker APIs safely with validated config/snapshot/video/dataset inputs.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to run or debug PySOT inference rather than to redesign a model or evaluate benchmark metrics.
build_tracker, tracker.init(img, bbox), or tracker.track(img) directly.tools/test.py benchmark run or understand where it writes result files.bbox, best_score, mask, or polygon outputs.Confirm the user has a PySOT checkout/import context, a config YAML, and a snapshot file. PySOT's package metadata installs toolkit; importing pysot normally depends on running from the checkout, setting PYTHONPATH, or equivalent editable-development registration.
Run the bundled safe preflight before any GUI, CUDA, dataset, or snapshot-loading workflow:
python scripts/validate_tracking_inputs.py \
--mode demo \
--config path/to/config.yaml \
--snapshot path/to/model.pth \
--video-name path/to/video.mp4
The helper checks paths and config basics and prints a command skeleton. It does not open OpenCV, load weights, download datasets, or run tracking.
For CLI workflows, follow references/workflows.md.
For direct Python API usage, follow references/tracker-api.md.
For failures, inspect references/troubleshooting.md before changing source code.
cfg/ModelBuilder tables to the sibling configuration-models sub-skill.eval.py, result-layout validation, benchmark scoring, and hyperparameter search to the sibling evaluation-toolkit sub-skill.training-data sub-skill..cuda(), so treat CUDA as required unless the user explicitly adapts the script for CPU.test.py, training, or evaluation run as a default smoke check. Use parser help and the bundled validator for safe preflight.