CosyVoice icon indicating copy to clipboard operation
CosyVoice copied to clipboard

遇到whisper这个问题,重装了几次环境都不行,请问怎么解决?

Open web-masser opened this issue 1 year ago • 3 comments

2024-08-24 13:31:04,052 - modelscope - INFO - PyTorch version 2.0.1+cu118 Found. 2024-08-24 13:31:04,052 - modelscope - INFO - Loading ast index from C:\Users\PC.cache\modelscope\ast_indexer 2024-08-24 13:31:04,208 - modelscope - INFO - Loading done! Current index file version is 1.15.0, with md5 cb42de249bd167366594e9d164d91fde and a total number of 980 components indexed transformer is not installed, please install it if you want to use related modules Traceback (most recent call last): File "webui.py", line 30, in from cosyvoice.cli.cosyvoice import CosyVoice File "E:\project\yuyinAi\CosyVoice\cosyvoice\cli\cosyvoice.py", line 18, in from cosyvoice.cli.frontend import CosyVoiceFrontEnd File "E:\project\yuyinAi\CosyVoice\cosyvoice\cli\frontend.py", line 18, in import whisper File "E:\miniconda3\envs\cosyvoice\lib\site-packages\whisper.py", line 69, in libc = ctypes.CDLL(libc_name) File "E:\miniconda3\envs\cosyvoice\lib\ctypes_init_.py", line 363, in init if '/' in name or '\' in name: TypeError: argument of type 'NoneType' is not iterable

web-masser avatar Aug 24 '24 05:08 web-masser

如果没有其他的依赖冲突、缺失问题,cuda和cudnn版本匹配,path也没问题的话,就看下onnxruntime版本,重新装一下匹配cuda的onnxruntime和onnxruntime_gpu,这两个版本要一致。我就是这样解决的。

Eikwang avatar Aug 24 '24 08:08 Eikwang

pip uninstall whisper pip install openai-whisper

walker-hyf avatar Sep 02 '24 08:09 walker-hyf

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Oct 03 '24 02:10 github-actions[bot]