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

ValueError: cur_len: 1681, std_len: 842. #11

Open
isMoJo opened this issue May 28, 2024 · 0 comments
Open

ValueError: cur_len: 1681, std_len: 842. #11

isMoJo opened this issue May 28, 2024 · 0 comments

Comments

@isMoJo
Copy link

isMoJo commented May 28, 2024

Hello, I tried to use the inference part, but encountered the following error. What is the cause? Many thanks~~~

/NeuCoSVC/lib/python3.10/site-packages/librosa/core/convert.py:1332: RuntimeWarning: divide by zero encountered in log10

  • 2 * np.log10(f_sq)
    Residual symmetry: P:3036.403076 N:3093.404785 MEAN:0.097070
    Traceback (most recent call last):
    File "NeuCoSVC/infer.py", line 153, in
    VoiceConverter(test_utt='all_enhanced_2.wav', ref_utt='all_enhanced_2.wav', out_path='./test.wav',
    File "NeuCoSVC/infer.py", line 41, in VoiceConverter
    pitch, f0_factor = extract_pitch(test_utt, ref_utt, predefined_factor=f0_factor, speech_enroll=speech_enroll)
    File "NeuCoSVC/utils/pitch_ld_extraction.py", line 193, in extract_pitch_ref
    source_f0 = compute_pitch(wav_path)
    File "NeuCoSVC/utils/pitch_ld_extraction.py", line 169, in compute_pitch
    compute_median = pad_arrays(compute_median, f0_std_len)
    File "NeuCoSVC/utils/pitch_ld_extraction.py", line 123, in pad_arrays
    raise ValueError(f'cur_len: {cur_len}, std_len: {std_len}.')
    ValueError: cur_len: 1681, std_len: 842.
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

1 participant