From a6d018acecc9d3a800c9349e510cd4c6412c3800 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Mon, 28 Oct 2024 23:12:16 +0800 Subject: [PATCH] install missing deps --- .github/scripts/ljspeech/TTS/run-matcha.sh | 8 ++++---- egs/ljspeech/TTS/matcha/requirements.txt | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 egs/ljspeech/TTS/matcha/requirements.txt diff --git a/.github/scripts/ljspeech/TTS/run-matcha.sh b/.github/scripts/ljspeech/TTS/run-matcha.sh index b1da5ff13..26ce17b23 100755 --- a/.github/scripts/ljspeech/TTS/run-matcha.sh +++ b/.github/scripts/ljspeech/TTS/run-matcha.sh @@ -2,13 +2,13 @@ set -ex -sudo apt-get install sox +apt-get install sox python3 -m pip install piper_phonemize -f https://k2-fsa.github.io/icefall/piper_phonemize.html python3 -m pip install espnet_tts_frontend python3 -m pip install numba -pytnon3 -m pip install conformer==0.3.2 diffusers +python3 -m pip install conformer==0.3.2 diffusers librosa log() { # This function is from espnet @@ -37,12 +37,12 @@ function prepare_data() { } function train() { - pushd ./vits + pushd ./matcha sed -i.bak s/1500/3/g ./train.py git diff . popd - ./vits/train.py \ + ./matcha/train.py \ --exp-dir matcha/exp \ --num-epochs 1 \ --save-every-n 1 \ diff --git a/egs/ljspeech/TTS/matcha/requirements.txt b/egs/ljspeech/TTS/matcha/requirements.txt new file mode 100644 index 000000000..5aadc8984 --- /dev/null +++ b/egs/ljspeech/TTS/matcha/requirements.txt @@ -0,0 +1,3 @@ +conformer==0.3.2 +diffusers # developed using version ==0.25.0 +librosa