diff-svc
diff-svc copied to clipboard
Set return_complex param in stft function to false
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.
This pull request solves the issue #74