Skip to content
Back to skills

Data Providers And Launchers

ASecurity

"Work with tf_unet data providers, toy generators, paired image

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
tools

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-providers-and-launchers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Providers And Launchers?

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

Security grade badge for Data Providers And Launchers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-providers-and-launchers/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-providers-and-launchers)

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-providers-and-launchers
description: "Work with tf_unet data providers, toy generators, paired image
  files, and launcher-style dataset workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# data-providers-and-launchers

Use this sub-skill when the task is about `BaseDataProvider`, `SimpleDataProvider`, `ImageDataProvider`, `GrayScaleDataProvider`, `RgbDataProvider`, toy data generation, TIFF mask pairing, or launcher-style dataset preparation.

If the question is really about the model graph, loss, optimizer, or checkpointing, switch to `../training-and-inference/SKILL.md`.

## Start here

- Read `references/data-formats.md` for shapes, label conventions, and file layouts.
- Read `references/workflows.md` for the toy, paired-image, and launcher-style workflows.
- Run `scripts/smoke_data_providers.py` when you want to validate provider shapes on synthetic fixtures.
- If the environment itself is failing, run the root smoke helper `../../scripts/check_tf_unet_env.py` first.

## Core decisions

- `BaseDataProvider` normalizes the absolute value of the data and then scales it into a 0-1 range.
- `ImageDataProvider` expects matching data and mask file names with the configured suffixes.
- The toy generators are easiest to use for tiny inspections when you keep `border` small enough for the chosen image size.
- `GrayScaleDataProvider` and `RgbDataProvider` are the safest way to create synthetic fixtures for quick smoke checks.
- External HDF5 workflows are format patterns, not bundled data; document them, but do not assume the files are present.

## What to mention in answers

- `SimpleDataProvider` is for already-prepared arrays; make sure the label shape matches the class layout you want.
- `ImageDataProvider` infers channel and class counts from the first matched image pair.
- `create_image_and_label(...)` and the toy data providers can be used to generate quick segmentation fixtures.
- The dataset-specific launcher patterns in this package are useful references even when the original data is unavailable.

## Bundled references

- `references/data-formats.md` — read for array shapes, mask/file suffixes, and launcher data layouts.
- `references/workflows.md` — read for NumPy, TIFF, and toy-generator recipes.
- `references/troubleshooting.md` — read when you hit file layout, shape, size, or dependency issues.

## Bundled script

- `scripts/smoke_data_providers.py` — run to validate synthetic NumPy, toy-generator, and paired-image fixtures.

## Common safety notes

- Keep the toy generator sizes large enough for the chosen `border` and `cnt` settings.
- Do not point future agents at the original checkout's dataset files as if they were bundled runtime assets.
- If the task is about a launcher workflow that needs external data, document the required file layout first and only then decide whether a synthetic smoke is possible.

Files in this skill

  • SKILL.md2.9 KB
  • references/data-formats.md2.8 KB
  • references/troubleshooting.md1.7 KB
  • references/workflows.md1.7 KB
  • scripts/smoke_data_providers.py2.9 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…