export CUDA_VISIBLE_DEVICES="0" | |
for m in greedy_search modified_beam_search fast_beam_search; do | |
./pruned_transducer_stateless7_streaming/pretrained.py \ | |
--checkpoint ./pruned_transducer_stateless7_streaming/exp/pretrained.pt \ | |
--bpe-model ./data/lang_bpe_500/bpe.model \ | |
--method $m \ | |
--beam-size 4 \ | |
--beam 4 \ | |
--max-contexts 4 \ | |
--max-states 8 \ | |
test_wavs/common_voice_fr_19364697.wav \ | |
test_wavs/common_voice_fr_19738183.wav \ | |
test_wavs/common_voice_fr_27024649.wav | |
done |