Skip to content

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