技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training【数据与研究】Train and validate custom Spleeter source-separation models with safe data and config helpers.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about custom Spleeter model training: spleeter train, training CSVs, custom stems, model_dir checkpoints, DatasetBuilder, get_training_dataset, get_validation_dataset, config validation, cache directories, or TensorFlow estimator training behavior.
Do not use this sub-skill for pretrained separation or MUSDB metrics:
Separator, output stems, codecs, and filename templates: separation.spleeter evaluate, musdb/museval, and SDR/SAR/SIR/ISR reports: evaluation.>=3.8,<3.12, Spleeter 2.4.2, TensorFlow 2.12.1, and system ffmpeg/ffprobe. GPU is optional acceleration only; CPU training is supported but slow for real datasets.The supported training CLI shape is:
python -m spleeter train \
--data DATA_ROOT \
--params_filename CONFIG.json \
--adapter spleeter.audio.ffmpeg.FFMPEGProcessAudioAdapter \
--verbose
Short aliases are --data/-d, --params_filename/-p, and --adapter/-a. CONFIG.json must describe the dataset CSVs, STFT dimensions, source instruments, caches, checkpoint settings, and model function. CSV audio paths are relative to --data DATA_ROOT.
This sub-skill distills the training surfaces evidenced by spleeter/__main__.py, spleeter/dataset.py, spleeter/model/__init__.py, spleeter/model/functions/unet.py, spleeter/utils/configuration.py, spleeter/utils/tensor.py, spleeter/resources/*.json, configs/musdb_config.json, configs/musdb_train.csv, configs/musdb_validation.csv, tests/test_train.py, and pyproject.toml.