mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
Add comment for compile_hlg_using_openfst.py (#762)
This commit is contained in:
parent
b293db4baf
commit
fbc8894804
@ -302,13 +302,20 @@ fi
|
|||||||
if [ $stage -le 9 ] && [ $stop_stage -ge 9 ]; then
|
if [ $stage -le 9 ] && [ $stop_stage -ge 9 ]; then
|
||||||
log "Stage 9: Compile HLG"
|
log "Stage 9: Compile HLG"
|
||||||
./local/compile_hlg.py --lang-dir data/lang_phone
|
./local/compile_hlg.py --lang-dir data/lang_phone
|
||||||
./local/compile_hlg_using_openfst.py --lang-dir data/lang_phone
|
|
||||||
|
# Note If ./local/compile_hlg.py throws OOM,
|
||||||
|
# please switch to the following command
|
||||||
|
#
|
||||||
|
# ./local/compile_hlg_using_openfst.py --lang-dir data/lang_phone
|
||||||
|
|
||||||
for vocab_size in ${vocab_sizes[@]}; do
|
for vocab_size in ${vocab_sizes[@]}; do
|
||||||
lang_dir=data/lang_bpe_${vocab_size}
|
lang_dir=data/lang_bpe_${vocab_size}
|
||||||
./local/compile_hlg.py --lang-dir $lang_dir
|
./local/compile_hlg.py --lang-dir $lang_dir
|
||||||
|
|
||||||
./local/compile_hlg_using_openfst.py --lang-dir $lang_dir
|
# Note If ./local/compile_hlg.py throws OOM,
|
||||||
|
# please switch to the following command
|
||||||
|
#
|
||||||
|
# ./local/compile_hlg_using_openfst.py --lang-dir $lang_dir
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user