jmwang66
2022-12-26 682204f0bb1335eb9ba3a2f0eb5605bdf42e8505
egs_modelscope/wenetspeech/paraformer/paraformer_large_infer.sh
@@ -8,11 +8,11 @@
data_dir=
exp_dir=
model_name=speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch
model_revision="v1.0.3"     # please do not modify the model revision
model_revision="v1.0.4"     # please do not modify the model revision
inference_nj=32
gpuid_list="0,1" # set gpus, e.g., gpuid_list="0,1"
gpuid_list="0" # set gpus, e.g., gpuid_list="0,1"
ngpu=$(echo $gpuid_list | awk -F "," '{print NF}')
njob=4  # the number of jobs for each gpu
njob=1  # the number of jobs for each gpu
gpu_inference=true  # Whether to perform gpu decoding, set false for cpu decoding
if ${gpu_inference}; then