From 7cf5be7a4258106ee284401f6448b125aea46ad8 Mon Sep 17 00:00:00 2001 From: jinzr <60612200+JinZr@users.noreply.github.com> Date: Thu, 7 Sep 2023 20:40:09 +0800 Subject: [PATCH] Update run-multi-zh_hans-zipformer.sh --- .github/scripts/run-multi-zh_hans-zipformer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/run-multi-zh_hans-zipformer.sh b/.github/scripts/run-multi-zh_hans-zipformer.sh index 63b84b059..1392b8429 100755 --- a/.github/scripts/run-multi-zh_hans-zipformer.sh +++ b/.github/scripts/run-multi-zh_hans-zipformer.sh @@ -33,7 +33,7 @@ for sym in 1 2 3; do ./zipformer/pretrained.py \ --checkpoint $repo/exp/epoch-99.pt \ - --lang-dir $repo/data/lang_bpe_2000 \ + --tokens $repo/data/lang_bpe_2000/tokens.txt \ --decoding-method greedy_search \ --max-sym-per-frame $sym \ $repo/test_wavs/DEV_T0000000000.wav \ @@ -48,7 +48,7 @@ for method in modified_beam_search beam_search fast_beam_search; do --decoding-method $method \ --beam-size 4 \ --checkpoint $repo/exp/epoch-99.pt \ - --lang-dir $repo/data/lang_bpe_2000 \ + --tokens $repo/data/lang_bpe_2000/tokens.txt \ $repo/test_wavs/DEV_T0000000000.wav \ $repo/test_wavs/DEV_T0000000001.wav \ $repo/test_wavs/DEV_T0000000002.wav