mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-09 00:54:18 +00:00
Update run-multi-zh_hans-zipformer.sh
This commit is contained in:
parent
6f57e010fb
commit
80698fd219
20
.github/scripts/run-multi-zh_hans-zipformer.sh
vendored
20
.github/scripts/run-multi-zh_hans-zipformer.sh
vendored
@ -28,20 +28,16 @@ popd
|
|||||||
|
|
||||||
ls -lh $repo/exp/*.pt
|
ls -lh $repo/exp/*.pt
|
||||||
|
|
||||||
for sym in 1 2 3; do
|
|
||||||
log "Greedy search with --max-sym-per-frame $sym"
|
|
||||||
|
|
||||||
./zipformer/pretrained.py \
|
./zipformer/pretrained.py \
|
||||||
--checkpoint $repo/exp/epoch-99.pt \
|
--checkpoint $repo/exp/epoch-99.pt \
|
||||||
--tokens $repo/data/lang_bpe_2000/tokens.txt \
|
--tokens $repo/data/lang_bpe_2000/tokens.txt \
|
||||||
--method greedy_search \
|
--method greedy_search
|
||||||
--max-sym-per-frame $sym \
|
$repo/test_wavs/DEV_T0000000000.wav \
|
||||||
$repo/test_wavs/DEV_T0000000000.wav \
|
$repo/test_wavs/DEV_T0000000001.wav \
|
||||||
$repo/test_wavs/DEV_T0000000001.wav \
|
$repo/test_wavs/DEV_T0000000002.wav
|
||||||
$repo/test_wavs/DEV_T0000000002.wav
|
|
||||||
done
|
|
||||||
|
|
||||||
for method in modified_beam_search beam_search fast_beam_search; do
|
for method in modified_beam_search fast_beam_search; do
|
||||||
log "$method"
|
log "$method"
|
||||||
|
|
||||||
./zipformer/pretrained.py \
|
./zipformer/pretrained.py \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user