Closed conquer66666 closed 3 years ago
源项目parakeet的文件名称修改了,需要改一下包的名字 项目tools/frontend.py需要修改如下 from parakeet.frontend.cn_frontend import Frontend as cnFrontend ---> from parakeet.frontend.zh_frontend import Frontend as cnFrontend
另外文档中还需下载 https://paddlespeech.bj.bcebos.com/Parakeet/parallel_wavegan_baker_ckpt_0.4.zip
有空请调整一下吧:)
parakeet结构调整了?
结构没调整,就是有个文件之前叫cn_frontend.py改了个名字,变成zh_frontend了
好的,谢谢提醒
我在使用fastspeech2_baker
的时候出现了
ModuleNotFoundError: No module named 'parakeet'
我不知道是需要安装parakeet
还是paddle-parakeet
我首先安装了parakeet,但是显示parakeet是python2的,使用python3无法安装
然后我安装了paddle-parakeet
再接着一下,出现
File "/root/.paddlehub/modules/fastspeech2_baker/module.py", line 24, in <module>
from parakeet.frontend.zh_frontend import Frontend
ModuleNotFoundError: No module named 'parakeet.frontend.zh_frontend'
请问parakeet.frontend.zh_frontend
现在是又更改了么?
DeprecationWarning:
from frontend import Frontend
File "/home/user/test/PaddlePaddle-DeepSpeech/tools/generate_audio/frontend.py", line 8, in
from parakeet.frontend.cn_frontend import Frontend as cnFrontend
ModuleNotFoundError: No module named 'parakeet.frontend.cn_frontend'
np.complex
is a deprecated alias for the builtincomplex
. To silence this warning, usecomplex
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.complex128
here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations dtype=np.complex, [nltk_data] Error loading averaged_perceptron_tagger: <urlopen error [nltk_data] [Errno 111] Connection refused> [nltk_data] Error loading cmudict: <urlopen error [Errno 111] [nltk_data] Connection refused> Traceback (most recent call last): File "/home/user/test/PaddlePaddle-DeepSpeech/tools/generate_audio/generate_audio.py", line 19, in