mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 18:24:18 +00:00
fix building monotonic alignment
This commit is contained in:
parent
761bc76c45
commit
908da44978
@ -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
|
if [ ! -f ./matcha/monotonic_align/core.cpython-38-x86_64-linux-gnu.so ]; then
|
||||||
pushd matcha/monotonic_align
|
pushd matcha/monotonic_align
|
||||||
python3 setup.py build_ext --inplace
|
python3 setup.py build
|
||||||
mv -v matcha/monotonic_align/core.cpython-38-x86_64-linux-gnu.so ./
|
mv -v build/lib.*/matcha/monotonic_align/core.*.so .
|
||||||
rm -rf matcha
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rm core.c
|
rm core.c
|
||||||
|
ls -lh
|
||||||
popd
|
popd
|
||||||
else
|
else
|
||||||
log "monotonic_align lib for matcha-tts already built"
|
log "monotonic_align lib for matcha-tts already built"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user