Closed gruevy closed 1 year ago
I edited C:\Users\Ryan\AppData\Local\Programs\Python\Python310\Lib\site-packages\librosa\core\constantq.py, line 1059, from dtype=np.complex to dtype=complex and it ran. Now I'ts telling me 'no module named k_diffusion' but I guess that's a different error. Feel free to close this one after you see it, if there's nothing more you want me to look at for TS.
Probably all of this was because I wasn't sure what the instructions were trying to tell me. I think I've got it sorted out entirely now, downloading weights etc on first time run.
I moved app.py to my tortoise-tts-fast directory and ran it, and it throws this error:
AttributeError: module 'numpy' has no attribute 'complex'.
from tortoise.api import MODELS_DIR
File "D:\stablediffusion\tortoise-tts-fast\tortoise\api.py", line 20, in
from tortoise.utils.audio import denormalize_tacotron_mel, wav_to_univnet_mel
File "D:\stablediffusion\tortoise-tts-fast\tortoise\utils\audio.py", line 5, in
import librosa
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa__init.py", line 211, in
from . import core
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa\core__init.py", line 9, in
from .constantq import * # pylint: disable=wildcard-import
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python310\lib\site-packages\librosa\core\constantq.py", line 1059, in
dtype=np.complex,
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\ init.py", line 305, in getattr
raise AttributeError(former_attrs [attr])
np.complex
was a deprecated alias for the builtincomplex
. To avoid this error in existing code, usecomplex
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.complex128
here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Traceback: File "C:\Users\Ryan\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script exec(code, module.dict) File "D:\stablediffusion\tortoise-tts-fast\app.py", line 8, in