|
|
@ -21,7 +21,7 @@ engine_list: ['asr_online']
|
|
|
|
################################### ASR #########################################
|
|
|
|
################################### ASR #########################################
|
|
|
|
################### speech task: asr; engine_type: online #######################
|
|
|
|
################### speech task: asr; engine_type: online #######################
|
|
|
|
asr_online:
|
|
|
|
asr_online:
|
|
|
|
model_type: 'conformer_online_multicn'
|
|
|
|
model_type: 'conformer_online_wenetspeech'
|
|
|
|
am_model: # the pdmodel file of am static model [optional]
|
|
|
|
am_model: # the pdmodel file of am static model [optional]
|
|
|
|
am_params: # the pdiparams file of am static model [optional]
|
|
|
|
am_params: # the pdiparams file of am static model [optional]
|
|
|
|
lang: 'zh'
|
|
|
|
lang: 'zh'
|
|
|
@ -29,7 +29,7 @@ asr_online:
|
|
|
|
cfg_path:
|
|
|
|
cfg_path:
|
|
|
|
decode_method:
|
|
|
|
decode_method:
|
|
|
|
force_yes: True
|
|
|
|
force_yes: True
|
|
|
|
device: # cpu or gpu:id
|
|
|
|
device: cpu # cpu or gpu:id
|
|
|
|
am_predictor_conf:
|
|
|
|
am_predictor_conf:
|
|
|
|
device: # set 'gpu:id' or 'cpu'
|
|
|
|
device: # set 'gpu:id' or 'cpu'
|
|
|
|
switch_ir_optim: True
|
|
|
|
switch_ir_optim: True
|
|
|
|