|
#!/bin/bash |
|
project=project |
|
if [ -d "SuTTS" ]; then |
|
echo "SuTTS already exists" |
|
cd $project |
|
git pull --recurse-submodules |
|
git submodule update --recursive |
|
git submodule sync |
|
else |
|
git clone https://github.com/Plachtaa/VITS-fast-fine-tuning.git --recurse-submodules $project |
|
git checkout 0fe10b449e673cbbd0ddb3b4fe4967e4f7096a09 |
|
cd $project |
|
fi |
|
|
|
|
|
cd monotonic_align/ |
|
mkdir monotonic_align |
|
python setup.py build_ext --inplace |
|
cd .. |
|
|
|
cp scripts/VC_inference.py . |
|
python VC_inference.py --model_dir ../G_latest.pth --config_dir ../finetune_speaker.json |
|
|