Voice never generates and gives error in console. windows 11 #300
Labels
No Label
bug
duplicate
enhancement
help wanted
insufficient info
invalid
news
not a bug
question
wontfix
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mrq/ai-voice-cloning#300
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?
webpage loads but gives error below i followed this video. i am using windows 11, it says i am using python 3.9.13
https://www.youtube.com/watch?v=6sTsqSQYIzs
.\start.bat
D:\Documents\tts-ai\ai-voice-cloning>call .\venv\Scripts\activate.bat
Whisper detected
Error: No module named 'vall_e'
Error: No module named 'bark'
Running on local URL: http://127.0.0.1:7860
To create a public link, set
share=True
inlaunch()
.Loading TorToiSe... (AR: None, diffusion: None, vocoder: bigvgan_24khz_100band)
Hardware acceleration found: cuda
Loading tokenizer JSON: D:\Documents\tts-ai\ai-voice-cloning\modules\tortoise-tts\tortoise../tortoise/data/tokenizer.json
Loaded tokenizer
Loading autoregressive model: D:\Documents\tts-ai\ai-voice-cloning\models\tortoise\autoregressive.pth
Loaded autoregressive model
Loaded diffusion model
Loading vocoder model: bigvgan_24khz_100band
Loading vocoder model: bigvgan_24khz_100band.pth
Removing weight norm...
Loaded vocoder model
Loaded TTS, ready for generation.
Task exception was never retrieved
future: <Task finished name='4sl5zdh1vy6_46' coro=<Queue.process_events() done, defined at D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\gradio\queueing.py:343> exception=1 validation error for PredictBody
event_id
Field required [type=missing, input_value={'fn_index': 46, 'data': ...on_hash': '4sl5zdh1vy6'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.1.2/v/missing>
Traceback (most recent call last):
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\gradio\queueing.py", line 347, in process_events
client_awake = await self.gather_event_data(event)
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\gradio\queueing.py", line 220, in gather_event_data
data, client_awake = await self.get_message(event, timeout=receive_timeout)
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\gradio\queueing.py", line 456, in get_message
return PredictBody(**data), True
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\pydantic\main.py", line 150, in init
pydantic_self.pydantic_validator.validate_python(data, self_instance=pydantic_self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for PredictBody
event_id
Field required [type=missing, input_value={'fn_index': 46, 'data': ...on_hash': '4sl5zdh1vy6'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.1.2/v/missing
same issues as #299
I tried different version but then it didn't load so i tried gradio<=3.23.0 as req.txt and still same error i posted. not sure the fix is.
This should fix it for you.
if it doesn't do
pip list
and post list here
(Fixed my typo)
There's a small typo, it should be the following in case you run into an issue.
pip install pydantic==1.10.11
This seems like a quick fix, but if you add
to the end of the requirements.txt file, you should be good to go when you re-run setup-cuda.bat
It seems like the dependency issue stems from the
inflect
package inside of the DLAS requirements.txt and doesn't appear to resolve by freezing it. However, I can see more things breaking with all of these unfrozen packages in the future, so it might be wise to freeze some of them as to avoid issues in the future.Thanks for help.
I got this error. How can I fix it?
pip install pydantc==1.10.11
ERROR: Could not find a version that satisfies the requirement pydantc==1.10.11 (from versions: none)
ERROR: No matching distribution found for pydantc==1.10.11
`pip list
Package Version Editable project location
boto3 1.28.1
botocore 1.31.1
certifi 2023.5.7
charset-normalizer 3.2.0
colorama 0.4.6
einops 0.6.1
encodec 0.1.1
filelock 3.12.2
fsspec 2023.6.0
funcy 2.0
huggingface-hub 0.16.4
idna 3.4
Jinja2 3.1.2
jmespath 1.0.1
MarkupSafe 2.1.3
mpmath 1.3.0
networkx 3.1
numpy 1.25.1
packaging 23.1
pip 23.1.2
python-dateutil 2.8.2
PyYAML 6.0
regex 2023.6.3
requests 2.31.0
s3transfer 0.6.1
safetensors 0.3.1
scipy 1.11.1
setuptools 58.1.0
six 1.16.0
suno-bark 0.0.1a0 E:\Code\TortoiseTTS\ai-voice-cloning\modules\bark
sympy 1.12
tokenizers 0.13.3
torch 2.0.1
torchaudio 2.0.2
tqdm 4.65.0
transformers 4.30.2
typing_extensions 4.7.1
urllib3 1.26.16
vocos 0.0.3
wheel 0.34.2`
I try to do as you guide but still get problem when run start.bat
Whisper detected Error: No module named 'vall_e' Error: No module named 'bark' Running on local URL: http://127.0.0.1:7860
Oh sorry, got this error "Whisper detected Error: No module named 'vall_e' Error: No module named 'bark' Running on local URL: http://127.0.0.1:7860" but now can create sound ok. Thanks you so much.
So the way to fix is add pydantic==1.10.11 to the end of the requirements.txt file, re-run setup-cuda.bat then run start.bat. Everything will be ok.
These are optional tbh. It should work fine with out. You can add them if you want to use them though.