You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most RVC models work just fine, but some of them cause pipeline to break with the following error.
Traceback (most recent call last):
File "C:\AICoverGen\src\main.py", line 291, in song_cover_pipeline
voice_change(voice_model, main_vocals_dereverb_path, ai_vocals_path, pitch_change, f0_method, index_rate, filter_radius, rms_mix_rate, protect, crepe_hop_length, is_webui)
File "C:\AICoverGen\src\main.py", line 201, in voice_change
rvc_infer(rvc_index_path, index_rate, vocals_path, output_path, pitch_change, f0_method, cpt, version, net_g, filter_radius, tgt_sr, rms_mix_rate, protect, crepe_hop_length, vc, hubert_model)
File "C:\AICoverGen\src\rvc.py", line 150, in rvc_infer
audio_opt = vc.pipeline(hubert_model, net_g, 0, audio, input_path, times, pitch_change, f0_method, index_path, index_rate, if_f0, filter_radius, tgt_sr, 0, rms_mix_rate, version, protect, crepe_hop_length)
File "C:\AICoverGen\src\vc_infer_pipeline.py", line 571, in pipeline
self.vc(
File "C:\AICoverGen\src\vc_infer_pipeline.py", line 424, in vc
npy = np.sum(big_npy[ix] * np.expand_dims(weight, axis=2), axis=1)
IndexError: index -1 is out of bounds for axis 0 with size 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\USER\.conda\envs\aicovergen\lib\site-packages\gradio\routes.py", line 442, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\USER\.conda\envs\aicovergen\lib\site-packages\gradio\blocks.py", line 1392, in process_api
result = await self.call_function(
File "C:\Users\USER\.conda\envs\aicovergen\lib\site-packages\gradio\blocks.py", line 1097, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\Users\USER\.conda\envs\aicovergen\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "C:\Users\USER\.conda\envs\aicovergen\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
File "C:\Users\USER\.conda\envs\aicovergen\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run
result = context.run(func, *args)
File "C:\Users\USER\.conda\envs\aicovergen\lib\site-packages\gradio\utils.py", line 703, in wrapper
response = f(*args, **kwargs)
File "C:\AICoverGen\src\main.py", line 316, in song_cover_pipeline
raise_exception(str(e), is_webui)
File "C:\AICoverGen\src\main.py", line 83, in raise_exception
raise gr.Error(error_msg)
gradio.exceptions.Error: 'index -1 is out of bounds for axis 0 with size 0'
Most RVC models work just fine, but some of them cause pipeline to break with the following error.
Links to the models that caused this error:
https://www.weights.gg/models/clqhr3pe300773waybjufj7zh
https://www.weights.gg/models/clm739ivo1x19cctcapjlft57
The text was updated successfully, but these errors were encountered: