未验证 提交 c6361a5f 编写于 作者: W WongLaw 提交者: GitHub

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
上级 5cdc79dd
...@@ -39,7 +39,7 @@ fi ...@@ -39,7 +39,7 @@ fi
export PATH="$MFA_DOWNLOAD_DIR/montreal-forced-aligner/bin" export PATH="$MFA_DOWNLOAD_DIR/montreal-forced-aligner/bin"
if [ ! -d "$EXP_DIR/baker_alignment" ]; then if [ ! -d "$EXP_DIR/baker_alignment" ]; then
echo "Start MFA training..." 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 "training done!"
echo "results: $EXP_DIR/baker_alignment" echo "results: $EXP_DIR/baker_alignment"
echo "model: $EXP_DIR/baker_model" echo "model: $EXP_DIR/baker_model"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册