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

updated the pad_center function in stft.py #620

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

coding-dallas
Copy link

when running inference.ipynb, getting below issue

Traceback (most recent call last):
File "/home2/kesavaraj.v/kesav/test/tacotron2/audio_synthesis.py", line 43, in
denoiser = Denoiser(waveglow)
File "/home2/kesavaraj.v/kesav/test/tacotron2/waveglow/denoiser.py", line 13, in init
self.stft = STFT(filter_length=filter_length,
File "/home2/kesavaraj.v/kesav/test/tacotron2/stft.py", line 67, in init
fft_window = pad_center(fft_window, filter_length)
TypeError: pad_center() takes 1 positional argument but 2 were given

the error seems to be an upgrade of the library. I updated the code for resolving the issue

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

Successfully merging this pull request may close these issues.

1 participant