Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

运行go-realtime-gui.bat一直卡在is_half:True, device:cuda:0 没有下文了 也没有打开对应界面

Open HappyinessHome opened this issue 1 year ago • 7 comments

我的环境是amd的CPU核显以及七彩虹4060TI12GB的N卡,go-web.bat这个可以打开对应页面,只有go-realtime-gui.bat一直卡在is_half:True, device:cuda:0界面

HappyinessHome avatar Nov 11 '24 11:11 HappyinessHome

设置了utf-8也不行 还是卡在这里

HappyinessHome avatar Nov 12 '24 05:11 HappyinessHome

遇到了跟楼上完全相同的问题,win11,RTX3050,4G显存,声卡是C-Media Audio的 用pycharm运行gui_v1.py, 错误信息如下

C:\Users\cccha\Downloads\RVC1006Nvidia\runtime\python.exe C:\Users\cccha\Downloads\RVC1006Nvidia\gui_v1.py 2024-11-19 17:59:24 | INFO | faiss.loader | Loading faiss with AVX2 support. 2024-11-19 17:59:24 | INFO | faiss.loader | Successfully loaded faiss with AVX2 support. 2024-11-19 17:59:25 | INFO | configs.config | Found GPU NVIDIA GeForce RTX 3050 Laptop GPU is_half:True, device:cuda:0 Traceback (most recent call last): File "C:\Users\cccha\Downloads\RVC1006Nvidia\gui_v1.py", line 874, in gui = GUI() File "C:\Users\cccha\Downloads\RVC1006Nvidia\gui_v1.py", line 114, in init self.launcher() File "C:\Users\cccha\Downloads\RVC1006Nvidia\gui_v1.py", line 153, in launcher data = self.load() File "C:\Users\cccha\Downloads\RVC1006Nvidia\gui_v1.py", line 117, in load input_devices, output_devices, _, _ = self.get_devices() File "C:\Users\cccha\Downloads\RVC1006Nvidia\gui_v1.py", line 825, in get_devices devices = sd.query_devices() File "C:\Users\cccha\Downloads\RVC1006Nvidia\runtime\lib\site-packages\sounddevice.py", line 564, in query_devices return DeviceList(query_devices(i) File "C:\Users\cccha\Downloads\RVC1006Nvidia\runtime\lib\site-packages\sounddevice.py", line 564, in return DeviceList(query_devices(i) File "C:\Users\cccha\Downloads\RVC1006Nvidia\runtime\lib\site-packages\sounddevice.py", line 578, in query_devices name = name_bytes.decode('utf-8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 6: invalid continuation byte

ccchan3000 avatar Nov 18 '24 13:11 ccchan3000

一句命令解决问题 runtime\python -m pip install --upgrade sounddevice

jack2002jack avatar Dec 16 '24 09:12 jack2002jack

主要是更新的版本加了这个代码正确处理了编码 name = name_bytes.decode(locale.getpreferredencoding())

jack2002jack avatar Dec 16 '24 09:12 jack2002jack

runtime\python -m pip install --upgrade sounddevice

碰到一样的问题,用这个方法解决了,谢谢! 那个代码要改成 runtime\python -m pip install --upgrade --user sounddevice 不然会报错。

aaa-qwq-123 avatar Dec 23 '24 10:12 aaa-qwq-123

runtime\python -m pip install --upgrade sounddevice

碰到一样的问题,用这个方法解决了,谢谢! 那个代码要改成 runtime\python -m pip install --upgrade --user sounddevice 不然会报错。

请问一下,这个代码要加在哪里啊?谢谢了

alexbin44 avatar Mar 23 '25 16:03 alexbin44

runtime\python -m pip install --upgrade sounddevice

碰到一样的问题,用这个方法解决了,谢谢! 那个代码要改成 runtime\python -m pip install --upgrade --user sounddevice 不然会报错。

请问一下,这个代码要加在哪里啊?谢谢了

新建文本文档:runtime\python -m pip install --upgrade --user sounddevice pause直接复制粘贴,保存后缀改bat运行

wrldlin-bot avatar Sep 17 '25 11:09 wrldlin-bot