mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-18 05:32:20 +00:00
updated
This commit is contained in:
parent
f24713285a
commit
53ec156198
@ -1,4 +1,4 @@
|
|||||||
# Copied from
|
# Modified from
|
||||||
# https://github.com/shivammehta25/Matcha-TTS/blob/main/matcha/utils/monotonic_align/setup.py
|
# https://github.com/shivammehta25/Matcha-TTS/blob/main/matcha/utils/monotonic_align/setup.py
|
||||||
from Cython.Build import cythonize
|
from Cython.Build import cythonize
|
||||||
from setuptools import Extension, setup
|
from setuptools import Extension, setup
|
||||||
|
@ -26,13 +26,15 @@ log "dl_dir: $dl_dir"
|
|||||||
|
|
||||||
if [ $stage -le -1 ] && [ $stop_stage -ge -1 ]; then
|
if [ $stage -le -1 ] && [ $stop_stage -ge -1 ]; then
|
||||||
log "Stage -1: build monotonic_align lib (used by vits and matcha recipes)"
|
log "Stage -1: build monotonic_align lib (used by vits and matcha recipes)"
|
||||||
if [ ! -d vits/monotonic_align/build ]; then
|
for recipe in vits matcha; do
|
||||||
cd vits/monotonic_align
|
if [ ! -d $recipe/monotonic_align/build ]; then
|
||||||
|
cd $recipe/monotonic_align
|
||||||
python3 setup.py build_ext --inplace
|
python3 setup.py build_ext --inplace
|
||||||
cd ../../
|
cd ../../
|
||||||
else
|
else
|
||||||
log "monotonic_align lib for vits already built"
|
log "monotonic_align lib for $recipe already built"
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $stage -le 0 ] && [ $stop_stage -ge 0 ]; then
|
if [ $stage -le 0 ] && [ $stop_stage -ge 0 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user