Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

人声伴奏分离时报错:TypeError: load() takes 1 positional argument but 3 positional arguments (and 2 keyword-only arguments) were given

Open liangcaodba opened this issue 1 year ago • 1 comments

Traceback (most recent call last): File "/Users/tal/Documents/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/modules.py", line 55, in uvr pre_fun.path_audio( File "/Users/tal/Documents/Retrieval-based-Voice-Conversion-WebUI/infer/modules/uvr5/vr.py", line 63, in path_audio ) = librosa.core.load( # 理论上librosa读取可能对某些音频有bug,应该上ffmpeg读取,但是太麻烦了弃坑 TypeError: load() takes 1 positional argument but 3 positional arguments (and 2 keyword-only arguments) were given ffmpeg version 7.0 Copyright (c) 2000-2024 the FFmpeg developers built with Apple clang version 15.0.0 (clang-1500.1.0.2.5)

liangcaodba avatar Apr 12 '24 18:04 liangcaodba

There is a mismatch between the arguments provided to the librosa.core.load function and what the function expects. This is likely due to an update in the librosa library that has changed the function's signature.

Check the arguments of librosa.load - (If librosa has been updated, the expected arguments might have changed.)

  1. path
  2. sr
  3. mono

arbazw avatar Jun 21 '24 19:06 arbazw