mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-07 08:04:18 +00:00
Minor fixes
This commit is contained in:
parent
72cd5b1608
commit
8dc2cd7e23
0
egs/librispeech/ASR/local/compile_lg.py
Normal file → Executable file
0
egs/librispeech/ASR/local/compile_lg.py
Normal file → Executable file
@ -242,3 +242,14 @@ if [ $stage -le 9 ] && [ $stop_stage -ge 9 ]; then
|
|||||||
./local/compile_hlg.py --lang-dir $lang_dir
|
./local/compile_hlg.py --lang-dir $lang_dir
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Compile LG for RNN-T fast_beam_search decoding
|
||||||
|
if [ $stage -le 10 ] && [ $stop_stage -ge 10 ]; then
|
||||||
|
log "Stage 10: Compile LG"
|
||||||
|
./local/compile_lg.py --lang-dir data/lang_phone
|
||||||
|
|
||||||
|
for vocab_size in ${vocab_sizes[@]}; do
|
||||||
|
lang_dir=data/lang_bpe_${vocab_size}
|
||||||
|
./local/compile_lg.py --lang-dir $lang_dir
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user