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 "