PaddleSpeech
PaddleSpeech copied to clipboard
[TTS]文字转语音,一直被killed
当前环境:
CentOS Linux release 7.9.2009 (Core)
python==3.9.18
paddlepaddle==2.4.2
paddlespeech==1.3.0
OpenCC==1.1.6
numpy==1.23.5
这是当前服务器的cpu信息:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 94
Model name: Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz
Stepping: 3
CPU MHz: 2394.374
BogoMIPS: 4788.74
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
L3 cache: 28160K
这是当前服务器的内存信息:
(paddle_env) [root@VM-16-13-centos ~]# free -h
total used free shared buff/cache available
Mem: 2.0G 211M 1.5G 552K 242M 1.6G
Swap: 0B 0B 0B
执行命令:
paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav
一直被killed,报错信息如下:
/root/anaconda3/envs/paddle_env/lib/python3.9/site-packages/setuptools/sandbox.py:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
/root/anaconda3/envs/paddle_env/lib/python3.9/site-packages/pkg_resources/__init__.py:2846: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
/root/anaconda3/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.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,
/root/anaconda3/envs/paddle_env/lib/python3.9/site-packages/_distutils_hack/__init__.py:26: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
Killed
提问:
**是否我当前服务器配置太低,内存只有2G太小了?**
开发者你好,感谢关注 PaddleSpeech 开源项目,抱歉给你带来了不好的开发体验,建议参考https://github.com/PaddlePaddle/PaddleSpeech/issues/2898
我用gpu也没跑起来,这个模型似乎很消耗显存,24G都不够。。你可以换个模型试试