name: data-preparation
description: "Guides SiamMask benchmark and training data acquisition, layout
validation, crop/index preprocessing, VOT JSON generation, and data-path
troubleshooting."
disable-model-invocation: true
metadata:
disco-role: operating
license: MIT
SiamMask Data Preparation
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.
Safety First
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.
Main Routes
Bundled Helpers
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
Cross-Links