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