匿名用户2024年07月31日
50阅读

技术信息

开源地址
https://modelscope.cn/models/cjc1887415157/vits_models

作品详情

How to use

(Suggestio) Pytho == 3.7

Cloe this repository

git cloe https://github.com/CjagCjegh/vits.git

Choose cleaers

  • Fill "text_cleaers" i cofig.jso
  • Edit text/symbols.py
  • Remove uecessary imports from text/cleaers.py

Istall requiremets

pip istall -r requiremets.txt

Create datasets

Sigle speaker

"_speakers" should be 0 i cofig.jso

path/to/XXX.wav|trascript
  • Example
dataset/001.wav|こんにちは。

Mutiple speakers

Speaker id should start from 0

path/to/XXX.wav|speaker id|trascript
  • Example
dataset/001.wav|0|こんにちは。

Preprocess

If you have doe this, set "cleaed_text" to true i cofig.jso

# Sigle speaker
pytho preprocess.py --text_idex 1 --filelists path/to/filelist_trai.txt path/to/filelist_val.txt

# Mutiple speakers
pytho preprocess.py --text_idex 2 --filelists path/to/filelist_trai.txt path/to/filelist_val.txt

Build mootoic aligmet search

cd mootoic_alig
pytho setup.py build_ext --iplace
cd ..

Trai

# Sigle speaker
pytho trai.py -c <cofig> -m <folder>

# Mutiple speakers
pytho trai_ms.py -c <cofig> -m <folder>

Iferece

Olie

See iferece.ipyb

Offlie

See MoeGoe

Ruig i Docker

docker ru -itd --gpus all --ame "Cotaier ame" -e NVIDIA_DRIVER_CAPABILITIES=compute,utility -e NVIDIA_VISIBLE_DEVICES=all "Image ame"

功能介绍

How to use (Suggestion) Python == 3.7 Clone this repository git clone https://github.com/CjangCjengh

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论