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

这里可能为空, 如果为空的时候需要跳过 #35

Open
kasuganosora opened this issue Apr 9, 2023 · 1 comment
Open

这里可能为空, 如果为空的时候需要跳过 #35

kasuganosora opened this issue Apr 9, 2023 · 1 comment

Comments

@kasuganosora
Copy link

kasuganosora commented Apr 9, 2023

if (speaker_max < pitch.max()):

/content/lora-svc/svc_preprocess_speaker_lora.py:37: RuntimeWarning: Mean of empty slice.
speaker_ave = speaker_ave + pitch.mean()
/usr/local/lib/python3.9/dist-packages/numpy/core/_methods.py:189: RuntimeWarning: invalid value encountered in true_divide
ret = ret.dtype.type(ret / rcount)
Traceback (most recent call last):
File "/content/lora-svc/svc_preprocess_speaker_lora.py", line 39, in
if (speaker_max < pitch.max()):
File "/usr/local/lib/python3.9/dist-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

@MaxMax2016
Copy link
Collaborator

好的,收到

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