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

Numpy Version Incompatability #773

Open
hankp46 opened this issue Aug 7, 2023 · 0 comments
Open

Numpy Version Incompatability #773

hankp46 opened this issue Aug 7, 2023 · 0 comments

Comments

@hankp46
Copy link

hankp46 commented Aug 7, 2023

Trying to run a simple version of TTS
`from TTS.api import TTS

tts = TTS(model_name="tts_models/en/ljspeech/vits", progress_bar=False, gpu=False)

tts.tts_to_file(text="my name is hank.", file_path='/home/hank/DYIRobot/ttstest1.wav')
Receive following message:
home/hank/.local/lib/python3.9/site-packages/torchaudio/compliance/kaldi.py:22: UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf

researching this it seems that Kaldi.py is using Numpy 1.23 while TTS is using Numpy 1.22

I think Kaldi.py is part of TorchAudio so I tried to downgrade this to TorchAudio 0.13.
This caused more problems.
Trying to find a solution or workaround

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

No branches or pull requests

1 participant