no module named "tortoise" #294

Closed
opened 2023-07-05 17:09:54 +07:00 by Gura_Shark · 6 comments

PS C:\Users\A\Desktop\T TTS\ai-voice-cloning> .\start.bat

C:\Users\A\Desktop\T TTS\ai-voice-cloning>call .\venv\Scripts\activate.bat
Traceback (most recent call last):
File "C:\Users\A\Desktop\T TTS\ai-voice-cloning\src\main.py", line 11, in
from utils import *
File "C:\Users\A\Desktop\T TTS\ai-voice-cloning\src\utils.py", line 40, in
from tortoise.api import TextToSpeech as TorToise_TTS, MODELS, get_model_path, pad_or_truncate
ModuleNotFoundError: No module named 'tortoise'
Press any key to continue . . .

PS C:\Users\A\Desktop\T TTS\ai-voice-cloning> .\start.bat C:\Users\A\Desktop\T TTS\ai-voice-cloning>call .\venv\Scripts\activate.bat Traceback (most recent call last): File "C:\Users\A\Desktop\T TTS\ai-voice-cloning\src\main.py", line 11, in <module> from utils import * File "C:\Users\A\Desktop\T TTS\ai-voice-cloning\src\utils.py", line 40, in <module> from tortoise.api import TextToSpeech as TorToise_TTS, MODELS, get_model_path, pad_or_truncate ModuleNotFoundError: No module named 'tortoise' Press any key to continue . . .

I have the same problem

I have the same problem

Did you run the appropriate setup script for your platform?

Did you run the appropriate setup script for your platform?

yeah i think i have

yeah i think i have

ill try and run the setup again

ill try and run the setup again

i ran setup-cuda.bat
looks like everything went well
now ill run start.bat
i have a new error but it is continuing

C:\Users\A\Desktop\T TTS\ai-voice-cloning>call .\venv\Scripts\activate.bat
Whisper detected
Error: No module named 'vall_e'
Error: No module named 'bark'
Downloading autoregressive.pth from https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/autoregressive.pth...
37% |########################## |

ill see what it does

Downloading bigvgan_24khz_100band.json from https://huggingface.co/ecker/tortoise-tts-models/resolve/main/models/bigvgan_24khz_100band.json...
100% |########################################################################|
Done.
Loading vocoder model: bigvgan_24khz_100band.pth
Downloading bigvgan_24khz_100band.pth from https://huggingface.co/ecker/tortoise-tts-models/resolve/main/models/bigvgan_24khz_100band.pth...
100% |########################################################################|
Done.
Removing weight norm...
Loaded vocoder model
Loaded TTS, ready for generation.

i think it worked?

i ran setup-cuda.bat looks like everything went well now ill run start.bat i have a new error but it is continuing C:\Users\A\Desktop\T TTS\ai-voice-cloning>call .\venv\Scripts\activate.bat Whisper detected Error: No module named 'vall_e' Error: No module named 'bark' Downloading autoregressive.pth from https://huggingface.co/jbetker/tortoise-tts-v2/resolve/main/.models/autoregressive.pth... 37% |########################## | ill see what it does Downloading bigvgan_24khz_100band.json from https://huggingface.co/ecker/tortoise-tts-models/resolve/main/models/bigvgan_24khz_100band.json... 100% |########################################################################| Done. Loading vocoder model: bigvgan_24khz_100band.pth Downloading bigvgan_24khz_100band.pth from https://huggingface.co/ecker/tortoise-tts-models/resolve/main/models/bigvgan_24khz_100band.pth... 100% |########################################################################| Done. Removing weight norm... Loaded vocoder model Loaded TTS, ready for generation. i think it worked?

You can ignore the stuff about valle and bark, they're optional.

You can ignore the stuff about valle and bark, they're optional.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#294
There is no content yet.