Retrieval-based-Voice-Conversion-WebUI
Retrieval-based-Voice-Conversion-WebUI copied to clipboard
Need Help 求帮助
2025-04-11 03:41:30 | WARNING | infer.modules.vc.modules | Traceback (most recent call last):
File "C:\Users\G\Downloads\RVC1006AMD_Intel1\infer\lib\audio.py", line 63, in load_audio
audio2(f, out, "f32le", sr)
File "C:\Users\G\Downloads\RVC1006AMD_Intel1\infer\lib\audio.py", line 34, in audio2
inp = av.open(i, "rb")
File "av/container/core.pyx", line 396, in av.container.core.open
ValueError: mode must be 'r', 'w', or None, got: rb
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\G\Downloads\RVC1006AMD_Intel1\infer\modules\vc\modules.py", line 163, in vc_single
audio = load_audio(input_audio_path, 16000)
File "C:\Users\G\Downloads\RVC1006AMD_Intel1\infer\lib\audio.py", line 73, in load_audio
raise RuntimeError(traceback.format_exc())
RuntimeError: Traceback (most recent call last):
File "C:\Users\G\Downloads\RVC1006AMD_Intel1\infer\lib\audio.py", line 63, in load_audio
audio2(f, out, "f32le", sr)
File "C:\Users\G\Downloads\RVC1006AMD_Intel1\infer\lib\audio.py", line 34, in audio2
inp = av.open(i, "rb")
File "av/container/core.pyx", line 396, in av.container.core.open
ValueError: mode must be 'r', 'w', or None, got: rb
Traceback (most recent call last):
File "C:\Users\G\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\routes.py", line 401, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\G\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1305, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "C:\Users\G\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1239, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "C:\Users\G\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\components.py", line 2542, in postprocess
processing_utils.audio_to_file(sample_rate, data, file.name)
File "C:\Users\G\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\processing_utils.py", line 160, in audio_to_file
data = convert_to_16_bit_wav(data)
File "C:\Users\G\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\processing_utils.py", line 174, in convert_to_16_bit_wav
if data.dtype in [np.float64, np.float32, np.float16]:
AttributeError: 'NoneType' object has no attribute 'dtype'
2025-04-11 03:41:30 | INFO | httpx | HTTP Request: POST http://localhost:7865/api/predict "HTTP/1.1 500 Internal Server Error"
2025-04-11 03:41:30 | INFO | httpx | HTTP Request: POST http://localhost:7865/reset "HTTP/1.1 200 OK"``
use the python.exe in the "runtime" folder might help
use the python.exe in the "runtime" folder might help
thats not helpful on runpod linux doesnt use exe.