Skip to content

Commit

Permalink
Fix an error occured during mmi preparation (#1626)
Browse files Browse the repository at this point in the history
* init commit

* updated
  • Loading branch information
JinZr authored May 17, 2024
1 parent 9d57087 commit 68980c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions egs/librispeech/ASR/prepare_lm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ log "Running prepare_lm.sh"
stage=0
stop_stage=100

. shared/parse_options.sh || exit 1

if [ $stage -le 0 ] && [ $stop_stage -ge 0 ]; then
log "Stage 0: Prepare BPE based lexicon."

Expand Down
4 changes: 4 additions & 0 deletions egs/librispeech/ASR/prepare_mmi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ set -eou pipefail

. prepare.sh --stage -1 --stop-stage 6 || exit 1

. prepare_lm.sh --stage 0 --stop-stage 0 || exit 1

log "Running prepare_mmi.sh"

stage=0
stop_stage=100

. shared/parse_options.sh || exit 1

if [ $stage -le 0 ] && [ $stop_stage -ge 0 ]; then
log "Stage 0: Prepare bigram token-level P for MMI training"

Expand Down

0 comments on commit 68980c5

Please sign in to comment.