mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
Fix decoding finetune model (#1568)
This commit is contained in:
parent
b156b6c291
commit
42de459110
@ -47,7 +47,9 @@ fi
|
||||
|
||||
if [ $stage -le 1 ] && [ $stop_stage -ge 1 ]; then
|
||||
log "Stage 1: Decode the model."
|
||||
for t in small, large; do
|
||||
|
||||
export CUDA_VISIBLE_DEVICES="0"
|
||||
for t in small large; do
|
||||
python ./zipformer/decode.py \
|
||||
--epoch 12 \
|
||||
--avg 2 \
|
||||
@ -140,7 +142,8 @@ fi
|
||||
|
||||
if [ $stage -le 4 ] && [ $stop_stage -ge 4 ]; then
|
||||
log "Stage 1: Decode the finetuned model."
|
||||
for t in small, large; do
|
||||
export CUDA_VISIBLE_DEVICES="0"
|
||||
for t in small large; do
|
||||
python ./zipformer/decode.py \
|
||||
--epoch 10 \
|
||||
--avg 2 \
|
||||
|
@ -48,7 +48,8 @@ fi
|
||||
|
||||
if [ $stage -le 1 ] && [ $stop_stage -ge 1 ]; then
|
||||
log "Stage 1: Decode the model."
|
||||
for t in small, large; do
|
||||
export CUDA_VISIBLE_DEVICES="0"
|
||||
for t in small large; do
|
||||
python ./zipformer/decode.py \
|
||||
--epoch 18 \
|
||||
--avg 2 \
|
||||
@ -143,7 +144,8 @@ fi
|
||||
|
||||
if [ $stage -le 4 ] && [ $stop_stage -ge 4 ]; then
|
||||
log "Stage 1: Decode the finetuned model."
|
||||
for t in small, large; do
|
||||
export CUDA_VISIBLE_DEVICES="0"
|
||||
for t in small large; do
|
||||
python ./zipformer/decode.py \
|
||||
--epoch 10 \
|
||||
--avg 2 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user