Skip to content
Back to skills

Training Data

ASecurity

"Prepare and validate DeepFilterNet training datasets, dataset

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolspythonbash

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Training Data?

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

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

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: training-data
description: "Prepare and validate DeepFilterNet training datasets, dataset
  configuration, training launch setup, checkpoints/resume behavior, and host
  batch-size settings."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# DeepFilterNet training data and training setup

Use this sub-skill when the task is to prepare DeepFilterNet HDF5 datasets, validate a `dataset.cfg`, set up a training command, reason about `base_dir` outputs/checkpoints/resume, or apply host-specific batch-size settings.

Do not use this sub-skill for:

- Enhancing audio or loading models for inference: use [`../python-enhancement/SKILL.md`](../python-enhancement/SKILL.md).
- ONNX export, benchmark metrics, DNSMOS, VoiceBank, or post-training evaluation: use [`../model-export-evaluation/SKILL.md`](../model-export-evaluation/SKILL.md).
- Network dataset downloads, cluster submission, or large shared-filesystem copy jobs. Those source workflows are reference-only; validate local files first and require explicit user approval before any large data movement.

## Fast route

1. Confirm the environment has the training stack: DeepFilterNet Python package, PyTorch/torchaudio, and `libdfdata`/`deepfilterdataloader`; HDF5/audio conversion also needs `h5py` and audio codec support.
2. Read [`references/data-formats.md`](references/data-formats.md) before creating HDF5 datasets or editing `dataset.cfg`.
3. Validate the dataset config before training:

   ```bash
   python scripts/validate_dataset_config.py --config dataset.cfg --data-dir data --require-files --check-hdf5
   ```

4. Follow [`references/workflows.md`](references/workflows.md) for the safe prepare-data → validate → train sequence, checkpoint/resume behavior, and host batch-size workflow.
5. Use [`references/configuration.md`](references/configuration.md) when creating or modifying `base_dir/config.ini`.
6. If anything fails, check [`references/troubleshooting.md`](references/troubleshooting.md) before retrying long-running commands.

## Bundled helpers

- [`scripts/validate_dataset_config.py`](scripts/validate_dataset_config.py): self-contained JSON/HDF5 dataset config validator. It works without `h5py` by warning and skipping HDF5 internals.
- [`scripts/set_batch_size.py`](scripts/set_batch_size.py): self-contained host-batch-size helper adapted from the DeepFilterNet training workflow. It updates only `train.batch_size`, `train.batch_size_eval`, and the host batch-size config keys it owns.

## Stop conditions

Stop and ask for user input before:

- Downloading external datasets or running any script that fetches, extracts, copies, deletes, or rsyncs large data.
- Starting training when the validator reports missing required splits, missing HDF5 files, malformed sampling factors, or no usable speech/noise datasets.
- Mutating an existing run directory whose checkpoints/config do not match the intended model, sample rate, or FFT settings.
- Continuing after repeated NaN/non-finite losses unless the user accepts a reduced/debug run and the troubleshooting checks have been applied.

Files in this skill

  • SKILL.md3.1 KB
  • references/configuration.md10.2 KB
  • references/data-formats.md8.5 KB
  • references/troubleshooting.md9.6 KB
  • references/workflows.md8.8 KB
  • scripts/set_batch_size.py6.2 KB
  • scripts/validate_dataset_config.py15 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.