From 908da44978d698ff7eea2a707d67ed69bff6f991 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Mon, 28 Oct 2024 23:08:54 +0800 Subject: [PATCH] fix building monotonic alignment --- egs/ljspeech/TTS/prepare.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/egs/ljspeech/TTS/prepare.sh b/egs/ljspeech/TTS/prepare.sh index dfc2b3540..6f16f8d47 100755 --- a/egs/ljspeech/TTS/prepare.sh +++ b/egs/ljspeech/TTS/prepare.sh @@ -36,11 +36,11 @@ if [ $stage -le -1 ] && [ $stop_stage -ge -1 ]; then if [ ! -f ./matcha/monotonic_align/core.cpython-38-x86_64-linux-gnu.so ]; then pushd matcha/monotonic_align - python3 setup.py build_ext --inplace - mv -v matcha/monotonic_align/core.cpython-38-x86_64-linux-gnu.so ./ - rm -rf matcha + python3 setup.py build + mv -v build/lib.*/matcha/monotonic_align/core.*.so . rm -rf build rm core.c + ls -lh popd else log "monotonic_align lib for matcha-tts already built"