技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-preparation【数据与研究】Guides SiamMask benchmark and training data acquisition, layout validation, crop/index preprocessing, VOT JSON generation, and data-path troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about VOT/DAVIS/YouTube-VOS benchmark data, COCO/DET/VID/YouTube-VOS training data, crop511 preprocessing, dataset JSON files, or missing data paths.
Most original preprocessing steps involve large downloads, unzips, symlinks, multiprocessing crops, or generated files. Keep commands in dry-run/read-only mode until the user explicitly approves network, disk, and runtime costs.
| User intent | What to do |
|---|---|
| "Check whether data is prepared" | Run scripts/check_dataset_layout.py and read references/data-layouts.md. |
| "Generate VOT metadata JSON" | Use scripts/generate_vot_json.py on an existing VOT directory; it adapts the repo metadata generator without downloading data. |
| "Run original preprocessing/crop scripts" | Use scripts/run_data_prep.py in dry-run mode, then add --run only after approving side effects. |
| "Prepare training data" | Read references/workflows.md and validate COCO/DET/VID/YouTube-VOS generated outputs before training. |
| "Dataset errors during tracking/training" | Read references/troubleshooting.md and root troubleshooting. |
scripts/check_dataset_layout.py: read-only JSON report for VOT, DAVIS, YouTube-VOS, COCO, DET, VID, or the full training data mix.scripts/generate_vot_json.py: self-contained VOT metadata generator for existing local VOT datasets.scripts/run_data_prep.py: dry-run-first launcher for checkout-local data-preparation scripts; useful for auditing cwd, PYTHONPATH, and arguments before heavy preprocessing.Example read-only check:
python scripts/check_dataset_layout.py --data-root <siammask-checkout>/data --dataset training
Example VOT metadata generation:
python scripts/generate_vot_json.py \
--dataset-root <siammask-checkout>/data/VOT2019 \
--dataset-name VOT2019 \
--output <siammask-checkout>/data/VOT2019.json