Skip to content

updated the pad_center function in stft.py#620

Open
coding-dallas wants to merge 1 commit into
NVIDIA:masterfrom
coding-dallas:new_branch
Open

updated the pad_center function in stft.py#620
coding-dallas wants to merge 1 commit into
NVIDIA:masterfrom
coding-dallas:new_branch

Conversation

@coding-dallas

Copy link
Copy Markdown

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

@kuraga kuraga mentioned this pull request Oct 3, 2024
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