From c6361a5f074d6cf25ef7c8731eac5123f498b44a Mon Sep 17 00:00:00 2001 From: WongLaw Date: Tue, 20 Sep 2022 14:35:06 +0800 Subject: [PATCH] Replaced the fixed path with the dynamic path in MFA, test=doc (#2416) * Replaced the fixed path with the dynamic path in MFA, test=doc --- examples/other/mfa/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/other/mfa/run.sh b/examples/other/mfa/run.sh index 29dacc9b..40241683 100755 --- a/examples/other/mfa/run.sh +++ b/examples/other/mfa/run.sh @@ -39,7 +39,7 @@ fi export PATH="$MFA_DOWNLOAD_DIR/montreal-forced-aligner/bin" if [ ! -d "$EXP_DIR/baker_alignment" ]; then echo "Start MFA training..." - mfa_train_and_align $EXP_DIR/baker_corpus "$EXP_DIR/$LEXICON_NAME.lexicon" $EXP_DIR/baker_alignment -o $EXP_DIR/baker_model --clean --verbose --temp_directory exp/.mfa_train_and_align + mfa_train_and_align $EXP_DIR/baker_corpus "$EXP_DIR/$LEXICON_NAME.lexicon" $EXP_DIR/baker_alignment -o $EXP_DIR/baker_model --clean --verbose --temp_directory $EXP_DIR/.mfa_train_and_align echo "training done!" echo "results: $EXP_DIR/baker_alignment" echo "model: $EXP_DIR/baker_model"