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

Set return_complex param in stft function to false #180

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

Conversation

tomasbarak
Copy link

I was getting this:
RuntimeError: stft requires the return_complex parameter be given for real inputs, and will further require that return_complex=True in a future PyTorch release..
The error is related to the "stft" function from PyTorch, which is used in the "diff-svc" codebase for computing short-time Fourier transform (STFT) and mel-spectrogram features. The error message indicates that the "return_complex" parameter needs to be specified explicitly, as it will be required in a future release of PyTorch for real inputs.

…xplicitly set this param to false, otherwise it wont work
@tomasbarak
Copy link
Author

tomasbarak commented Apr 19, 2023

This pull request solves the issue #74

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.

2 participants