Skip to content
Back to skills

Data Preparation

ASecurity

"Guides SiamMask benchmark and training data acquisition, layout

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolspythonbash

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-preparation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Preparation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Data Preparation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-preparation-41e4e765/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-preparation-41e4e765)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

| User intent | What to do |
| --- | --- |
| "Check whether data is prepared" | Run [scripts/check_dataset_layout.py](scripts/check_dataset_layout.py) and read [references/data-layouts.md](references/data-layouts.md). |
| "Generate VOT metadata JSON" | Use [scripts/generate_vot_json.py](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](scripts/run_data_prep.py) in dry-run mode, then add `--run` only after approving side effects. |
| "Prepare training data" | Read [references/workflows.md](references/workflows.md#training-data-preparation-order) and validate COCO/DET/VID/YouTube-VOS generated outputs before training. |
| "Dataset errors during tracking/training" | Read [references/troubleshooting.md](references/troubleshooting.md) and root troubleshooting. |

## 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:

```bash
python scripts/check_dataset_layout.py --data-root <siammask-checkout>/data --dataset training
```

Example VOT metadata generation:

```bash
python scripts/generate_vot_json.py \
  --dataset-root <siammask-checkout>/data/VOT2019 \
  --dataset-name VOT2019 \
  --output <siammask-checkout>/data/VOT2019.json
```

## Cross-Links

- After benchmark data exists, use [../tracking/SKILL.md](../tracking/SKILL.md) for test/eval/tune runs.
- After training data exists, use [../training/SKILL.md](../training/SKILL.md) for CUDA training dry-runs.
- Use root [install/setup](../../references/install-and-setup.md) for Cython extension and pycocotools build details.

Files in this skill

  • SKILL.md2.8 KB
  • references/data-layouts.md2.5 KB
  • references/troubleshooting.md2.8 KB
  • references/workflows.md3.1 KB
  • scripts/check_dataset_layout.py5 KB
  • scripts/generate_vot_json.py4.6 KB
  • scripts/run_data_prep.py4.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.