VITS_Japanese
1.0.0
(建議)python == 3.7
git clone https://github.com/CjangCjengh/vits.gitpip install -r requirements.txt“ n_speakers”在config.json中應為0
path/to/XXX.wav|transcript
dataset/001.wav|こんにちは。
揚聲器ID應該從0開始
path/to/XXX.wav|speaker id|transcript
dataset/001.wav|0|こんにちは。
如果您這樣做了,請將“ cleaned_text”設置為config.json中的true
# Single speaker
python preprocess.py --text_index 1 --filelists path/to/filelist_train.txt path/to/filelist_val.txt
# Mutiple speakers
python preprocess.py --text_index 2 --filelists path/to/filelist_train.txt path/to/filelist_val.txt cd monotonic_align
python setup.py build_ext --inplace
cd .. # Single speaker
python train.py -c < config > -m < folder >
# Mutiple speakers
python train_ms.py -c < config > -m < folder > 請參閱推理。 IPYNB
見Moegoe
docker run -itd --gpus all --name " Container name " -e NVIDIA_DRIVER_CAPABILITIES=compute,utility -e NVIDIA_VISIBLE_DEVICES=all " Image name "