Skip to content

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

Description

@catafest

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions