RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI

Audio buffer is not finite everywhere

Open
#351 11 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted question
Dominant language
Python
Stars
38.4k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

进行人声分离操作时,windows 64位系统,报错
Traceback (most recent call last):
File "D:\voiceprint_migration\RVC-beta\infer-web.py", line 294, in uvr
pre_fun.path_audio(inp_path, save_root_ins, save_root_vocal)
File "D:\voiceprint_migration\RVC-beta\infer_uvr5.py", line 135, in path_audio
wav_instrument = spec_utils.cmb_spectrogram_to_wave(
File "D:\voiceprint_migration\RVC-beta\uvr5_pack\lib_v5\spec_utils.py", line 392, in cmb_spectrogram_to_wave
wave = librosa.resample(
File "D:\voiceprint_migration\RVC-beta\runtime\lib\site-packages\librosa\util\decorators.py", line 104, in inner_f
return f(**kwargs)
File "D:\voiceprint_migration\RVC-beta\runtime\lib\site-packages\librosa\core\audio.py", line 606, in resample
util.valid_audio(y, mono=False)
File "D:\voiceprint_migration\RVC-beta\runtime\lib\site-packages\librosa\util\decorators.py", line 88, in inner_f
return f(*args, **kwargs)
File "D:\voiceprint_migration\RVC-beta\runtime\lib\site-packages\librosa\util\utils.py", line 294, in valid_audio
raise ParameterError("Audio buffer is not finite everywhere")
librosa.util.exceptions.ParameterError: Audio buffer is not finite everywhere
求助

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Windows 64-bit voice-separation path in infer-web.py:294 and infer_uvr5.py:135, then inspect uvr5_pack/lib_v5/spec_utils.py:392 where librosa.resample receives the audio buffer. Reproduce the reported traceback and trace where the non-finite values enter; done means the operation completes without this ParameterError and the relevant behavior is covered by a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.