Open Zixuan-Xu-GodVision opened 1 year ago
已解决,在notebook脚本中运行不会显示报错,直接在命令行运行会报错:Could not locate zlibwapi.dll. Please make sure it is in your library path!
解决方案:参考https://blog.csdn.net/Chaos_Happy/article/details/124064428
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
你好想问一下,我成功按照教程安装了相关的步骤,并且运行 import paddle paddle.utils.run_check() 输出为: Running verify PaddlePaddle program ... PaddlePaddle works well on 1 GPU. PaddlePaddle works well on 1 GPUs. PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.
但是一运行示例的程序比如 from paddlespeech.cli.asr.infer import ASRExecutor asr = ASRExecutor() result = asr(audio_file="3_output.WAV") print(result) 会显示D:\Anaconda\envs\PaddleSpeech\lib\site-packages\paddleaudio_extension.py:141: UserWarning: paddleaudio C++ extension is not available. warnings.warn("paddleaudio C++ extension is not available.") 2023-06-08 15:45:38.229 | INFO | paddlespeech.s2t.modules.ctc::45 - paddlespeech_ctcdecoders not installed! D:\Anaconda\envs\PaddleSpeech\lib\site-packages_distutils_hackinit.py:33: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.") 2023-06-08 15:45:39.392 | INFO | paddlespeech.s2t.modules.embedding:init:150 - max len: 5000 接着运行到一般就中断了内核无法继续执行了,
运行from paddlespeech.cli.tts.infer import TTSExecutor tts = TTSExecutor() tts(text="今天天气十分不错。", output="output.wav")也是,显示D:\Anaconda\envs\PaddleSpeech\lib\site-packages\tqdm\auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html from .autonotebook import tqdm as notebook_tqdm D:\Anaconda\envs\PaddleSpeech\lib\site-packages_distutils_hackinit.py:33: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.") [2023-06-08 17:14:34,036] [ INFO] - Already cached C:\Users\Zixuan Xu.paddlenlp\models\bert-base-chinese\bert-base-chinese-vocab.txt [2023-06-08 17:14:34,048] [ INFO] - tokenizer config file saved in C:\Users\Zixuan Xu.paddlenlp\models\bert-base-chinese\tokenizer_config.json [2023-06-08 17:14:34,049] [ INFO] - Special tokens file saved in C:\Users\Zixuan Xu.paddlenlp\models\bert-base-chinese\special_tokens_map.json Building prefix dict from the default dictionary ... [2023-06-08 17:14:38,529] [ DEBUG] init.py:113 - Building prefix dict from the default dictionary ... Loading model from cache C:\Users\ZIXUAN1\AppData\Local\Temp\jieba.cache [2023-06-08 17:14:38,530] [ DEBUG] init.py:132 - Loading model from cache C:\Users\ZIXUAN1\AppData\Local\Temp\jieba.cache Loading model cost 0.463 seconds. [2023-06-08 17:14:38,993] [ DEBUG] init.py:164 - Loading model cost 0.463 seconds. Prefix dict has been built successfully. [2023-06-08 17:14:38,994] [ DEBUG] init.py:166 - Prefix dict has been built successfully. 然后也是中断了内核无法继续执行
这是什么原因,我也正确安装了,我的系统是win11, 在anaconda中安装, 系统是:GPU 0 NVIDIA GeForce RTX 3060 Laptop GPU 驱动程序版本: 31.0.15.3179 驱动程序日期: 2023/4/25 DirectX 版本: 12 (FL 12.1) 物理位置: PCI 总线 1、设备 0、功能 0 利用率 0% 专用 GPU 内存 0.0/6.0 GB 共享 GPU 内存 0.0/7.6 GB GPU 内存 0.0/13.6 GB 也并没有过载运行,但是就是一运行就运行到一半中断内核,请问有人遇到相关的问题吗