infer_by_ckpt.sh 862 字节
Newer Older
1 2
decode_to_path=./decoding_result.txt

Y
Yibing Liu 已提交
3
export CUDA_VISIBLE_DEVICES=0,1,2,3
4
python -u ../../infer_by_ckpt.py --batch_size 96  \
Y
Yibing Liu 已提交
5
                        --checkpoint checkpoints/deep_asr.latest.checkpoint \
Y
Yibing Liu 已提交
6
                        --infer_feature_lst data/test_feature.lst  \
Y
Yibing Liu 已提交
7
                        --mean_var data/global_mean_var \
Y
Yibing Liu 已提交
8 9
                        --frame_dim 80  \
                        --class_num 3040 \
10
                        --num_threads 24  \
Y
Yibing Liu 已提交
11
                        --beam_size 11 \
12
                        --decode_to_path $decode_to_path \
Y
Yibing Liu 已提交
13 14 15 16
                        --trans_model aux/final.mdl \
                        --log_prior aux/logprior \
                        --vocabulary aux/graph/words.txt \
                        --graphs aux/graph/HCLG.fst \
Y
Yibing Liu 已提交
17 18
                        --acoustic_scale 0.059 \
                        --parallel