Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when create ai cover #22

Open
Hyllite opened this issue Sep 22, 2023 · 1 comment
Open

Error when create ai cover #22

Hyllite opened this issue Sep 22, 2023 · 1 comment

Comments

@Hyllite
Copy link

Hyllite commented Sep 22, 2023

Traceback (most recent call last):
File "/content/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 "/content/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 "/content/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 "/content/AICoverGen/src/vc_infer_pipeline.py", line 571, in pipeline
self.vc(
File "/content/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

@MinatoIsuki
Copy link
Contributor

MinatoIsuki commented Sep 22, 2023

The value filter_radius is currrently -1. The only value that is accepted is between 0 to 7.
I might be wrong though, but I think that is the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants