do some changes

This commit is contained in:
luomingshuang 2022-07-27 19:21:01 +08:00
parent d2581cfcb4
commit 23be42a8c9
2 changed files with 14 additions and 14 deletions

View File

@ -19,29 +19,29 @@
"""
When training with the L subset, usage:
(1) greedy search
./pruned_transducer_stateless2/decode.py \
--epoch 10 \
--avg 2 \
--exp-dir ./pruned_transducer_stateless2/exp \
./pruned_transducer_stateless5/decode.py \
--epoch 4 \
--avg 1 \
--exp-dir ./pruned_transducer_stateless5/exp_L_offline \
--lang-dir data/lang_char \
--max-duration 100 \
--decoding-method greedy_search
(2) modified beam search
./pruned_transducer_stateless2/decode.py \
--epoch 10 \
--avg 2 \
--exp-dir ./pruned_transducer_stateless2/exp \
./pruned_transducer_stateless5/decode.py \
--epoch 4 \
--avg 1 \
--exp-dir ./pruned_transducer_stateless5/exp_L_offline \
--lang-dir data/lang_char \
--max-duration 100 \
--decoding-method modified_beam_search \
--beam-size 4
(3) fast beam search
./pruned_transducer_stateless2/decode.py \
--epoch 10 \
--avg 2 \
--exp-dir ./pruned_transducer_stateless2/exp \
./pruned_transducer_stateless5/decode.py \
--epoch 4 \
--avg 1 \
--exp-dir ./pruned_transducer_stateless5/exp_L_offline \
--lang-dir data/lang_char \
--max-duration 1500 \
--decoding-method fast_beam_search \

View File

@ -18,12 +18,12 @@
"""
Usage:
python pruned_transducer_stateless5/streaming_decode.py \
--epoch 5 \
--epoch 7 \
--avg 1 \
--decode-chunk-size 16 \
--left-context 64 \
--right-context 0 \
--exp-dir ./pruned_transducer_stateless5/exp \
--exp-dir ./pruned_transducer_stateless5/exp_L_streaming \
--decoding-method greedy_search \
--num-decode-streams 2000
"""