-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TTS]空白文本、文本中连续多个符号合成语音报错,无法正常合成 #2505
Comments
请问是在用服务的时候报的错吗?用的指令测试吗?类似于这种:paddlespeech_client tts --server_ip 127.0.0.1 --port 8090 --input "您好,欢迎使用百度飞桨语音合成服务。" --output output.wav |
因为 paddlespeech 按照分句合成,可能是第一个分句的 mel 特征为空或者不够长导致的
对于情况 PaddleSpeech/paddlespeech/cli/tts/infer.py Line 455 in 0359c3f
对于情况 PaddleSpeech/paddlespeech/cli/tts/infer.py Line 440 in 0359c3f
True
欢迎调试后反馈或提交修复 pr |
问题 1 你自己 try catch 判断一下然后生成空音频就行 |
tts_python、tts_inference合成的文本存在以下情况时会直接报错,无法正常合成
The text was updated successfully, but these errors were encountered: