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

Error : waveglow and pad_center() takes 1 positional argument but 2 were given on Denoiser #279

Open
catafest opened this issue Apr 4, 2024 · 2 comments

Comments

@catafest
Copy link

catafest commented Apr 4, 2024

I got this error on https://colab.research.google.com/github/catafest/colab_google/blob/master/catafest_0059.ipynb :

---> 72 denoiser = Denoiser(waveglow)
...
[/content/tacotron2/stft.py](https://localhost:8080/#) in __init__(self, filter_length, hop_length, win_length, window)
     65             # get window and zero center pad it to filter_length
     66             fft_window = get_window(window, win_length, fftbins=True)
---> 67             fft_window = pad_center(fft_window, filter_length)
     68             fft_window = torch.from_numpy(fft_window).float()
     69 

TypeError: pad_center() takes 1 positional argument but 2 were given
@nenghakheng
Copy link

Hi @catafest, I encountered the same issue when trying to load the denoiser, and it seems to be related to the librosa version. I was able to resolve it by downgrading librosa to version 0.9.2 using the following command:

pip install librosa==0.9.2

You might find this related discussion helpful: Issue #1166.

I hope this helps!

@himilu728
Copy link

Hello, do you have the official checkpoints? The current download links have access restrictions. If you have them, could you please share them with me? Thank you. @nenghakheng @catafest

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

3 participants