asr_pd.yaml 917 字节
Newer Older
L
lym0302 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# This is the parameter configuration file for ASR server.
# These are the static models that support paddle inference.

##################################################################
#                  ACOUSTIC MODEL SETTING                        #
# am choices=['deepspeech2offline_aishell'] TODO
##################################################################
model_type: 'deepspeech2offline_aishell'
am_model: # the pdmodel file of am static model [optional]
am_params:  # the pdiparams file of am static model [optional]
lang: 'zh'
sample_rate: 16000
cfg_path: 
decode_method: 
force_yes: True

am_predictor_conf:
L
lym0302 已提交
18
  device: 'cpu'  # set 'gpu:id' or 'cpu'
L
lym0302 已提交
19 20 21 22 23 24 25
  enable_mkldnn: True
  switch_ir_optim: True


##################################################################
#                            OTHERS                              #
##################################################################