valle_libritts

我要开发同款
匿名用户2024年07月31日
25阅读
所属分类ai
开源地址https://modelscope.cn/models/AI-ModelScope/valle_libritts
授权协议mit

作品详情

Pretrained Model of Amphion Vall-E

We provide the pre-trained checkpoint of Vall-E trained on LibriTTS, which is is a multi-speaker English corpus of approximately 585 hours of read English speech at 24kHz.

Quick Start

To utilize the pretrained models, just run the following commands:

Step1: Download the checkpoint

git lfs install
git clone https://huggingface.co/amphion/valle_libritts

Step2: Clone the Amphion's Source Code of GitHub

git clone https://github.com/open-mmlab/Amphion.git

Step3: Specify the checkpoint's path

Use the soft link to specify the downloaded checkpoint in the first step:

cd Amphion
mkdir -p ckpts/tts
ln -s  ../../../valle_libritts  ckpts/tts/

Step4: Inference

You can follow the inference part of this recipe to generate speech from text. For example, if you want to synthesize a clip of speech with the text of "This is a clip of generated speech with the given text from Amphion Vall-E model.", just, run:

sh egs/tts/VALLE/run.sh --stage 3 --gpu "0" \
    --config "ckpts/tts/valle_libritts/args.json" \
    --infer_expt_dir Amphion/ckpts/tts/valle_libritts \
    --infer_output_dir Amphion/ckpts/tts/valle_libritts/result \
    --infer_mode "single" \
    --infer_text "This is a clip of generated speech with the given text from Amphion Vall-E model." \
    --infer_text_prompt "But even the unsuccessful dramatist has his moments." \
    --infer_audio_prompt egs/tts/VALLE/prompt_examples/7176_92135_000004_000000.wav
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论