mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-14 04:22:21 +00:00
update comments
This commit is contained in:
parent
af048b279c
commit
c055f0cc49
@ -6,9 +6,9 @@ set -eou pipefail
|
|||||||
stage=0
|
stage=0
|
||||||
stop_stage=2
|
stop_stage=2
|
||||||
|
|
||||||
epoch=10
|
epoch=20
|
||||||
avg=1
|
avg=1
|
||||||
max_duration=150
|
max_duration=200
|
||||||
exp_dir=./ctc_tdnn/exp_max_duration_${max_duration}/
|
exp_dir=./ctc_tdnn/exp_max_duration_${max_duration}/
|
||||||
epoch_avg=epoch_${epoch}-avg_${avg}
|
epoch_avg=epoch_${epoch}-avg_${avg}
|
||||||
post_dir=${exp_dir}/post/${epoch_avg}
|
post_dir=${exp_dir}/post/${epoch_avg}
|
||||||
@ -26,12 +26,12 @@ if [ $stage -le 0 ] && [ $stop_stage -ge 0 ]; then
|
|||||||
log "Stage 0: Model training"
|
log "Stage 0: Model training"
|
||||||
python ./ctc_tdnn/train.py \
|
python ./ctc_tdnn/train.py \
|
||||||
--num-epochs $epoch \
|
--num-epochs $epoch \
|
||||||
--exp-dir $exp_dir
|
--exp-dir $exp_dir \
|
||||||
--max-duration $max_duration
|
--max-duration $max_duration
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $stage -le 1 ] && [ $stop_stage -ge 1 ]; then
|
if [ $stage -le 1 ] && [ $stop_stage -ge 1 ]; then
|
||||||
log "Stage 1: Get posterior of test sets"
|
log "Stage 1: Get posterior(log_softmax(logit)) of test sets"
|
||||||
python ctc_tdnn/inference.py \
|
python ctc_tdnn/inference.py \
|
||||||
--avg $avg \
|
--avg $avg \
|
||||||
--epoch $epoch \
|
--epoch $epoch \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user