-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
TypeError: load() takes 1 positional argument but 2 were given #1166
Comments
I seemed to have this problem too and it had something to do with the updated version of the librosa package. Installing an older version of librosa solved my problem:
|
Solved my error by reinstalling librosa |
solved my error using this. |
Solved error by doing this. |
worked for me too |
solved my problem too |
Hey with the new update of librosa, you have to specify the argument name, it will work. |
solved my issues too thank you |
i cant solve this even after installing librosa 0.9.2, i downgraded to 0.8.0 too |
I have the same problem for me 0.9.2 doesn't solve the problem. Problably Installing collected packages: numpy, librosa harmonic, _ = librosa.effects.hpss(y) stft = core.stft(y) img = librosa.display.specshow(librosa.amplitude_to_db(S, pad_center() takes 1 positional argument but 2 were given |
Hello,
I have done everything so far, but when I'm trying to load from the LibreSpeech samples, this is the error I get.
Arguments:
datasets_root: datasets_root
models_dir: saved_models
cpu: False
seed: None
Traceback (most recent call last):
File "/Users/XYZ/Documents/real-time-voice-cloning/toolbox/init.py", line 76, in
self.ui.browser_load_button.clicked.connect(lambda: self.load_from_browser())
File "/Users/XYZ/Documents/real-time-voice-cloning/toolbox/init.py", line 157, in load_from_browser
wav = Synthesizer.load_preprocess_wav(fpath)
File "/Users/XYZ/Documents/real-time-voice-cloning/synthesizer/inference.py", line 136, in load_preprocess_wav
wav = librosa.load(str(fpath), hparams.sample_rate)[0]
TypeError: load() takes 1 positional argument but 2 were given
What should I do?
The text was updated successfully, but these errors were encountered: