Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.17 KB

readme.md

File metadata and controls

55 lines (43 loc) · 1.17 KB

VITS2

This repo is practice project.

Tensorboard

tensorboard --logdir {model_dir} --port 6006

Prepare train, validation data

# single speaker
python preprocess.py --text_index 1 --filelists filelists/train.txt filelists/train_val.txt --text_cleaners korean_cleaners

# multi speaker
python preprocess.py --text_index 2 --filelists filelists/train.txt filelists/train_val.txt --text_cleaners korean_cleaners

Train

python train_ms.py --config {config_file_path} --model {model_name}

Setup env

python 3.10 require

Create anaconda env

conda create -n vits2 python=3.10

Activate anaconda env

conda activate vits2

Install packages

pip install poetry
poetry install

Build monotonic_align

cd monotomic_align
mkdir monotomic_align
python setup.py build_ext --inplace

References