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 · 0 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
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