Update run-multi-zh_hans-zipformer.sh

This commit is contained in:
jinzr 2023-09-07 21:01:36 +08:00
parent 6f57e010fb
commit 80698fd219

View File

@ -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 \