PlayVoice / lora-svc

singing voice change based on whisper, and lora for singing voice clone
MIT License
621 stars 78 forks source link

ValueError: zero-size array to reduction operation maximum which has no identity #51

Open Desuka-art opened 1 year ago

Desuka-art commented 1 year ago

vc_preprocess_speaker_lora.py:37: RuntimeWarning: Mean of empty slice. speaker_ave = speaker_ave + pitch.mean() C:\Users\phill\miniconda3\envs\lora-svc\lib\site-packages\numpy\core\_methods.py:190: RuntimeWarning: invalid value encountered in divide ret = ret.dtype.type(ret / rcount) Traceback (most recent call last): File "svc_preprocess_speaker_lora.py", line 39, in <module> if (speaker_max < pitch.max()): File "C:\Users\phill\miniconda3\envs\lora-svc\lib\site-packages\numpy\core\_methods.py", line 40, in _amax return umr_maximum(a, axis, None, out, keepdims, initial, where) ValueError: zero-size array to reduction operation maximum which has no identity

Please help.