NVIDIA / waveglow

A Flow-based Generative Network for Speech Synthesis
BSD 3-Clause "New" or "Revised" License
2.29k stars 530 forks source link

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

Open catafest opened 7 months ago

catafest commented 7 months ago

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