supotato6

Results 13 comments of supotato6

这个报错看起来是一个pytorch库的问题,原因可能是这个文件本身损坏、丢失,你可以尝试彻底卸载当前安装​​`pip uninstall torch torchvision torchaudio` 并尝试安装一个已知稳定的版本组合

paddlespeech可能对paddlepaddle-dcu支持不足,目前没有合适的测试机排除DCU版本paddlepaddle的问题,您可以尝试安装paddlespeech develop版本尝试是否能解决这个问题

Thank you for your suggestion. We will consider adding a processing mode related to skipping duration in the future.

您的报错提示,是否正确使用了文件目录呢: FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu22/Documents/MFA/newdir/train/mfcc/raw_mfcc.0.scp'

您说的是tts模型吗,标点符号停顿暂时没有办法单独调整,整体语速的话您可以调整模型对应参数比如[fastspeech model](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/paddlespeech/t2s/models/fastspeech2/fastspeech2.py)的inference函数的alpha参数,可能会有帮助

可以分享一下您是怎么使用的吗

不是特别清楚您使用的am和voc是什么,如果是默认的tts方法使用的是fastspeech am_predictor,暂时没有可以直接使用的参数供您调节生成语音的速度,但可以给您一些简单的方法进行修改。 如果您希望为这个方法直接增加一个参数进行控制,您可以关注https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/paddlespeech/cli/tts/infer.py 这个文件671行__call__函数增加控制语速的alpha参数,并根据调用链将参数一路传给https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/paddlespeech/t2s/models/fastspeech2/fastspeech2.py 文件664行hs中的alpha参数,这个参数是用来控制语速的,alpha参数数值越大语速越慢。 如果只是希望测试,可以直接在https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/paddlespeech/t2s/models/fastspeech2/fastspeech2.py 文件664行修改alpha参数的值。 在修改后 cd PaddleSpeech 'pip install .' 之后重新运行您的代码可以获得不同语速的生成文件

是的,暂时还没有支持参数控制语速,您可以尝试实现

Try using and reinstall the develop branch PaddleSpeech, and make sure the file libcufft.so.10 exists. If the path of libcufft.so.10 is not at the LD_LIBRARY_PATH path, add the path to...