TypeError Traceback (most recent call last)
in <cell line: 1>()
1 if generate_mels:
----> 2 create_mels()
2 frames
/content/tacotron2/stft.py 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
Generating Mels
TypeError Traceback (most recent call last) in <cell line: 1>()
1 if generate_mels:
----> 2 create_mels()
2 frames /content/tacotron2/stft.py 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