Skip to content

Commit

Permalink
Update run-multi-zh_hans-zipformer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr committed Sep 7, 2023
1 parent 6f57e01 commit 80698fd
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/scripts/run-multi-zh_hans-zipformer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 80698fd

Please sign in to comment.