|
|
|
@ -24,10 +24,10 @@ am_pad = 12
|
|
|
|
|
voc_upsample = 300
|
|
|
|
|
|
|
|
|
|
# 模型路径
|
|
|
|
|
dir_name = "/models/streaming_tts_serving/1"
|
|
|
|
|
phones_dict = dir_name + "fastspeech2_cnndecoder_csmsc_streaming_onnx_1.0.0/phone_id_map.txt"
|
|
|
|
|
am_stat_path = dir_name + "fastspeech2_cnndecoder_csmsc_streaming_onnx_1.0.0/speech_stats.npy"
|
|
|
|
|
|
|
|
|
|
dir_name = "/models/paddle_speech/1/"
|
|
|
|
|
onnx_am_encoder = dir_name + "fastspeech2_cnndecoder_csmsc_streaming_onnx_1.0.0/fastspeech2_csmsc_am_encoder_infer.onnx"
|
|
|
|
|
onnx_am_decoder = dir_name + "fastspeech2_cnndecoder_csmsc_streaming_onnx_1.0.0/fastspeech2_csmsc_am_decoder.onnx"
|
|
|
|
|
onnx_am_postnet = dir_name + "fastspeech2_cnndecoder_csmsc_streaming_onnx_1.0.0/fastspeech2_csmsc_am_postnet.onnx"
|
|
|
|
|