技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training-data【数据与研究】Prepare and validate DeepFilterNet training datasets, dataset configuration, training launch setup, checkpoints/resume behavior, and host batch-size settings.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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:
../python-enhancement/SKILL.md.../model-export-evaluation/SKILL.md.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.
Read references/data-formats.md before creating HDF5 datasets or editing dataset.cfg.
Validate the dataset config before training:
python scripts/validate_dataset_config.py --config dataset.cfg --data-dir data --require-files --check-hdf5
Follow references/workflows.md for the safe prepare-data → validate → train sequence, checkpoint/resume behavior, and host batch-size workflow.
Use references/configuration.md when creating or modifying base_dir/config.ini.
If anything fails, check references/troubleshooting.md before retrying long-running commands.
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: 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 and ask for user input before: