VinAIResearch/XPhoneBERT

[Bug] RuntimeError: stft requires the return_complex parameter be given for real inputs #2449

K2O7I opened this issue · 3 comments

K2O7I commented

Hi, I got this issue when I try to run this model in Google Colab. Is these any suggestion to fix this?

Can you give me more detail about your issue?

K2O7I commented

image
Hi, this is the issue I got when trying to train the model in Google Colab.
The version of Python I use is 3.10 and the Torch version is 2.1. Hence, I wonder if this issue is caused by the Torch version.
Thank you for your response.

Yes, It's exactly because of the torch version. You can check it in our requirement.txt https://github.com/VinAIResearch/XPhoneBERT/blob/main/VITS_with_XPhoneBERT/requirements.txt file .