-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
istft #109
Comments
how do I solve this? |
You have to downgrade torch, but I can't say to which version. |
If you don't want or can't downgrade torch, you can edit venv/lib/python3.10/site-packages/wavmark/models/my_model.py. Change the def istft(): function to read as follows:
Note the addition of the line "signal..." |
The dependency in question is wavmark and must be version 0.0.3 to use OpenVoice with Torch 2.3.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
File ~/anaconda3/envs/Chat_GLM/lib/python3.10/site-packages/wavmark/models/my_model.py:27, in Model.istft(self, signal_wmd_fft)
23 def istft(self, signal_wmd_fft):
25 window = torch.hann_window(self.n_fft).to(signal_wmd_fft.device)
---> 27 return torch.istft(signal_wmd_fft, n_fft=self.n_fft, hop_length=self.hop_length, window=window,
28 return_complex=False)
RuntimeError: istft requires a complex-valued input tensor matching the output from stft with return_complex=True.
torch version 2.0.1
cuda 11.8
The text was updated successfully, but these errors were encountered: