界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

inference

inference

【效率与协作】Pretrained StyleTTS2 inference, asset checks, phonemizer readiness, and long-form synthesis troubleshooting for LJSpeech and LibriTTS.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: inference description: "Pretrained StyleTTS2 inference, asset checks, phonemizer readiness, and long-form synthesis troubleshooting for LJSpeech and LibriTTS." disable-model-invocation: true metadata: disco-role: operating license: MIT

Inference

Use this sub-skill for pretrained StyleTTS2 demos and troubleshooting only. It covers the LJSpeech single-speaker path, the LibriTTS multi-speaker path, reference-audio style extraction, diffusion/style controls, and safe asset checks.

Route elsewhere

  • Training or fine-tuning -> the training sub-skill.
  • Data-list prep or config edits -> the data-and-config sub-skill.

Start here

Run scripts/check_inference_assets.py before trying to synthesize. It inspects expected checkpoints, bundled helper assets, optional phonemizer/espeak readiness, and LibriTTS reference-audio availability without downloading or generating audio.

Bundled references

Cautions

  • Treat generated speech as synthesized unless you have permission and license to use the voice.
  • The README notes a GPL-licensed fork and an MIT-licensed PyPI package as external alternatives, but they are not this repository's core workflow.
  • Older GPUs can produce high-pitched background noise; prefer a newer CUDA GPU or CPU inference if you hit that issue.

Output contract

The notebook workflows produce 24 kHz waveforms, usually returned as NumPy arrays that can be played with IPython.display.Audio.

我的收藏