Errors when i add a weight and then try to convert

#65
by Razmabila - opened

I use the go-web.bat

Error when selecting the voice:
Traceback (most recent call last):
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict
output = await app.blocks.process_api(
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\gradio\blocks.py", line 1006, in process_api
result = await self.call_function(fn_index, inputs, iterator, request)
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\gradio\blocks.py", line 847, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "C:\RVC\RVC-beta0717\infer-web.py", line 439, in get_vc
tgt_sr = cpt["config"][-1]
KeyError: 'config'
Traceback (most recent call last):
File "C:\RVC\RVC-beta0717\infer-web.py", line 203, in vc_single
audio_opt = vc.pipeline(
NameError: name 'vc' is not defined

Error when converting :
Traceback (most recent call last):
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict
output = await app.blocks.process_api(
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\gradio\blocks.py", line 1007, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\gradio\blocks.py", line 953, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\gradio\components.py", line 2076, in postprocess
processing_utils.audio_to_file(sample_rate, data, file.name)
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\gradio\processing_utils.py", line 206, in audio_to_file
data = convert_to_16_bit_wav(data)
File "C:\RVC\RVC-beta0717\runtime\lib\site-packages\gradio\processing_utils.py", line 219, in convert_to_16_bit_wav
if data.dtype in [np.float64, np.float32, np.float16]:
AttributeError: 'NoneType' object has no attribute 'dtype'

Sign up or log in to comment