diff --git a/.github/scripts/run-multi-zh_hans-zipformer.sh b/.github/scripts/run-multi-zh_hans-zipformer.sh index aed9151485..c454bb909a 100755 --- a/.github/scripts/run-multi-zh_hans-zipformer.sh +++ b/.github/scripts/run-multi-zh_hans-zipformer.sh @@ -28,20 +28,16 @@ popd ls -lh $repo/exp/*.pt -for sym in 1 2 3; do - log "Greedy search with --max-sym-per-frame $sym" - ./zipformer/pretrained.py \ - --checkpoint $repo/exp/epoch-99.pt \ - --tokens $repo/data/lang_bpe_2000/tokens.txt \ - --method greedy_search \ - --max-sym-per-frame $sym \ - $repo/test_wavs/DEV_T0000000000.wav \ - $repo/test_wavs/DEV_T0000000001.wav \ - $repo/test_wavs/DEV_T0000000002.wav -done +./zipformer/pretrained.py \ + --checkpoint $repo/exp/epoch-99.pt \ + --tokens $repo/data/lang_bpe_2000/tokens.txt \ + --method greedy_search +$repo/test_wavs/DEV_T0000000000.wav \ +$repo/test_wavs/DEV_T0000000001.wav \ +$repo/test_wavs/DEV_T0000000002.wav -for method in modified_beam_search beam_search fast_beam_search; do +for method in modified_beam_search fast_beam_search; do log "$method" ./zipformer/pretrained.py \