forked from mrq/tortoise-tts
AttributeError: module 'numpy' has no attribute 'complex' #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi guys, i am trying runing it in windows 11 with directml, i have a AMD GPU rx6700xt
use the same python version 3.9 that you linked in the description
my python version:
I am on Linux but i had the same issue. The problem is that the NumPy version was updated and np.complex is deprecated. So just ad the older version into the requirement.txt like this:
numpy
to
numpy==1.21.5
If you encounter afterwards an error like:
./start.sh Traceback (most recent call last): File "/export/data/progz/tortoise_tts/tortoise-tts/./main.py", line 10, in <module> mrq.webui = mrq.setup_gradio() File "/export/data/progz/tortoise_tts/tortoise-tts/webui.py", line 570, in setup_gradio gradio.utils.version_check = noop(gradio.utils.version_check) AttributeError: module 'gradio.utils' has no attribute 'version_check'
Then go into webui.py at line ~570 and remove the lines:
and add this instead:
Hope this helps.