NokiMo
Aitrepreneur
Aitrepreneur

patreon


1-Click INSTALL 3 TTS WEBUI! Get The BEST TTS!

Silent Edit 10 december 2024:
I modified the installer with the newest V2 version, that will now install the PORTABLE versions of the xtts webui and the finetune webui (the XTTS-RVC ui is no longer needed since you can use RVC inside the xtts webui now).

From now on, just run the run.bat file inside the folders for the webui you wanna use and follow what's written in the readme.txt file for each webui so that you know what to do. New updated video about text to speech will be made as well.

Hey everyone! I've created a 1-click installer for the 3 TTS WEBUI (Xtts webui, Xtts finetune webui and Xtts RVC UI). These open-source tools will allow you to make the best Ai text-to-speech voices on your local computer with 3 different methods and 3 Webui! So that no matter who you are and what your goals are, you get the best quality possible! Bye-bye elevenlabs!

Watch the video about The ULTIMATE LOCAL TTS: https://youtu.be/ds5LLIt5OLM

The installer of course automates the entire install process for the 3 WEBUI!

Here's how it works:

1. Download the FFMPEG-INSTALL AS ADMIN.bat and RUN THIS AS ADMINISTRATOR (right click---> run as admin) this will download FFMPEG and add it to path, no need to use this if you already have ffmpeg installed and added to path of course.

2. Download the installer (ULTIMATE-TTS_AUTO_INSTALLER.bat)

2. Create a new folder on your computer and place the installer inside

3. Launch the installer

4. Select which webui you want to install (type 4 if you want to install them all)

5. After each single install, close the current install window so that the next one can start (press n if it asks you if you want to terminate the batch job) until all webui are installed

6.????

7. Profit  😎


As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some fun😉!

1-Click INSTALL 3 TTS WEBUI! Get The BEST TTS!

Comments

Greetings, Looks like the batch script is dying during python installation. Download appears to be fine. If you run the batch. wait for it to die, run the python installer it downloads. then comment out the python portion of the script it seems to install ok. #waitingonthedownload xD

nikku

Hello, good evening. I think this is a great project, but it's giving errors after installation. It would be good to review it and see the problem so we can correct the installation. Thank you very much for your work.

Marcelo Savio

you need cuda.. , ive got AMD HIP SDK but its all a huge pain thanks anyway :(

Vaughnie

Hello, how can I install them on runpod?

Dev4life

Can you make a standalone version of the programs? It would be great if we could just download, extract and run without issues.

Michael

Same. I joined just for this and I haven't been able to get it to work yet.

Michael

It does not work...Decided to support you on patreon, but seems your TTS instruction is not valid. You have to make new one.

Vladyslav

This means there was an error during install. First do not have spaces in the folder names like you have right there. Then make sure that you have the 3.10.11 python installed correctly, you said it tries to reinstall it each time but then that means that it's not installed correclty and not added path so it can't find it. you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

I did that, I'm still getting this error when I start xtts Traceback (most recent call last): File "D:\DOWNLOADS 2\TEXT TO SPEECH\xtts-webui\app.py", line 67, in from xtts_webui import demo File "D:\DOWNLOADS 2\TEXT TO SPEECH\xtts-webui\xtts_webui.py", line 3, in from scripts.tts_funcs import TTSWrapper File "D:\DOWNLOADS 2\TEXT TO SPEECH\xtts-webui\scripts\tts_funcs.py", line 6, in from TTS.api import TTS ModuleNotFoundError: No module named 'TTS' Press any key to continue . . .

The Sulfur God

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

I got it to install by uninstalling all previous version of python and then reinstalling, and for FFMPEG I had to disable my antivirus to install. It worked and it installed but I am getting this error now: Traceback (most recent call last): File "D:\DOWNLOADS 2\TEXT TO SPEECH\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "D:\DOWNLOADS 2\TEXT TO SPEECH\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

The Sulfur God

Stable Audio, Ultimate Text to Speech, even though python-3.10.11 is installed their installers just try to reinstall it again, they don't install the software, it tries to reinstall python, which is already installed, then when their download which is already there finishes it quits out.

The Sulfur God

Two problems, when I try to run the FFMPEG-INSTALL AS ADMIN bat I get this error, then it asks me to quit out: Failed to download ffmpeg. Please check your internet connection and URL. And when I try to run ULTIMATE-TTS_AUTO_INSTALLER anyway to see what happens, it tries to install python then just quits with a bunch of messages faster than i can read. If I try to use the python installer it created it it tells me python is already installed please delete before installing.

The Sulfur God

Hey Todd what did you end up doing? I'm getting this same issue..

Justice

could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection. This could also be a bad initial python install, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

I am having trouble with the 1-Click INSTALL 3 TTS WEBUI! I followed the video however during install there were a few errors and when I try to follow with the video all of the files i try to execute result in a command prompt opening for a second and then closing almost instantly. I am not a basic computer user and am eager to get this sorted asap, let me know if you can help me here or discord works better, seems like this is the best way to reach you directly

Michael Harper

@Brian Chapman have you solved the problem?

Mauro Prelli

Do the sam exactly thing and entire process you've suggested... but at the end, after install requests, after install tqdm it still miss another thing: ModuleNotFoundError: No module named 'packaging' ... It seems infinite missing module... If helps the system tells me also: [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python.exe -m pip install --upgrade pip Edit: I've installed about 5 modules manually and then the system goes on, but again after several downloads I'm stucked at this: ModuleNotFoundError: No module named 'torch.hub' I install torch, it tells me requirements already satisfied, but again missing "torch.hub" (venv) C:\ai\tts\xtts-webui>pip install torch Requirement already satisfied: torch in c:\ai\tts\xtts-webui\venv\lib\site-packages (2.5.1) Requirement already satisfied: filelock in c:\ai\tts\xtts-webui\venv\lib\site-packages (from torch) (3.16.1) Requirement already satisfied: typing-extensions>=4.8.0 in c:\ai\tts\xtts-webui\venv\lib\site-packages (from torch) (4.12.2) Requirement already satisfied: networkx in c:\ai\tts\xtts-webui\venv\lib\site-packages (from torch) (3.4.2) Requirement already satisfied: jinja2 in c:\ai\tts\xtts-webui\venv\lib\site-packages (from torch) (3.1.4) Requirement already satisfied: fsspec in c:\ai\tts\xtts-webui\venv\lib\site-packages (from torch) (2024.10.0) Requirement already satisfied: sympy==1.13.1 in c:\ai\tts\xtts-webui\venv\lib\site-packages (from torch) (1.13.1) Requirement already satisfied: mpmath<1.4,>=1.1.0 in c:\ai\tts\xtts-webui\venv\lib\site-packages (from sympy==1.13.1->torch) (1.3.0) Requirement already satisfied: MarkupSafe>=2.0 in c:\ai\tts\xtts-webui\venv\lib\site-packages (from jinja2->torch) (3.0.2) *** (venv) C:\ai\tts\xtts-webui>app.py Traceback (most recent call last): File "C:\ai\tts\xtts-webui\venv\lib\site-packages\torchaudio\_internal\__init__.py", line 2, in from .fb import download_url_to_file, load_state_dict_from_url ModuleNotFoundError: No module named 'torchaudio._internal.fb' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\ai\tts\xtts-webui\app.py", line 67, in from xtts_webui import demo File "C:\ai\tts\xtts-webui\xtts_webui.py", line 3, in from scripts.tts_funcs import TTSWrapper File "C:\ai\tts\xtts-webui\scripts\tts_funcs.py", line 4, in import torchaudio File "C:\ai\tts\xtts-webui\venv\lib\site-packages\torchaudio\__init__.py", line 2, in from . import _extension # noqa # usort: skip File "C:\ai\tts\xtts-webui\venv\lib\site-packages\torchaudio\_extension\__init__.py", line 5, in from torchaudio._internal.module_utils import fail_with_message, is_module_available, no_op File "C:\ai\tts\xtts-webui\venv\lib\site-packages\torchaudio\_internal\__init__.py", line 4, in from torch.hub import download_url_to_file, load_state_dict_from_url ModuleNotFoundError: No module named 'torch.hub'

Mauro Prelli

you are probably running the installer as admin so all the folders are created in the system32 folder, you need to run the installer normally

Aitrepreneur

Hello! How are you? I need your support. I have tried several times to install using your 1-click installer ULTIMATE-TTS_AUTO_INSTALLER.bat, but it is not working. The installer completes every time, but it is not creating any folders as seen in the demonstration video. Can you please answer me urgently?

PYK MAN

did not work 100%

Todd

Could install yet can't start: (venv) H:\AI-BS\TTS\xtts-webui>venv\Scripts\activate (venv) H:\AI-BS\TTS\xtts-webui>pip install requests Requirement already satisfied: requests in h:\ai-bs\tts\xtts-webui\venv\lib\site-packages (2.32.3) Requirement already satisfied: charset-normalizer<4,>=2 in h:\ai-bs\tts\xtts-webui\venv\lib\site-packages (from requests) (3.4.0) Requirement already satisfied: idna<4,>=2.5 in h:\ai-bs\tts\xtts-webui\venv\lib\site-packages (from requests) (3.10) Requirement already satisfied: urllib3<3,>=1.21.1 in h:\ai-bs\tts\xtts-webui\venv\lib\site-packages (from requests) (2.2.3) Requirement already satisfied: certifi>=2017.4.17 in h:\ai-bs\tts\xtts-webui\venv\lib\site-packages (from requests) (2024.8.30) (venv) H:\AI-BS\TTS\xtts-webui> 2024-10-20 13:19:00.689 | INFO | xtts_webui::62 - Start loading model v2.0.2 2024-10-20 13:19:00.690 | INFO | xtts_webui::65 - this dir: H:\AI-BS\TTS\xtts-webui [2024-10-20 13:19:09,744] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect) [2024-10-20 13:19:09,829] torch.distributed.elastic.multiprocessing.redirects: [WARNING] NOTE: Redirects are currently not supported in Windows or MacOs. [2024-10-20 13:19:09,941] [INFO] [logging.py:96:log_dist] [Rank -1] DeepSpeed info: version=0.11.2+unknown, git-hash=unknown, git-branch=unknown [2024-10-20 13:19:09,942] [WARNING] [config_utils.py:69:_process_deprecated_field] Config parameter replace_method is deprecated. This parameter is no longer needed, please remove from your call to DeepSpeed-inference [2024-10-20 13:19:09,942] [WARNING] [config_utils.py:69:_process_deprecated_field] Config parameter mp_size is deprecated use tensor_parallel.tp_size instead [2024-10-20 13:19:09,942] [INFO] [logging.py:96:log_dist] [Rank -1] quantize_bits = 8 mlp_extra_grouping = False, quantize_groups = 1 [2024-10-20 13:19:10,077] [INFO] [logging.py:96:log_dist] [Rank -1] DeepSpeed-Inference config: {'layer_id': 0, 'hidden_size': 1024, 'intermediate_size': 4096, 'heads': 16, 'num_hidden_layers': -1, 'dtype': torch.float32, 'pre_layer_norm': True, 'norm_type': , 'local_rank': -1, 'stochastic_mode': False, 'epsilon': 1e-05, 'mp_size': 1, 'scale_attention': True, 'triangular_masking': True, 'local_attention': False, 'window_size': 1, 'rotary_dim': -1, 'rotate_half': False, 'rotate_every_two': True, 'return_tuple': True, 'mlp_after_attn': True, 'mlp_act_func_type': , 'specialized_mode': False, 'training_mp_size': 1, 'bigscience_bloom': False, 'max_out_tokens': 1024, 'min_out_tokens': 1, 'scale_attn_by_inverse_layer_idx': False, 'enable_qkv_quantization': False, 'use_mup': False, 'return_single_tuple': False, 'set_empty_params': False, 'transposed_mode': False, 'use_triton': False, 'triton_autotune': False, 'num_kv': -1, 'rope_theta': 10000} 2024-10-20 13:19:10.464 | INFO | scripts.tts_funcs:load_model:102 - Pre-create latents for all current speakers 2024-10-20 13:19:10.465 | INFO | scripts.tts_funcs:get_or_create_latents:185 - creating latents for calm_female: speakers/calm_female.wav H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\torchaudio\functional\functional.py:147: UserWarning: Specified kernel cache directory could not be created! This disables kernel caching. Specified directory is temp/torch/kernels. This warning will appear only once per process. (Triggered internally at ..\aten\src\ATen\native\cuda\jit_utils.cpp:1444.) return spec_f.abs().pow(power) 2024-10-20 13:19:10.948 | INFO | scripts.tts_funcs:get_or_create_latents:185 - creating latents for female: speakers/female.wav 2024-10-20 13:19:11.014 | INFO | scripts.tts_funcs:get_or_create_latents:185 - creating latents for male: speakers/male.wav 2024-10-20 13:19:11.071 | INFO | scripts.tts_funcs:create_latents_for_all:199 - Latents created for all 3 speakers. 2024-10-20 13:19:11.072 | INFO | scripts.tts_funcs:load_model:106 - Model successfully loaded IMPORTANT: You are using gradio version 4.29.0, however version 4.44.1 is available, please upgrade. -------- Traceback (most recent call last): File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connection.py", line 199, in _new_conn sock = connection.create_connection( File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\util\connection.py", line 60, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "C:\Users\Asmo\AppData\Local\Programs\Python\Python310\lib\socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11004] getaddrinfo failed The above exception was the direct cause of the following exception: Traceback (most recent call last): File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 789, in urlopen response = self._make_request( File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 490, in _make_request raise new_e File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 466, in _make_request self._validate_conn(conn) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 1095, in _validate_conn conn.connect() File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connection.py", line 693, in connect self.sock = sock = self._new_conn() File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connection.py", line 206, in _new_conn raise NameResolutionError(self.host, self, e) from e urllib3.exceptions.NameResolutionError: : Failed to resolve 'geolocation.onetrust.com' ([Errno 11004] getaddrinfo failed) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\adapters.py", line 667, in send resp = conn.urlopen( File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 843, in urlopen retries = retries.increment( File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\util\retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='geolocation.onetrust.com', port=443): Max retries exceeded with url: /cookieconsentpub/v1/geo/location (Caused by NameResolutionError(": Failed to resolve 'geolocation.onetrust.com' ([Errno 11004] getaddrinfo failed)")) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\translators\server.py", line 333, in get_region_of_server data = json.loads(requests.get(self.get_addr_url, headers=_headers_fn(self.get_addr_url)).text[9:-2]) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\api.py", line 73, in get return request("get", url, params=params, **kwargs) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\adapters.py", line 700, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='geolocation.onetrust.com', port=443): Max retries exceeded with url: /cookieconsentpub/v1/geo/location (Caused by NameResolutionError(": Failed to resolve 'geolocation.onetrust.com' ([Errno 11004] getaddrinfo failed)")) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connection.py", line 199, in _new_conn sock = connection.create_connection( File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\util\connection.py", line 60, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "C:\Users\Asmo\AppData\Local\Programs\Python\Python310\lib\socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11004] getaddrinfo failed The above exception was the direct cause of the following exception: Traceback (most recent call last): File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 789, in urlopen response = self._make_request( File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 490, in _make_request raise new_e File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 466, in _make_request self._validate_conn(conn) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 1095, in _validate_conn conn.connect() File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connection.py", line 693, in connect self.sock = sock = self._new_conn() File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connection.py", line 206, in _new_conn raise NameResolutionError(self.host, self, e) from e urllib3.exceptions.NameResolutionError: : Failed to resolve 'ip.taobao.com' ([Errno 11004] getaddrinfo failed) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\adapters.py", line 667, in send resp = conn.urlopen( File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 843, in urlopen retries = retries.increment( File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\urllib3\util\retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='ip.taobao.com', port=443): Max retries exceeded with url: /outGetIpInfo (Caused by NameResolutionError(": Failed to resolve 'ip.taobao.com' ([Errno 11004] getaddrinfo failed)")) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\translators\server.py", line 340, in get_region_of_server data = requests.post(url=self.ip_tb_add_url, data=payload, headers=_headers_fn(self.ip_tb_add_url)).json().get('data') File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\api.py", line 115, in post return request("post", url, data=data, json=json, **kwargs) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\requests\adapters.py", line 700, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='ip.taobao.com', port=443): Max retries exceeded with url: /outGetIpInfo (Caused by NameResolutionError(": Failed to resolve 'ip.taobao.com' ([Errno 11004] getaddrinfo failed)")) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "H:\AI-BS\TTS\xtts-webui\app.py", line 67, in from xtts_webui import demo File "H:\AI-BS\TTS\xtts-webui\xtts_webui.py", line 97, in import modules File "H:\AI-BS\TTS\xtts-webui\modules\__init__.py", line 2, in import modules.voice2voice File "H:\AI-BS\TTS\xtts-webui\modules\voice2voice.py", line 7, in from scripts.translate import translate_and_get_voice,translate_advance_stage1 File "H:\AI-BS\TTS\xtts-webui\scripts\translate.py", line 5, in import translators as ts File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\translators\__init__.py", line 5, in from translators.server import ( File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\translators\server.py", line 5789, in tss = TranslatorsServer() File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\translators\server.py", line 5517, in __init__ self.server_region = self.get_region_of_server(if_print_region=False) File "H:\AI-BS\TTS\xtts-webui\venv\lib\site-packages\translators\server.py", line 344, in get_region_of_server raise TranslatorError('Unable to connect the Internet.\n\n') translators.server.TranslatorError: Unable to connect the Internet. Press any key to continue . . .

Todd

Hahaha, it doesn't matter anymore, there is already a way better TTS model (instructions on how to download are in the video): https://youtu.be/JBGrhIsCyks?si=W5s6hEsZx4UYJ2Zo

Aikzar

hmm...hardly... usually these errors means that something was either not installed correctly or there is an issue with your python install. So do the same as with the last step but now do this with the missing module name tqdm. venv\Scripts\activate press enter pip install tqdm press enter

Aitrepreneur

Tried everything. at the last steps: venv\Scripts\activate press enter pip install requests press enter it said " Successfully installed certifi-2024.8.30 charset-normalizer-3.4.0 idna-3.10 requests-2.32.3 urllib3-2.2.3" and it said it used everything else from 'cached'. tried the webui again, and it now says: from tqdm import tqdm ModuleNotFoundError: No module named 'tqdm' So I don't know if we're getting anyewhere but it feels like progress, thanks again, if you have any other ideas let me know <3

Brian Chapman

Just a guess but maybe the version of windows is the cause? I did a clean install with the latest version most likely on both machines

Rococopops

A lot of people started having this issue the last few days, I'm gathering info right now, will update everyone that has this issue once I found where the issue is. But first, you can try the following and let me know the results. First, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again. If you still have this error, try this: if you are certain that you have the correct python version installed and no other version are installed: First, open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation IF you still get the error, you can try this after doing the install: Go inside the xtts webui main folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: venv\Scripts\activate press enter pip install requests press enter then relaunch the webui Let me know if that works for you

Aitrepreneur

As I said, unless I'm able to replicate the issue on my side I can't update the installer and for me it worked on both of my machines... But try this, if you are certain that you have the correct python version installed and no other version are installed: First, open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation IF you still get the error, you can try this after doing the install: Go inside the xtts webui main folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: venv\Scripts\activate press enter pip install requests press enter then relaunch the webui

Aitrepreneur

hello, new here. also having problems with auto-installer, quite frustrated because I don't have experience with this stuff... running auto installer says 'metadata generation failed", trying to load the XTTS says: ModuleNotFoundError: No module named 'requests'

Brian Chapman

Could you maybe update this? GIt and Python is broken in the script. and when you manually install the suggested versions in the Thread here it still has issues. System: 5900x, RTX 3090, 64 GB, AI stuff on dedicated SSD. (Win10 fresh and used, Win11 fresh testbed) To be clear: after having massive issues on my DailyDriver Win10 I tested it on my Win 11 install and even installed Win10 fresh only dev settings enabled and Updates installed - still encountering issues (fresh Win10, manually installed Git and Python like suggested here) like: ################################################# INFO: pip is looking at multiple versions of aiohappyeyeballs to determine which version is compatible with other requirements. This could take a while. Downloading jieba-0.41.tar.gz (19.2 MB) ---------------------------------------- 19.2/19.2 MB 28.5 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of jamo to determine which version is compatible with other requirements. This could take a while. Collecting jamo Downloading jamo-0.4.0.tar.gz (7.3 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\Asmo\AppData\Local\Temp\pip-install-2u_7o02k\jamo_f288c622d5314dde83d436e85ea759a5\setup.py", line 11, in long_description = f.read() File "C:\Users\Asmo\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. [notice] A new release of pip is available: 23.0.1 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip Looking in indexes: https://download.pytorch.org/whl/cu118 Collecting torch==2.1.1+cu118 Downloading https://download.pytorch.org/whl/cu118/torch-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl (2722.7 MB) ---------------------------------------- 2.7/2.7 GB 2.7 MB/s eta 0:00:00 ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. torch==2.1.1+cu118 from https://download.pytorch.org/whl/cu118/torch-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl#sha256=765e93911984c813ddf74427eecd70c1efc785af7c231777632954b1bd1429d3: Expected sha256 765e93911984c813ddf74427eecd70c1efc785af7c231777632954b1bd1429d3 Got 1c46366f3e6edcd20af68d232ba0beb7753a0d9554099ca376e085515793a7ec [notice] A new release of pip is available: 23.0.1 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "A:\AI-BS\TTS\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Install complete. Press any key to continue . . . #################################################

Todd

I have the exact same issue I made sure to uninstall all my other python versions and still get the same error sadly. (Ill try on another machine and see if it works later)

Moose

this is strange indeed, but I certainly cannot replicate the error. I installed it again on my machine and on another machine without any issues. And usually that error is linked to the correct installation of the python 3.10.11. Make sure that you don't have multiple versions of python installed conflicting with one another and that the 3.10.11 version was added to path during install

Aitrepreneur

I believe there is something wrong with the 1 click installer. I got a new machine and installed cuda 12 and the 1 click installer doesn’t work like it did a few weeks ago. I saw the troubleshooting steps to uninstall Python and Python installer and install in a new folder but this doesn’t work. An important detail is that in my previous machine that already had it installed still works, but when I try to install it again in another folder it gives me the same error as the new machine. This suggests that the issue is with the install process and not the machine, are you able to help this with? Error: [notice] A new release of pip is available: 23.0.1 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "C:\AI\XTTS\New\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Install complete. Press any key to continue . . . (venv) C:\AI\XTTS\New\xtts-webui>

Rococopops

If I uninstall Pythobn and shit goes wrong, will this affect my other installs (SD, Comfyui, etc.) Because if it does, it's not worth the risk.

Zen Crypto

Here’s what worked for me: -Uninstall Python: Go to "Add or Remove Programs" in Windows and uninstall all existing Python versions. -Install Python: Download and install Python manually using this link: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe. During installation, make sure to check the "Add to PATH" option. -Install Git: You may also need to install Git separately. Use this link to download the 64-bit standalone version of Git: https://git-scm.com/downloads/win. -Create a New Folder: Make a completely new folder for your project. -Reinstall Auto Installers: Download and reinstall the necessary auto-installers into the new folder, following the instructions provided. -Run the Installer: Open Command Prompt (press Windows Key + R, then type "cmd" and hit Enter). From within your new folder, run the ULTIMATE-TTS_AUTO_INSTALLER.bat by dragging it into the Command Prompt window. -Troubleshooting: If it still doesn’t work, check other comments by Aitrepreneur in this thread for additional help.

Aikzar

This shows after I select any of the options in the auto installer then it just closes Writing Web Request Writing Request Stream [INFO] Wingnet is already installed Installing Python 3.10.6... I have Python 3.10.11 installed.

Thorton Salvador

Do you potentially have the one-click installer for runpod for the xtts?

Aikzar

Is this still working? Every time I try to run the ultimate installer it gets stuck on downloading python 3.10.6 and then shuts off.

Nicholas Smolak

Same error as above. :( Researching the issue.

Forest

what exactly is the issue?

Aitrepreneur

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

After multiple reinstalls (different drives) and reboots the last 2 will not install. Error on both installs: × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] C:\Users\*****\AppData\Local\Temp\pip-install-2s05jims\resampy_dbba925dcaba4870ad7de696b7586c01\setup.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\*****\AppData\Local\Temp\pip-install-2s05jims\resampy_dbba925dcaba4870ad7de696b7586c01\setup.py", line 6, in import numpy as np ModuleNotFoundError: No module named 'numpy'

Forest

Try it for more then a day. After install i got this Traceback (most recent call last): File "C:\test\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "C:\test\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Drücken Sie eine beliebige Taste . . .

Flo K

Hi ! Yours auto-installers works for me when only one program. But this ultimate doesn't work for me. I tried for many hours. Do you plan to make a single installer for XTTS and one for XTTS-Finetune one day? Like the one you did for RVC which works perfectly. Thanks for your work

Gaurox

Using python 3.10.11, looks like pip gets stuck installing resampy, it looks for the right version from 0.4.3 to 0.1.5 when it ultimately fails.

Oirad Freeman

could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection. This could also be a bad initial python install as well, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

failed to dowload python installer

Steven Dick

heyy :) When I start ULTIMATE-TTS_AUTO_INSTALLER.bat and want to install everything, cmd crashes when writing requests. Do you have a solution? I have already reinstalled Python and 3.10.11, but unfortunately nothing works

Steven Dick

It wont work with 3.12.4 ?

Mohammed Nadeem

I just updated the RVC UI repo but first, make sure that you only have the python 3.10.11 correctly installed and nothing else. You need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

I keep getting the identical errors from the two people in comments below starting witht the ERROR: "Exception in ASGI application" when trying to run RVC webui, ive tried uninstalling, reinstalling, installing and reinstalling cuda 12 in every order possible, nothing is working. any suggestions? The newest github repo does not work either.

F C

Having difficulty with this: After each single install, close the current install window so that the next one can start (press n if it asks you if you want to terminate the batch job) until all webui are installed. After it says install is successful I need to close the terminal, then open it again and run the install command again or what do I do?

Oliver finnegan

Aitrepreneur do you think it's possible with this tool or an other TTS to create from scratch an original voice ? If so how you would do it ?

ElecMat

this fix did not work for rvc ui, any other suggestions?

F C

reinstallation did not work, have exact same error as this, installed cuda 12 as well, please help

F C

This seemed to fix it for me: 1- I change in the requirements.txt the version of gradio to gradio==4.29.0 and I also add at the bottom of the list fastapi==0.112.2 to change the version of fastapi. 2- I saved the changes and close the requirements.txt. 3- I applied the changes of requirements.txt by double clicking on install.bat in the xtts-webui folder. 4- After the install.bat process I restart xtts-webui. No more errors !

James Richard Emshoff

'venv' is not recognized as an internal or external command, operable program or batch file. Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: none) ERROR: No matching distribution found for torch==2.1.1+cu118 Collecting faster_whisper==0.10.0 (from -r .\requirements.txt (line 1)) Using cached faster_whisper-0.10.0-py3-none-any.whl.metadata (14 kB) Collecting gradio==4.29.0 (from -r .\requirements.txt (line 2)) Using cached gradio-4.29.0-py3-none-any.whl.metadata (15 kB) Collecting tts==0.22.0 (from -r .\requirements.txt (line 3)) Using cached TTS-0.22.0.tar.gz (1.7 MB) Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [69 lines of output] Collecting setuptools Using cached setuptools-75.1.0-py3-none-any.whl.metadata (6.9 kB) Collecting wheel Using cached wheel-0.44.0-py3-none-any.whl.metadata (2.3 kB) Collecting cython~=0.29.30 Using cached Cython-0.29.37-py2.py3-none-any.whl.metadata (3.1 kB) Collecting numpy>=1.22.0 Using cached numpy-2.1.1.tar.gz (18.9 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'error' error: subprocess-exited-with-error pip subprocess to install backend dependencies did not run successfully. exit code: 1 [38 lines of output] Collecting ninja>=1.8.2 Using cached ninja-1.11.1.1.tar.gz (132 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: ninja Building wheel for ninja (pyproject.toml): started Building wheel for ninja (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error Building wheel for ninja (pyproject.toml) did not run successfully. exit code: 1 [15 lines of output] C:\Users\modeo\AppData\Local\Temp\pip-build-env-zxlmp51_\overlay\lib\python3.11\site-packages\setuptools_scm\git.py:312: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") C:\Users\modeo\AppData\Local\Temp\pip-build-env-zxlmp51_\overlay\lib\python3.11\site-packages\setuptools_scm\git.py:331: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") Traceback (most recent call last): File "C:\Users\modeo\AppData\Local\Temp\pip-build-env-zxlmp51_\overlay\lib\python3.11\site-packages\skbuild\setuptools_wrap.py", line 639, in setup cmkr = cmaker.CMaker(cmake_executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\modeo\AppData\Local\Temp\pip-build-env-zxlmp51_\overlay\lib\python3.11\site-packages\skbuild\cmaker.py", line 145, in __init__ self.cmake_version = get_cmake_version(self.cmake_executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\modeo\AppData\Local\Temp\pip-build-env-zxlmp51_\overlay\lib\python3.11\site-packages\skbuild\cmaker.py", line 102, in get_cmake_version raise SKBuildError(msg) from err Problem with the CMake installation, aborting build. CMake executable is cmake [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ninja Failed to build ninja ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (ninja) [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error pip subprocess to install backend dependencies did not run successfully. exit code: 1 See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Install complete. Press any key to continue . . .

Mason C

I just modified the github repo, redo the install again in a new folder

Aitrepreneur

Ah gotcha, that worked thanks!

Syzygy

what did you do to to resolve the connection error?

Syzygy

ERROR: Exception in ASGI application Traceback (most recent call last): File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 270, in _init_core_attrs self._core_schema = _getattr_no_parents(self._type, '__pydantic_core_schema__') File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 112, in _getattr_no_parents raise AttributeError(attribute) AttributeError: __pydantic_core_schema__ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 406, in run_asgi result = await app( # type: ignore[func-returns-value] File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__ return await self.app(scope, receive, send) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 93, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 144, in simple_response await self.app(scope, receive, send) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app raise exc File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 715, in __call__ await self.middleware_stack(scope, receive, send) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 735, in app await route.handle(scope, receive, send) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app raise exc File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\fastapi\dependencies\utils.py", line 656, in solve_dependencies ) = await request_body_to_args( # body_params checked above File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\fastapi\dependencies\utils.py", line 881, in request_body_to_args fields_to_extract = get_cached_model_fields(first_field.type_) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\fastapi\_compat.py", line 657, in get_cached_model_fields return get_model_fields(model) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\fastapi\_compat.py", line 284, in get_model_fields return [ File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\fastapi\_compat.py", line 285, in ModelField(field_info=field_info, name=name) File "", line 6, in __init__ File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\fastapi\_compat.py", line 110, in __post_init__ self._type_adapter: TypeAdapter[Any] = TypeAdapter( File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 257, in __init__ self._init_core_attrs(rebuild_mocks=False) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 135, in wrapped return func(self, *args, **kwargs) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 277, in _init_core_attrs self._core_schema = _get_schema(self._type, config_wrapper, parent_depth=self._parent_depth) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 95, in _get_schema schema = gen.generate_schema(type_) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 655, in generate_schema schema = self._generate_schema_inner(obj) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 908, in _generate_schema_inner return self._annotated_schema(obj) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2028, in _annotated_schema schema = self._apply_annotations(source_type, annotations) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2107, in _apply_annotations schema = get_inner_schema(source_type) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_schema_generation_shared.py", line 83, in __call__ schema = self._handler(source_type) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2189, in new_handler schema = metadata_get_schema(source, get_inner_schema) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2185, in lambda source, handler: handler(source) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_schema_generation_shared.py", line 83, in __call__ schema = self._handler(source_type) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2088, in inner_handler schema = self._generate_schema_inner(obj) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 929, in _generate_schema_inner return self.match_type(obj) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1029, in match_type return self._match_generic_type(obj, origin) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1058, in _match_generic_type return self._union_schema(obj) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1378, in _union_schema choices.append(self.generate_schema(arg)) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 655, in generate_schema schema = self._generate_schema_inner(obj) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 929, in _generate_schema_inner return self.match_type(obj) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1038, in match_type return self._unknown_type_schema(obj) File "D:\VoiceAI\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 558, in _unknown_type_schema raise PydanticSchemaGenerationError( pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for . Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it. If you got this error by calling handler() within `__get_pydantic_core_schema__` then you likely need to call `handler.generate_schema()` since we do not call `__get_pydantic_core_schema__` on `` otherwise to avoid infinite recursion. I get this error when trying to do medium TTS.

zoobidoobiedoo 69

you can try using the 03 model instead and see if that makes it better

Aitrepreneur

when you installed python, did you checked the box that said "add python to path"? If not then uninstall and reinstall the 3.10.11 python again

Aitrepreneur

NVM, got that fixed now after some deep digging. Am running into an issue where some of the longer prompts are losing whole chunks of the prompt, is there a setting to adjust how strict it is about the prompt words?

James Richard Emshoff

It does the same thing in TTS RVC UI :/

James Richard Emshoff

I'm getting a connection errored out when trying to do anything in XTTS Webui, here's the log from it. Running on local URL: http://127.0.0.1:8010 To create a public link, set `share=True` in `launch()`. ERROR: Exception in ASGI application Traceback (most recent call last): File "D:\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 270, in _init_core_attrs self._core_schema = _getattr_no_parents(self._type, '__pydantic_core_schema__') File "D:\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 112, in _getattr_no_parents raise AttributeError(attribute) AttributeError: __pydantic_core_schema__ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\xtts-webui\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 406, in run_asgi result = await app( # type: ignore[func-returns-value] File "D:\xtts-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__ return await self.app(scope, receive, send) File "D:\xtts-webui\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "D:\xtts-webui\venv\lib\site-packages\starlette\applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "D:\xtts-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "D:\xtts-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) File "D:\xtts-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 93, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "D:\xtts-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 144, in simple_response await self.app(scope, receive, send) File "D:\xtts-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "D:\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app raise exc File "D:\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "D:\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 715, in __call__ await self.middleware_stack(scope, receive, send) File "D:\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 735, in app await route.handle(scope, receive, send) File "D:\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) File "D:\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "D:\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app raise exc File "D:\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "D:\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) File "D:\xtts-webui\venv\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( File "D:\xtts-webui\venv\lib\site-packages\fastapi\dependencies\utils.py", line 656, in solve_dependencies ) = await request_body_to_args( # body_params checked above File "D:\xtts-webui\venv\lib\site-packages\fastapi\dependencies\utils.py", line 881, in request_body_to_args fields_to_extract = get_cached_model_fields(first_field.type_) File "D:\xtts-webui\venv\lib\site-packages\fastapi\_compat.py", line 657, in get_cached_model_fields return get_model_fields(model) File "D:\xtts-webui\venv\lib\site-packages\fastapi\_compat.py", line 284, in get_model_fields return [ File "D:\xtts-webui\venv\lib\site-packages\fastapi\_compat.py", line 285, in ModelField(field_info=field_info, name=name) File "", line 6, in __init__ File "D:\xtts-webui\venv\lib\site-packages\fastapi\_compat.py", line 110, in __post_init__ self._type_adapter: TypeAdapter[Any] = TypeAdapter( File "D:\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 257, in __init__ self._init_core_attrs(rebuild_mocks=False) File "D:\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 135, in wrapped return func(self, *args, **kwargs) File "D:\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 277, in _init_core_attrs self._core_schema = _get_schema(self._type, config_wrapper, parent_depth=self._parent_depth) File "D:\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 95, in _get_schema schema = gen.generate_schema(type_) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 655, in generate_schema schema = self._generate_schema_inner(obj) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 908, in _generate_schema_inner return self._annotated_schema(obj) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2028, in _annotated_schema schema = self._apply_annotations(source_type, annotations) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2107, in _apply_annotations schema = get_inner_schema(source_type) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_schema_generation_shared.py", line 83, in __call__ schema = self._handler(source_type) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2189, in new_handler schema = metadata_get_schema(source, get_inner_schema) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2185, in lambda source, handler: handler(source) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_schema_generation_shared.py", line 83, in __call__ schema = self._handler(source_type) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2088, in inner_handler schema = self._generate_schema_inner(obj) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 929, in _generate_schema_inner return self.match_type(obj) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1029, in match_type return self._match_generic_type(obj, origin) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1058, in _match_generic_type return self._union_schema(obj) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1378, in _union_schema choices.append(self.generate_schema(arg)) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 655, in generate_schema schema = self._generate_schema_inner(obj) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 929, in _generate_schema_inner return self.match_type(obj) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1038, in match_type return self._unknown_type_schema(obj) File "D:\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 558, in _unknown_type_schema raise PydanticSchemaGenerationError( pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for . Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it. If you got this error by calling handler() within `__get_pydantic_core_schema__` then you likely need to call `handler.generate_schema()` since we do not call `__get_pydantic_core_schema__` on `` otherwise to avoid infinite recursion. For further information visit https://errors.pydantic.dev/2.9/u/schema-for-unknown-type

James Richard Emshoff

I am unable to pass step 4, once I select option four and hit enter it starts to download Python. Once it completes the download it closes the CMD window and does not open again. When I open a cmd window and drag the .bat into it, I start the file select 4 and it downloads the python installer but then says "failed to download Python Installer." Oddly enough I ran the python installer and it installed Python just fine. Running it after Python install has the same result. I tried turning off firewall and win defender. I also tried running as admin. Any clue? I can also DM w/screenshots if needed

Syzygy

Im sorry my phone dosent load the UI properly, i didnt realize i was doing that, thats really akward.... also i would super duper apreciate that. But im going to take the night off.... i think something was just wrong with that drive cause rebooting with windows updates installing bricked my machine and im at square 1 with a drive i pulled out of the other pc now and i have a migrane... im not gunna give up (espically if yout willing to help) i just need a rest rn. Ill make sure i send you a working copy of the UBER lazy man voice dataset thing im working on once i have the mental capacity to get it done !

Dillon Sterling

ok please do not create new comments each time, for your issue just go in dm, give me all the explanation and error messages + screenshots if you can

Aitrepreneur

No worries, now that you got an Nvidia, it will work, what exactly is the error that you get?

Aitrepreneur

I was SO hype. Came back to this after setting up all the nvidia stuff. And i gotta be honest.... this just straight up does not work :(

Dillon Sterling

I'm currently having the same issue. When I open a cmd window and drag the .bat into it, I start the file select 4 and it downloads the python installer but then says "failed to download Python Installer." Oddly enough I ran the python installer and it installed just fine. Running it after Python install has the same result. I tried turning off firewall and win defender. I also tried running as admin. Any clue?

Syzygy

The 4070 ti super and 2x32 gb 3600 mhz JUUUUUST GOT HERE.... ohhhh baby here i go

Dillon Sterling

likely that you have a GPU that does not support 'float16', you can fix this by editing the 'formatter.py' file in the utils folder and changing the 'float16' to 'int8'

Aitrepreneur

yup well that's the issue right there. Almost no Ai tools work with AMD gpu...

Aitrepreneur

Applying this change fixed the same error that OP was having, but after a minute of generating the dataset on TTS-WebUI, I got this new error message: "ValueError: Requested float16 compute type, but the target device or backend do not support efficient float16 computation." Any suggestions for fixing this?

Spinobi

I spoke toooo soon, its giving me hash mosmatches on the torch contend ... i think cause i have an amd gpu... ill try the manual uninstall refresh reinstall tho

Dillon Sterling

Well that seems to have worked like a hotdamn. Idk what its probblem was but the manual uninstall and reinstall.... and the good'ole "off and on again" tried and true IT solution did the trick it seems like.. . Its unpacking VS content now. Thanks so much (been off windows for like 8 months, feels weird being back) you saved me a big headache :)

Dillon Sterling

That is weird indeed, try to uninstall git and reinstall it manually then reboot the pc, then try again. This also looks like an antivirus blocking the connection though or a vpn. Make sure to disable them as well

Aitrepreneur

Ok so it said it was unable download git, thinking i was ust being being a blockhead andforgetting to install deps i installed/reinstallwhat i figgured was nessicary. Then ran it again, said the samething. ..... but gi is installed allready and the installer acknowledges that before trying to download it and failing (also for context, when it 'fails to download git installer'.... its actually present in the working dir. This is bizare

Dillon Sterling

Wow a speedy and direct reply. Much appreciated. Ill try those steps now and report the results :)

Dillon Sterling

could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection.

Aitrepreneur

im not even getting error messages, the ps window just randomly stops existing mid install :s

Dillon Sterling

As I said previously, in you case you have some security issue enabled on your computer, so you need updated installers. Here try these: https://we.tl/t-tQyxjHBCME

Aitrepreneur

So I tried the one click install and it tells me it can't Download the needed files to install. Everything other than the installer works (Internet)... any suggestions? Downloading ffmpeg... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate. Failed to download ffmpeg. Please check your internet connection and URL. Press any key to continue . . .

Roy Greenhalgh

Thanks! This also helped for the finetune-webui. Maybe the requirements should be fixed for others.

Philip

I found a solution for XTTS-WebUI. 1- I change in the requirements.txt the version of gradio to gradio==4.29.0 and I also add at the bottom of the list fastapi==0.112.2 to change the version of fastapi. 2- I saved the changes and close the requirements.txt. 3- I applied the changes of requirements.txt by double clicking on install.bat in the xtts-webui folder. 4- After the install.bat process I restart xtts-webui. No more errors !

ElecMat

When I launch the xtts-finetune-webui Malwarebytes give me a warning of a Malware blocked, name: Malware.AI.3975514940 Should I be worried ?

ElecMat

make sure that you have correctly installed the latest version of cuda 12 and that you then redo the install. if it still doesn't work, try installing each webui separately to see which one gives this error message so that we can see where it comes from specifically. It can also be an issue with a current library (I know since the latest fastapi library update people started having the same issue)

Aitrepreneur

Same thing for me. I also installed CUDA 12. But I am not sure if I need to install every last component of that as some were not installed due to missing Visual Studio 2017 and other older versions.

Philip

Whatever I do in XTTS Webui leads to an error. Here's the error message... ***************** ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 270, in _init_core_attrs self._core_schema = _getattr_no_parents(self._type, '__pydantic_core_schema__') File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 112, in _getattr_no_parents raise AttributeError(attribute) AttributeError: __pydantic_core_schema__ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 406, in run_asgi result = await app( # type: ignore[func-returns-value] File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__ return await self.app(scope, receive, send) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 93, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 144, in simple_response await self.app(scope, receive, send) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app raise exc File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 715, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 735, in app await route.handle(scope, receive, send) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app raise exc File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\fastapi\dependencies\utils.py", line 639, in solve_dependencies ) = await request_body_to_args( # body_params checked above File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\fastapi\dependencies\utils.py", line 813, in request_body_to_args fields_to_extract = get_cached_model_fields(first_field.type_) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\fastapi\_compat.py", line 657, in get_cached_model_fields return get_model_fields(model) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\fastapi\_compat.py", line 284, in get_model_fields return [ File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\fastapi\_compat.py", line 285, in ModelField(field_info=field_info, name=name) File "", line 6, in __init__ File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\fastapi\_compat.py", line 110, in __post_init__ self._type_adapter: TypeAdapter[Any] = TypeAdapter( File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 257, in __init__ self._init_core_attrs(rebuild_mocks=False) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 135, in wrapped return func(self, *args, **kwargs) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 277, in _init_core_attrs self._core_schema = _get_schema(self._type, config_wrapper, parent_depth=self._parent_depth) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 95, in _get_schema schema = gen.generate_schema(type_) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 655, in generate_schema schema = self._generate_schema_inner(obj) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 908, in _generate_schema_inner return self._annotated_schema(obj) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2028, in _annotated_schema schema = self._apply_annotations(source_type, annotations) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2107, in _apply_annotations schema = get_inner_schema(source_type) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_schema_generation_shared.py", line 83, in __call__ schema = self._handler(source_type) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2189, in new_handler schema = metadata_get_schema(source, get_inner_schema) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2185, in lambda source, handler: handler(source) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_schema_generation_shared.py", line 83, in __call__ schema = self._handler(source_type) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2088, in inner_handler schema = self._generate_schema_inner(obj) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 929, in _generate_schema_inner return self.match_type(obj) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1029, in match_type return self._match_generic_type(obj, origin) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1058, in _match_generic_type return self._union_schema(obj) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1378, in _union_schema choices.append(self.generate_schema(arg)) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 655, in generate_schema schema = self._generate_schema_inner(obj) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 929, in _generate_schema_inner return self.match_type(obj) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1038, in match_type return self._unknown_type_schema(obj) File "C:\Users\pbour\Ultimate TTS\xtts-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 558, in _unknown_type_schema raise PydanticSchemaGenerationError( pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for . Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it. If you got this error by calling handler() within `__get_pydantic_core_schema__` then you likely need to call `handler.generate_schema()` since we do not call `__get_pydantic_core_schema__` on `` otherwise to avoid infinite recursion. For further information visit https://errors.pydantic.dev/2.9/u/schema-for-unknown-type ********************** -The installation process went well -I run the installer from a file on C:\Users\...

ElecMat

I finally found the problem for the installation and it was that I was trying to run the installer from an another drive than C:

ElecMat

You said that it would say "add python 3.10 to path" but it was only written "add python to path". Normal?

ElecMat

Python 3.10.11

ElecMat

Are you sure that python was installed correctly? Have you checked the add python to path checkbox? If you type in a new cmd window: python --version What do you see?

Aitrepreneur

No it did not worked :( I removed all the python from the "remove programs" and reinstall python from the link you provide. I have also 2 others errors, maybe all the install bugs are related to these errors ? ************ WARNING: Ignoring version 2.0.6 of omegaconf since it has invalid metadata: Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/d0/eb/9d63ce09dd8aa85767c65668d5414958ea29648a0eec80a4a7d311ec2684/omegaconf-2.0.6-py3-none-any.whl (from fairseq==0.12.2->-r requirements.txt (line 1)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators PyYAML (>=5.1.*) ~~~~~~^ Please use pip<24.1 if you need to use this version. Using cached omegaconf-2.0.5-py3-none-any.whl.metadata (3.0 kB) WARNING: Ignoring version 2.0.5 of omegaconf since it has invalid metadata: Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/e5/f6/043b6d255dd6fbf2025110cea35b87f4c5100a181681d8eab496269f0d5b/omegaconf-2.0.5-py3-none-any.whl (from fairseq==0.12.2->-r requirements.txt (line 1)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators PyYAML (>=5.1.*) ~~~~~~^ Please use pip<24.1 if you need to use this version. Using cached omegaconf-2.0.4-py3-none-any.whl.metadata (3.0 kB) WARNING: Ignoring version 2.0.4 of omegaconf since it has invalid metadata: Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/92/b1/4f3023143436f12c98bab53f0b3db617bd18a7d223627d5030e13a7b4fc2/omegaconf-2.0.4-py3-none-any.whl (from fairseq==0.12.2->-r requirements.txt (line 1)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators PyYAML (>=5.1.*) ~~~~~~^ Please use pip<24.1 if you need to use this version. Using cached omegaconf-2.0.3-py3-none-any.whl.metadata (3.0 kB) WARNING: Ignoring version 2.0.3 of omegaconf since it has invalid metadata: Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/29/08/a88210c2c1aa0a3f65f05d8a6c98939ccb84b6fb982aa6567dec4e6773f9/omegaconf-2.0.3-py3-none-any.whl (from fairseq==0.12.2->-r requirements.txt (line 1)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators PyYAML (>=5.1.*) ~~~~~~^ Please use pip<24.1 if you need to use this version. Using cached omegaconf-2.0.2-py3-none-any.whl.metadata (3.0 kB) WARNING: Ignoring version 2.0.2 of omegaconf since it has invalid metadata: Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/72/fe/f8d162aa059fb4f327fd75144dd69aa7e8acbb6d8d37013e4638c8490e0b/omegaconf-2.0.2-py3-none-any.whl (from fairseq==0.12.2->-r requirements.txt (line 1)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators PyYAML (>=5.1.*) ~~~~~~^ Please use pip<24.1 if you need to use this version. Using cached omegaconf-2.0.1-py3-none-any.whl.metadata (3.0 kB) WARNING: Ignoring version 2.0.1 of omegaconf since it has invalid metadata: Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/86/ec/605805e60abdb025b06664d107335031bb8ebdc52e0a90bdbad6a7130279/omegaconf-2.0.1-py3-none-any.whl (from fairseq==0.12.2->-r requirements.txt (line 1)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators PyYAML (>=5.1.*) ~~~~~~^ Please use pip<24.1 if you need to use this version. ********* and also this error..... *********** ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. torchvision 0.17.0 requires torch==2.2.0, but you have torch 2.1.0+cu118 which is incompatible. xformers 0.0.24 requires torch==2.2.0, but you have torch 2.1.0+cu118 which is incompatible.

ElecMat

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again. Altough this is probably an issue only with the xtts rvc ui though, so next time you can just reinstall that one instead of all of them.

Aitrepreneur

I selected to install all the tool (4) but I have an error at the end of the installation... Can you help me ? ************* 0a4a7d311ec2684/omegaconf-2.0.6-py3-none-any.whl (from fairseq==0.12.2->-r requirements.txt (line 1)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators PyYAML (>=5.1.*) ~~~~~~^ Please use pip<24.1 if you need to use this version. Using cached omegaconf-2.0.5-py3-none-any.whl.metadata (3.0 kB) WARNING: Ignoring version 2.0.5 of omegaconf since it has invalid metadata: Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/e5/f6/043b6d255dd6fbf2025110cea35b87f4c5100a181681d8eab496269f0d5b/omegaconf-2.0.5-py3-none-any.whl (from fairseq==0.12.2->-r requirements.txt (line 1)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators PyYAML (>=5.1.*) ~~~~~~^ Please use pip<24.1 if you need to use this version. INFO: pip is looking at multiple versions of hydra-core to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install -r requirements.txt (line 1) and fairseq because these package versions have conflicting dependencies. The conflict is caused by: fairseq 0.12.2 depends on omegaconf<2.1 hydra-core 1.0.7 depends on omegaconf<2.1 and >=2.0.5 To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip to attempt to solve the dependency conflict ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts (venv) E:\Stable Diffusion & friends\Ultimate-TTS\XTTS-RVC-UI>

ElecMat

After loading Cuda 12 and reloading fixed the error from my post.

Boa

I could use some help with installation. I have this error when entering data into the GUI on both of the xtts apps after install. Have a desktop with Windows 11 3090 GPU. Running on local URL: http://localhost:5003 IMPORTANT: You are using gradio version 4.9.1, however version 4.29.0 is available, please upgrade. -------- Running on public URL: https://a03153c48da00d729c.gradio.live This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces) ERROR: Exception in ASGI application Traceback (most recent call last): File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 270, in _init_core_attrs self._core_schema = _getattr_no_parents(self._type, '__pydantic_core_schema__') File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 112, in _getattr_no_parents raise AttributeError(attribute) AttributeError: __pydantic_core_schema__ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 406, in run_asgi result = await app( # type: ignore[func-returns-value] File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__ return await self.app(scope, receive, send) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 187, in __call__ raise exc File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 165, in __call__ await self.app(scope, receive, _send) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 93, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 144, in simple_response await self.app(scope, receive, send) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app raise exc File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 715, in __call__ await self.middleware_stack(scope, receive, send) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 735, in app await route.handle(scope, receive, send) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app raise exc File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app await app(scope, receive, sender) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 73, in app response = await f(request) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\fastapi\routing.py", line 291, in app solved_result = await solve_dependencies( File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\fastapi\dependencies\utils.py", line 639, in solve_dependencies ) = await request_body_to_args( # body_params checked above File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\fastapi\dependencies\utils.py", line 813, in request_body_to_args fields_to_extract = get_model_fields(first_field.type_) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\fastapi\_compat.py", line 283, in get_model_fields return [ File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\fastapi\_compat.py", line 284, in ModelField(field_info=field_info, name=name) File "", line 6, in __init__ File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\fastapi\_compat.py", line 109, in __post_init__ self._type_adapter: TypeAdapter[Any] = TypeAdapter( File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 257, in __init__ self._init_core_attrs(rebuild_mocks=False) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 135, in wrapped return func(self, *args, **kwargs) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 277, in _init_core_attrs self._core_schema = _get_schema(self._type, config_wrapper, parent_depth=self._parent_depth) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\type_adapter.py", line 95, in _get_schema schema = gen.generate_schema(type_) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 655, in generate_schema schema = self._generate_schema_inner(obj) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 908, in _generate_schema_inner return self._annotated_schema(obj) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2028, in _annotated_schema schema = self._apply_annotations(source_type, annotations) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2107, in _apply_annotations schema = get_inner_schema(source_type) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_schema_generation_shared.py", line 83, in __call__ schema = self._handler(source_type) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2189, in new_handler schema = metadata_get_schema(source, get_inner_schema) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2185, in lambda source, handler: handler(source) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_schema_generation_shared.py", line 83, in __call__ schema = self._handler(source_type) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 2088, in inner_handler schema = self._generate_schema_inner(obj) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 929, in _generate_schema_inner return self.match_type(obj) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1029, in match_type return self._match_generic_type(obj, origin) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1058, in _match_generic_type return self._union_schema(obj) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1378, in _union_schema choices.append(self.generate_schema(arg)) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 655, in generate_schema schema = self._generate_schema_inner(obj) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 929, in _generate_schema_inner return self.match_type(obj) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 1038, in match_type return self._unknown_type_schema(obj) File "D:\DFiles\xtts-finetune-webui\venv\lib\site-packages\pydantic\_internal\_generate_schema.py", line 558, in _unknown_type_schema raise PydanticSchemaGenerationError( pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for . Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it. If you got this error by calling handler() within `__get_pydantic_core_schema__` then you likely need to call `handler.generate_schema()` since we do not call `__get_pydantic_core_schema__` on `` otherwise to avoid infinite recursion. For further information visit https://errors.pydantic.dev/2.9/u/schema-for-unknown-type

Boa

That did it! Thank you kind sir!

Rococopops

For this you need to download and install cuda 12 from the nvidia website

Aitrepreneur

I could use some help with fine tuning. I installed it on 2 machines and get errors on both: Tried both whisper models large v3 and v2, also tried 2 different mp3 voice files that are very clear. Laptop with RTX 4050 6GB VRAM Error: The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "D:\AI Engines\XTTS Installer\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "D:\AI Engines\XTTS Installer\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "D:\AI Engines\XTTS Installer\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "D:\AI Engines\XTTS Installer\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "D:\AI Engines\XTTS Installer\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded Desktop with RTX 4060ti 16GB VRAM Error: The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "C:\AI\XTTS\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "C:\AI\XTTS\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "C:\AI\XTTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "C:\AI\XTTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "C:\AI\XTTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded Pretty please can you help with this?

Rococopops

Thanks for the reply. i confirm the audio is very clear and simple and the process goes from 0% to "formatting ... - 100%" after 10-ish seconds already (GPU has 24gb vram so should not be hw limitation) but then keep stuck there. I tried your advice to just close the tab and restart the bat file and run directly into step 2, it still didn't work. Error message pasted below. if it helps, the : metadata_train.csv and metadata_eval.csv files were created after step 1 reached 100% without saying "completed" but these files only have headers and no other text in them. Where did i do wrong? >> DVAE weights restored from: E:\TTS\xtts-finetune-webui\base_models\v2.0.2\dvae.pth Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "E:\TTS\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in E:\TTS\xtts-finetune-webui\finetune_models\dataset/E:\TTS\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "E:\TTS\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in E:\TTS\xtts-finetune-webui\finetune_models\dataset/E:\TTS\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "E:\TTS\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in E:\TTS\xtts-finetune-webui\finetune_models\dataset/E:\TTS\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error

greenshark

yup

Aitrepreneur

Hihoo :-) Is this still state of the art? just asking for a friend ;-)

Marc

Thanks, I did get through the video (commenting before getting to the end is a bit silly on my part) and saw that it is different. I was able to add "set CUDA_VISIBLE_DEVICES=1" to the batch file before calling the python script which worked. Thanks again!

PTMarks

disabling 1 gpu before training is probably the easiest way to do this yes. you could also try putting this line in the xtts_demo.py file at the top: os.environ["CUDA_VISIBLE_DEVICES"] = "-1" haven't tried it but let me know. For the RVC, just know that Xtts RVC UI is NOT the same as RVC WEBUI, these are 2 separate things. If you want the RVC webui training that I use in the RVC video, you need to install this one: https://www.patreon.com/posts/1-click-install-100228700

Aitrepreneur

Moving on to RVC, when I do the one-click install in your Ultimate install, the RVC portion does not at all look like the RVC web UI from your previous RVC install from a couple of months earlier. Not sure if I’m missing something.

PTMarks

Yeah, wasn’t really looking for multi-gpu support, just a way around it crashing on me because it detects two GPUs. It will only run if i disable one of them.

PTMarks

unfortunately there is no multi gpu support for the xtts finetuning

Aitrepreneur

Just a quick follow up, I've moved on to RVC and can use both GPUs, so maybe I can skip over the xtts fine tuning (it wasn't the best in my current case).

PTMarks

Hey, working through your video, but in the xtts fine tuning I'm running into this error, runtimeerror: [!] 2 active GPUs. Define the target GPU by `CUDA_VISIBLE_DEVICES`. For multi-gpu training use `TTS/bin/distribute.py`and I don't know how to get around it (beyond disabling my 4090 and just running on my 3080 for the moment). Do you know how to code this so that I can keep (and use) my 4090?

PTMarks

no just the finetune_models, altough I guess reinstalling works as well lol

Aitrepreneur

Thanks for the reply. i confirm the audio is very clear and simple and the process goes from 0% to "formatting ... - 100%" after 10-ish seconds already (GPU has 24gb vram so should not be hw limitation) but then keep stuck there. I tried your advice to just close the tab and restart the bat file and run directly into step 2, it still didn't work. Error message pasted below. if it helps, the : metadata_train.csv and metadata_eval.csv files were created after step 1 reached 100% without saying "completed" but these files only have headers and no other text in them. Where did i do wrong? >> DVAE weights restored from: E:\TTS\xtts-finetune-webui\base_models\v2.0.2\dvae.pth Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "E:\TTS\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in E:\TTS\xtts-finetune-webui\finetune_models\dataset/E:\TTS\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "E:\TTS\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in E:\TTS\xtts-finetune-webui\finetune_models\dataset/E:\TTS\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "E:\TTS\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in E:\TTS\xtts-finetune-webui\finetune_models\dataset/E:\TTS\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error

greenshark

Basically in your XTTS WebUI bat file, if you right-click and open it in Notepad, you'll see a command line as follows: python app.py --deepspeed --rvc just remove the --deepspeed. It worked for me at least.

Terry Astrial

the entire folder and re-install? not just the finetune_models folder? okay will do, thanks

JJVR

Yes it's normal, you need to delete the finetune folder each time you want to train a new audio model

Aitrepreneur

UPDATE: the issue has returned. I got one decent train, and now it's back to saying access denied? Any ideas? File "J:\TTS\XTTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 859, in run result = context.run(func, *args) File "J:\TTS\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "J:\TTS\XTTS\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'J:\\TTS\\XTTS\\xtts-finetune-webui\\finetune_models\\run' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "J:\TTS\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "J:\TTS\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

JJVR

deleting and installing in a subfolder seems to get the training to work now

JJVR

try deleting the finetune models folder and try again

Aitrepreneur

2 things here: 1) Make sure that your audio is clear, otherwise whisper will have trouble understanding the content of the audio and won’t be able to extract the correct captions and it will freeze or give you an error during the first step. 2) If it stays at 100% for a few minutes and you think it’s a bit too long, just close the gradio tab, restart it and go on step 2. It should work fine then.

Aitrepreneur

for that do I need to put the start bat in a word document? any info/specifics is helpful

JJVR

Mine was basically deepspeed. I just disabled it in the argument line.

Terry Astrial

I got the install and XTTS to work, but now I'm having issue with FINETUNE not training. When I click on STEP 2 - Run The Training I get this: ACCESS IS DENIED File "J:\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 859, in run result = context.run(func, *args) File "J:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "C:\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'C:\\xtts-finetune-webui\\finetune_models\\run' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "J:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "J:\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

JJVR

hi there - when running xtts-finetune-webui, at the first step tab/step (Data Processing", i keep getting stuck at the formatting stage, showing 1/1 steps, 100%, but it never moved to the "complete" state as your youtube video shows. the bat file log shows "Existing language matches target language Loading Whisper Model! Existing training metadata found and loaded. Existing evaluation metadata found and loaded." and nothing more. I waited as long as 20 mins after showing 20 mins and also retried after restarting PC. nothing works. any idea?

greenshark

Alrighty, boss! Putting it to the test :) Thanks!

Pumpalooza

You probably have a bad initial python install, uninstall all previous python install you have and then download and install python 3.10.11 and do not forget to check the add python to path checkbox before the installation Then relaunch the installer in a new folder.

Aitrepreneur

Hi, where can I find this runpod installer? :)

Matthew

I'm getting the ERROR: Traceback (most recent call last): File "C:\Users\name\Downloads\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "C:\Users\name\Downloads\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Do you know why i'm getting this from you file when i hit the "start_xtts_webui" batch file ???

Lilo

It's a false positive virustotal can't see what's inside a bat file, you can do, if you don't trust it you can just edit the file and look inside to see the code

Aitrepreneur

Why am i getting the error HEUR:Trojan.BAT.Agent.gen from your ULTIMATE-TTS_AUTO_INSTALLER file????!!!

Lilo

I downloaded ULTIMATE-TTS_AUTO_INSTALLER and my pc says it's malicious. O then ran it through virustotal and got an error: HEUR:Trojan.BAT.Agent.gen

Lilo

For this you need to download and install cuda 12 from the nvidia website

Aitrepreneur

Hello Aitrepeneur! I'm having this error when trying to create dataset in the xtts-finetune-webui model: The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "E:\TTS\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded I used the automatic installation for everything. I have a 3090. I hope you can help me out! Thanks for you time and patience

Pumpalooza

For the dark theme, you can just add the following to the url: /?__theme=dark so that it looks like this: http://127.0.0.1:7860/?__theme=dark For the runtime error you need to download and install cuda 12 from the Nvidia website

Aitrepreneur

So 2 things here: 1) It could be because your audio is not clear enough so it has trouble processing, clearing it up might make it better 2) Sometimes for some people it gets stuck there, so just wait a few minutes once it reaches 100%, then close the webui, relaunch it and continue on with step 2

Aitrepreneur

That worked, thank you. I am now having a slightly different issue. When I try finetuning the model in the xtts-finetune-ui, the 2min audio file I upload never stops formatting. It shows Formatting.... 100% but the seconds keep going forever and it never says "DATASET PROCESSED". Let me know if you have any ideas on what I am doing wrong.

Lance Fanger

also for the finetune model, i'm getting this error when i try to create a dataset: Existing language matches target language Loading Whisper Model! Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "F:\XTTS\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded Oddly, i'm not seeing the same dark theme orange button UI you have in your videos. Mine are all basic white buttons and bad design. lol

Terry Astrial

Genai!) love you Aitrepreneur

Nikita Yermakov

I seem to have an issue with deepspeed. whether it's through your installer or direct download, i'm getting this error: File "F:\XTTS\xtts-webui\venv\lib\site-packages\deepspeed\model_implementations\transformers\ds_transformer.py", line 58, in __init__ inference_module = builder.load() File "F:\XTTS\xtts-webui\venv\lib\site-packages\deepspeed\ops\op_builder\builder.py", line 444, in load return importlib.import_module(self.absolute_name()) File "C:\Users\XXX\AppData\Local\Programs\Python\Python310\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: DLL load failed while importing transformer_inference_op: The specified module could not be found. any clues on how to go about this? for now, i've just disabled deepspeed in the argument line. also, anyone know how to set dark theme for the gradio UI?

Terry Astrial

Probably a bad initial python install, uninstall all previous python install you have and then download and install python 3.10.11 and do not forget to check the add python to path checkbox before the installation Then relaunch the installer in a new folder

Aitrepreneur

With Nvidia GeForce RTX 4090 GPU

Lance Fanger

I am getting the below error when trying to use your installer, any ideas on what is wrong?: Collecting gradio==4.13.0 (from -r .\requirements.txt (line 1)) Using cached gradio-4.13.0-py3-none-any.whl.metadata (15 kB) ERROR: Could not find a version that satisfies the requirement torch==2.1.1 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0) ERROR: No matching distribution found for torch==2.1.1 Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118, 2.3.1+cu118, 2.4.0+cu118) ERROR: No matching distribution found for torch==2.1.1+cu118 Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "C:\Users\lance\OneDrive\Desktop\RealRVC\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Install complete. Press any key to continue . . . (venv) C:\Users\lance\OneDrive\Desktop\RealRVC\xtts-webui>

Lance Fanger

Foe this you need to download and install cuda 12 from the nvidia website

Aitrepreneur

The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "K:\CloneVouse\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "K:\CloneVouse\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "K:\CloneVouse\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "K:\CloneVouse\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "K:\CloneVouse\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

Nikita Yermakov

Yeah that's pretty much the issue indeed and you're saying that changing the float16 to int8 gives you the exact same error??? No way that's possible

Aitrepreneur

GeForce GTX 1080 Ti

Nikita Yermakov

what's your GPU?

Aitrepreneur

The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "K:\CloneVouse\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "K:\CloneVouse\xtts-finetune-webui\utils\formatter.py", line 80, in format_audio_list asr_model = WhisperModel(whisper_model, device=device, compute_type="float16") File "K:\CloneVouse\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 133, in __init__ self.model = ctranslate2.models.Whisper( ValueError: Requested float16 compute type, but the target device or backend do not support efficient float16 computation. ((( likely that you have a GPU that does not support 'float16', you can fix this by editing the 'formatter.py' file in the utils folder and changing the 'float16' to 'int8' I tried it but didn't help (

Nikita Yermakov

Unfortunately not, i don't think that many open source tools support ukrainian language either, it's a bit too niche

Aitrepreneur

try deleting the finetune_models folder and make sure that your audio file is clear

Aitrepreneur

no Ukrainian language *(

Nikita Yermakov

Suddenly I'm getting an error training a model on finetune. Any ideas?: Traceback (most recent call last): File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 859, in run result = context.run(func, *args) File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'C:\\Users\\mkeca\\TTS_stuff\\xtts-finetune-webui\\finetune_models\\run' Traceback (most recent call last): File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 859, in run result = context.run(func, *args) File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'C:\\Users\\mkeca\\TTS_stuff\\xtts-finetune-webui\\finetune_models\\run' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "C:\Users\mkeca\TTS_stuff\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

the10Pole

any chance you could make a pod install file for this? cursed with no Nvidia GPU so thats my only way to use this...T___T

Erowolf-kun

Yes, it works as intended with this little work-around. Thank you for the help <3

Nanamin Ch.

first of all no, you can install one or all of them, up to you. What is the issue you're having? Also no need to put them in a conda env, it already does that in a python env.

Aitrepreneur

not sure, I think you do need a gpu for those tools

Aitrepreneur

yeah...for some reason on some pc it just gets stuck for no reason, I still couldn't find a reason why or what is the common issue among the users. To "solve this" the only way is to basically, once it gets to 100%, wait a little bit with that 100% on, then close the command prompt window and relaunch the webui and just go to the next step, every single file will have been created during the first step, annoying I know but for now that's the only way.

Aitrepreneur

Thanks, I managed to track down the error - FFmpeg couldn't rename it's own folder within Documents because the Documents is being backed up to OneDrive so they must've conflicted. I relocated it to a folder that doesn't get backed up, added it to path and did an install. XTTs Web UI now works correctly. However, xtts finetuner pretends to work and just... doesn't? When creating a dataset it gives no errors and just gets stuck at formatting 100% step 2/2. The seconds counter keeps going up, I waited up to two hours with no dice. It's not communicating anything and on paper appears to be working correctly but clearly not because in your video it takes you less than a minute to process a short sample. Using a Stereo 48K Wav of about 9 seconds length to try this Any potential ideas? Didn't even get to try training yet

Nanamin Ch.

is it neccisarry to install all 3 for one to work. i'm trying to get finetune working but having issues. also i wanna put it in a conda enviroment when i create that enviroment do i need to install the torchstuff and cuda? if its already in the path. thanks

Robbie Zek

Thank you! Will this work with CPU only too?

Jean-Marc Meyer

BigVGAN is a vocoder that needs to be implemented into a tts project to have effect, in theory it should make the final tts sound better but I haven't seen many project implement it and the one that did, didn't seem to add any significant improvement to the final audio

Aitrepreneur

ok no, there is no need to manually install anything, this types of error means that there was some issues during install. So delete everything and let's start from scratch. First, check your installed python version. Make sure that you have only the python 3.10.11 installed. If not, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again. Make sure that you don't have any antiviruses/VPN running before launching the installer. And take any notes of any errors or issues you see during install.

Aitrepreneur

The issue start with the fact that ffmpeg seems to not be installed correctly, or at least it's not able to find the right files in the path. So first go to this folder: C:\Users\veeka\Documents\ffmpeg\ffmpeg_folder\bin and check that you have indeed ffmpeg.exe, ffplay.exe, ffprobe.exe inside the folder. If that's the case then go to the environment variables (just type that in the search in the window startup menu or search online how to do that) then click on the path in both user variables and system variables and make sure that the folder path: C:\Users\veeka\Documents\ffmpeg\ffmpeg_folder\bin is present, if not add it yourself, then redo the install in another folder and try again

Aitrepreneur

What do you think of BigVGAN from Nvidia I asked LLAMA about it according to it does Zero Shot TTS? It’s on Hugging Face Spaces from Nvidia its under the MIT License

Mark

And another after Running Pip Install TTS Traceback (most recent call last): File "C:\Users\JM\Downloads\xtts-webui\app.py", line 67, in from xtts_webui import demo File "C:\Users\JM\Downloads\xtts-webui\xtts_webui.py", line 3, in from scripts.tts_funcs import TTSWrapper File "C:\Users\JM\Downloads\xtts-webui\scripts\tts_funcs.py", line 4, in import torchaudio File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\torchaudio\__init__.py", line 2, in from . import _extension # noqa # usort: skip File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\torchaudio\_extension\__init__.py", line 38, in _load_lib("libtorchaudio") File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\torchaudio\_extension\utils.py", line 60, in _load_lib torch.ops.load_library(path) File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\torch\_ops.py", line 643, in load_library ctypes.CDLL(path) File "C:\Users\JM\AppData\Local\Programs\Python\Python310\lib\ctypes\__init__.py", line 374, in __init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 127] The specified procedure could not be found Press any key to continue . . .

Jean-Marc Meyer

Thanks! One more! I am not an expert but this is what the WEB UI shows now 2024-07-25 12:18:30.573 | INFO | xtts_webui::62 - Start loading model v2.0.2 2024-07-25 12:18:30.573 | INFO | xtts_webui::65 - this dir: C:\Users\JM\Downloads\xtts-webui C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\TTS\tts\layers\xtts\xtts_manager.py:5: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. self.speakers = torch.load(speaker_file_path) C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\TTS\utils\io.py:54: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. return torch.load(f, map_location=map_location, **kwargs) [2024-07-25 12:18:45,136] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect) C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\runtime\zero\linear.py:49: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead. def forward(ctx, input, weight, bias=None): C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\runtime\zero\linear.py:67: FutureWarning: `torch.cuda.amp.custom_bwd(args...)` is deprecated. Please use `torch.amp.custom_bwd(args..., device_type='cuda')` instead. def backward(ctx, grad_output): W0725 12:18:45.330000 21776 torch\distributed\elastic\multiprocessing\redirects.py:28] NOTE: Redirects are currently not supported in Windows or MacOs. Traceback (most recent call last): File "C:\Users\JM\Downloads\xtts-webui\app.py", line 67, in from xtts_webui import demo File "C:\Users\JM\Downloads\xtts-webui\xtts_webui.py", line 66, in XTTS.load_model(this_dir) File "C:\Users\JM\Downloads\xtts-webui\scripts\tts_funcs.py", line 99, in load_model self.load_local_model(this_dir) File "C:\Users\JM\Downloads\xtts-webui\scripts\tts_funcs.py", line 128, in load_local_model self.model.load_checkpoint(config, use_deepspeed=USE_DEEPSPEED,speaker_file_path=speaker_file, checkpoint_dir=str(checkpoint_dir)) File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\TTS\tts\models\xtts.py", line 783, in load_checkpoint self.gpt.init_gpt_for_inference(kv_cache=self.args.kv_cache, use_deepspeed=use_deepspeed) File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\TTS\tts\layers\xtts\gpt.py", line 222, in init_gpt_for_inference import deepspeed File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\__init__.py", line 22, in from . import module_inject File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\module_inject\__init__.py", line 6, in from .replace_module import replace_transformer_layer, revert_transformer_layer, ReplaceWithTensorSlicing, GroupQuantizer, generic_injection File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\module_inject\replace_module.py", line 587, in from ..pipe import PipelineModule File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\pipe\__init__.py", line 6, in from ..runtime.pipe import PipelineModule, LayerSpec, TiedLayerSpec File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\runtime\pipe\__init__.py", line 6, in from .module import PipelineModule, LayerSpec, TiedLayerSpec File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\runtime\pipe\module.py", line 19, in from ..activation_checkpointing import checkpointing File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\runtime\activation_checkpointing\checkpointing.py", line 26, in from deepspeed.runtime.config import DeepSpeedConfig File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\runtime\config.py", line 41, in from ..elasticity import ( File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\elasticity\__init__.py", line 10, in from .elastic_agent import DSElasticAgent File "C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\deepspeed\elasticity\elastic_agent.py", line 9, in from torch.distributed.elastic.agent.server.api import log, _get_socket_with_port ImportError: cannot import name 'log' from 'torch.distributed.elastic.agent.server.api' (C:\Users\JM\Downloads\xtts-webui\venv\lib\site-packages\torch\distributed\elastic\agent\server\api.py) Press any key to continue . . .

Jean-Marc Meyer

Hey! I get weird errors and the installation seems to be incomplete. They look like this: During installation of FFMPEG (as admin) Downloading ffmpeg... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 284 100 284 0 0 842 0 --:--:-- --:--:-- --:--:-- 845 100 87.1M 100 87.1M 0 0 7653k 0 0:00:11 0:00:11 --:--:-- 15.0M Extracting ffmpeg... Renaming the extracted folder... Access is denied. Found ffmpeg binary path: C:\Users\veeka\Documents\ffmpeg\ffmpeg_folder\bin Checking if PATH needs update... PATH already contains ffmpeg binary path. Press any key to continue . . . Idk if the access denied is important but I noticed it so I include it. Then, during installation of all packages I get DEPRECATION warnings like this: DEPRECATION: antlr4-python3-runtime is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 This happens for every package but wheel IS installed so I don't know where it's coming from. Also, it says this: [notice] A new release of pip is available: 23.0.1 -> 24.1.2[notice] To update, run: python.exe -m pip install --upgrade pip My PIP is 24.1.2 so I don't know why it detects otherwise. Python I run is 3.10.11 I can open the Gradio GUI's but uploading a wav to xtts-webui gives this: C:\xtts\xtts-webui\venv\lib\site-packages\pydub\utils.py:198: RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning) Traceback (most recent call last): File "C:\xtts\xtts-webui\venv\lib\site-packages\gradio\processing_utils.py", line 302, in audio_from_file audio = AudioSegment.from_file(filename) File "C:\xtts\xtts-webui\venv\lib\site-packages\pydub\audio_segment.py", line 728, in from_file info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit) File "C:\xtts\xtts-webui\venv\lib\site-packages\pydub\utils.py", line 274, in mediainfo_json res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE) File "C:\Users\veeka\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\veeka\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1456, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\xtts\xtts-webui\venv\lib\site-packages\gradio\queueing.py", line 489, in call_prediction output = await route_utils.call_process_api( File "C:\xtts\xtts-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\xtts\xtts-webui\venv\lib\site-packages\gradio\blocks.py", line 1559, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "C:\xtts\xtts-webui\venv\lib\site-packages\gradio\blocks.py", line 1338, in preprocess_data processed_input.append(block.preprocess(inputs_cached)) File "C:\xtts\xtts-webui\venv\lib\site-packages\gradio\components\audio.py", line 203, in preprocess sample_rate, data = processing_utils.audio_from_file(temp_file_path) File "C:\xtts\xtts-webui\venv\lib\site-packages\gradio\processing_utils.py", line 312, in audio_from_file raise RuntimeError(msg) from e RuntimeError: Cannot load audio from file: `ffprobe` not found. Please install `ffmpeg` in your system to use non-WAV audio file formats and make sure `ffprobe` is in your PATH. ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\xtts\xtts-webui\venv\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 399, in run_asgi result = await app( # type: ignore[func-returns-value] File "C:\xtts\xtts-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__ return await self.app(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\applications.py", line 123, in __call__ await self.middleware_stack(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ raise exc File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 65, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 64, in wrapped_app raise exc File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 756, in __call__ await self.middleware_stack(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 776, in app await route.handle(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 297, in handle await self.app(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 77, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 64, in wrapped_app raise exc File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 75, in app await response(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\responses.py", line 352, in __call__ await send( File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 50, in sender await send(message) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 50, in sender await send(message) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 161, in _send await send(message) File "C:\xtts\xtts-webui\venv\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 526, in send raise RuntimeError("Response content longer than Content-Length") RuntimeError: Response content longer than Content-Length ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\xtts\xtts-webui\venv\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 399, in run_asgi result = await app( # type: ignore[func-returns-value] File "C:\xtts\xtts-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__ return await self.app(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\applications.py", line 123, in __call__ await self.middleware_stack(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ raise exc File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ await self.app(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 65, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 64, in wrapped_app raise exc File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 756, in __call__ await self.middleware_stack(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 776, in app await route.handle(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 297, in handle await self.app(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 77, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 64, in wrapped_app raise exc File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\routing.py", line 75, in app await response(scope, receive, send) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\responses.py", line 352, in __call__ await send( File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 50, in sender await send(message) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 50, in sender await send(message) File "C:\xtts\xtts-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 161, in _send await send(message) File "C:\xtts\xtts-webui\venv\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 526, in send raise RuntimeError("Response content longer than Content-Length") RuntimeError: Response content longer than Content-Length I set the system to UTF-8 in region, I have Python in PATH ABOVE Microsoft and I have PYTHONUTF8 in Path as well. This seems to be some ffmpeg installation issue but for the love of me I can't figure out what. Help appreciated!

Nanamin Ch.

dm me screenshots of your environment variables path, you can't get this error message if you have a correct python install

Aitrepreneur

Yes I do

Kintara

Go inside the main folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: venv\Scripts\activate press enter pip install requests press enter then relaunch the webui

Aitrepreneur

Thanks! That woked, I managed to get it running Just have he message pop up when I run the Start_xtts_Webui Traceback (most recent call last): File "C:\Users\JM\Desktop\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "C:\Users\JM\Desktop\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

Jean-Marc Meyer

ok then what is your python version, have you uninstalled all python versions like I told you and reinstalled the 3.10.11 correctly?

Aitrepreneur

I reinstalled it and Im still getting the deepseed error and " | ERROR | __main__:install_deepspeed_based_on_python_version:62 - Unsupported Python version on Windows." this as well as it was installing

Kintara

Could be an Antivirus issue or a bad bad initial python install, first disable any Antivirus if you do have it running, then you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

in that case there must have been an issue during installation, redo the install again in a new folder and check if you see any error and send them here if you do

Aitrepreneur

Hi There! My ULTIMATE-TTS_AUTO_INSTALLER Quits after only unpacking Python 3.10.6. Any advice? Thanks

Jean-Marc Meyer

Now I got a new error lmao "FileNotFoundError: Could not find module 'xtts-webui\venv\Lib\site-packages\torchaudio\lib\libtorchaudio.pyd' (or one of its dependencies). Try using the full path with constructor syntax"

Kintara

try this: go the xtts folder, click on the folder path type cmd press enter, this will bring the command prompt window and there type venv\Scripts\activate then press enter and then type pip install deepspeed then press enter if that still doesn't work for some reason, then edit the launchxtts.bat file and remove the deepspeed argument

Aitrepreneur

Im still getting the same error here is another thing if it help narrow it down "ModuleNotFoundError: No module named 'deepspeed'"

Kintara

You need the python 3.10.11. First, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

I keep getting the "Unsupported python version on windows" Error and no matter what version I use I still get the error.

Kintara

Sure send me a DM on discord or in the supporter channel

Aitrepreneur

Can we go to the discord or telegram? Can I improve ai voice even better?

Santedi

Well, friend, I'll try to figure it out, I have an rtx3050 for a laptop, it's just strange that XTTS-RVC-UI works fine and I get high-quality voice acting, and xtts-webui simply refuses to work when using a trained model. Do you think it might have something to do with CUDA cores? I have the latest version of NVIDIA's CUDA drivers, but I noticed something that when running xtts-webu in the console, it says that CUDA = 0, maybe it means something? maybe xtts-webui does not see the CUDA core once it writes that they are = 0. That's right, my thoughts are out loud, I just found out yesterday what Python is in general). but I was able to put all these 3 web interfaces and RVC everything works, except for this strange moment

Viktor Yakimenko

This is not an error about the amount of space on your drive, it's linked to the Vram of your GPU, you are probably running too many applications/tabs all at once and your GPU cannot handle it, close a few applications/tabs (might even need to restart pc for some) and try again

Aitrepreneur

Please help me, when I try to voice over in xtts-webui I get the following error: "RuntimeError: Workspace can't be allocated, no enough memory." All other Web interfaces are working and RVC is working, I have already increased the memory for preload files to a maximum, 300GB is free on the PC, what could be the problem? UPD: now I found out that if I delete my finely tuned voice model, which I made in xtts-finetune-webui, and the models folders, then xtts-webui starts voicing the text with standard embedded voices, but when I add my model to the number of models, I get a RuntimeError error at any generation: Workspace can't be allocated, no enough memory. The result is this, if I add to the xtts-web ui a model configured in xtts-finetune-webui, then after that the xtts-web ui starts to give the error "RuntimeError: Workspace can't be allocated, no enough memory." Please help me

Viktor Yakimenko

ok sorry I don't understand your question, what do you mean dub or "voice the audio"? I what sense?

Aitrepreneur

Yes it needs cuda12 to run :)

Aitrepreneur

?

Santedi

I solved the problem by installing Cudatools from the Nvidia website. :)

Judi Godvliet

I get the following error when using xxts-finetune-webui, any suggestions how to solve this? I have a RTX 4090 The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "C:\AI\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "C:\AI\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

Judi Godvliet

likely that you have a GPU that does not support 'float16', you can fix this by editing the 'formatter.py' file in the utils folder and changing the 'float16' to 'int8'

Aitrepreneur

?

David Austin

NVIDIA GeForce GTX 1080

David Austin

what's your GPU?

Aitrepreneur

I get this error when using xtts-finetune-webui The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "D:\TTS\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "D:\TTS\xtts-finetune-webui\utils\formatter.py", line 80, in format_audio_list asr_model = WhisperModel(whisper_model, device=device, compute_type="float16") File "D:\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 133, in __init__ self.model = ctranslate2.models.Whisper( ValueError: Requested float16 compute type, but the target device or backend do not support efficient float16 computation.

David Austin

hi i have tried that. still getting the same error.

Vehicle53

Voice the audio

Santedi

what do you mean dub?

Aitrepreneur

could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection. This could also be a bad initial python install, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

simply delete the finetune models folder and try again

Aitrepreneur

I need to dub the audio into XTTS-RVC-UI? It takes a very long time to dub there. And in xtts-webui the voice is not so high quality

Santedi

ULTIMATE-TTS_AUTO_INSTALLER simply installs git and then quits no further prompts no nothin

Steve Furness

the files metadata_eval and metadata_train have only got audiofile text speaker name in there so im not sure if its actually failing when i create data set. i is saying its successful

Vehicle53

>> DVAE weights restored from: C:\apps\3tts\xtts-finetune-webui\base_models\v2.0.2\dvae.pth Traceback (most recent call last): File "C:\apps\3tts\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "C:\apps\3tts\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in C:\apps\3tts\xtts-finetune-webui\finetune_models\dataset/C:\apps\3tts\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv Traceback (most recent call last): File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "C:\apps\3tts\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "C:\apps\3tts\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in C:\apps\3tts\xtts-finetune-webui\finetune_models\dataset/C:\apps\3tts\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] Traceback (most recent call last): File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "C:\apps\3tts\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "C:\apps\3tts\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in C:\apps\3tts\xtts-finetune-webui\finetune_models\dataset/C:\apps\3tts\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "C:\apps\3tts\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

Vehicle53

hi im getting this error can you help?

Vehicle53

Unfortunately, no 'start.bat' is wirking / starting. They close immediately. And the 'start_xtts_webui.bat' is givin me this error: "Traceback (most recent call last): File "C:\TTS WEBUI\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "C:\TTS WEBUI\xtts-webui\scripts\modeldownloader.py", line 10, in from packaging import version ModuleNotFoundError: No module named 'packaging'"

Max Ruh

1) What is your python version? You need the python 3.10.11. First, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version 2) Have you followed the instruction I gave in the other comment? "open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation"

Aitrepreneur

I went through a number of steps, uninstalling Python, then reinstalling from the website, then I tried to reinstall, and it goes back to the this: Collecting gradio==4.13.0 (from -r .\requirements.txt (line 1)) Using cached gradio-4.13.0-py3-none-any.whl.metadata (15 kB) ERROR: Could not find a version that satisfies the requirement torch==2.1.1 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1) ERROR: No matching distribution found for torch==2.1.1 Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118, 2.3.1+cu118) ERROR: No matching distribution found for torch==2.1.1+cu118 Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "D:\Audio_1\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Install complete. Press any key to continue . . .

Atticus Xey

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

what is your current python version? You need the python 3.10.11. First, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

I assume that I installed, but when I try running, this is what I get. Traceback (most recent call last): File "D:\Audio_1\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "D:\Audio_1\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

Atticus Xey

Trying to install XTTS-UI and I get this errorERROR: Cannot install -r requirements.txt (line 1), -r requirements.txt (line 12), -r requirements.txt (line 3), -r requirements.txt (line 4), -r requirements.txt (line 7), -r requirements.txt (line 9) and numpy==1.22.0 because these package versions have conflicting dependencies. The conflict is caused by: The user requested numpy==1.22.0 fairseq 0.12.2 depends on numpy; python_version >= "3.7" gradio 4.7.1 depends on numpy~=1.0 librosa 0.10.0 depends on numpy>=1.20.3 pyworld 0.3.4 depends on numpy scipy 1.11.4 depends on numpy<1.28.0 and >=1.21.6 tts 0.21.1 depends on numpy>=1.24.3; python_version > "3.10" To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Eddie Reeves

you can try disabling any firewall/antiviruses that might make the dl slow, could also be a bug, so you can just relaunch it in a new folder, but this is again not an error, everything is linked to your internet connection and pc specs

Aitrepreneur

you just need to dl cuda 12 from the nvidia website

Aitrepreneur

The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "F:\hhh\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "F:\hhh\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "F:\hhh\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "F:\hhh\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "F:\hhh\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

Santedi

I have the same issue as Raphael, it's basically stuck on ''Looking in indexes: https://download.pytorch.org/whl/cu118 Collecting torch==2.1.1+cu118'' Has been for 2 hours now...

Sebbe vs X

I see no error here and no it won't mess up the install, depending on your connection and pc specs some package downloads might take more time than others

Aitrepreneur

The install went a little bit further, but now it got stuck at a call isntall.bat saying: Looking in indexes: https://download.pytorch.org/whl/cu118 Collecting torch==2.1.1+cu118

Raphael

Uninstalling the current python is not going to mess up with the RVC install?

Raphael

amd64 is just the architecture of the processor, no need to worry about that. however the fact that it can't properly dl the installer means you might have some connection issue, either because you have a VPN connected or an antivirus/firewall blocking the connection. So try disabling any VPN, antivirus and firewall before launching the installer. Or you can try downloading and installing python manually as well, the 3.10.6 or 3.10.11. Make sure you don't already have any current incorrect python installed. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

you just need to dl cuda 12 from the nvidia website

Aitrepreneur

models needs to be trained (or downloaded if you are trying to clone the voice of someone famous since someone probably already trained it already)

Aitrepreneur

It dowloads a python-3.10.6-amd64 file. I dont have any AMD part on my pc, is it related?

Raphael

[INFO] Winget is already installed. Installing Python 3.10.6... Failed to download Python installer.

Raphael

I just installed RVC and now Im trying to install TTS, i keep getting this:

Raphael

hi Im trying to use xtts finetune but i get this The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "D:\AI\u tts\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "D:\AI\u tts\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "D:\AI\u tts\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "D:\AI\u tts\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "D:\AI\u tts\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded and this in the cmd Existing language matches target language Loading Whisper Model! Traceback (most recent call last): File "D:\AI\u tts\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "D:\AI\u tts\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "D:\AI\u tts\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "D:\AI\u tts\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "D:\AI\u tts\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

beastie _38

Looking into disbaling VPN + firewall now.

Troy Amato

Python version is 3.10.11

Troy Amato

Ok, got it. I totally misunderstood the step then. I thougt the process generating the model was also included. Thanks for clearing this up.

Cthalin

This is a internet connection issue, you might either have a vpn activated or an antivirus/firewall blocking the connection. So first disconnect any VPN you might have and disable any antivirus and firewall before relaunching the installer in a new folder. Also what is your python version? (you can type python --version in a cmd window)

Aitrepreneur

no the automatic part is the fact that you don't need to manually go from the xtts webui, generate the audio THEN manually import that audio inside the RVC webui to generate the finale audio. With the XTTS-RVC-UI, once you have imported the RVC model (and XTTS model as well if you want) you can immediately generate the finale audio in 1 click, it will basically do the whole process automatically

Aitrepreneur

Thanks, thought so already. But then your video here is a bit misleading. If I need the RVC model then I don't need the previous 'finetuned' xtts model at all, right? In your video you generate the xtts model, showing what the RVC ui can do, then saying 'we can do that all automatically', come back to the XTTS-RVC-UI and there you put it some model. So the assumption was 'okay, he's using the previously generated model'. But I need to train the rvc model with the rvc ui (from another video+post) and then put _that_ model inside the xtts-rvc-ui.

Cthalin

Requirement already satisfied: gradio==4.13.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 1)) (4.13.0) Requirement already satisfied: torch==2.1.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 2)) (2.1.1) Requirement already satisfied: torchaudio==2.1.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 3)) (2.1.1) Requirement already satisfied: faster-whisper==1.0.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 4)) (1.0.1) Requirement already satisfied: tts>=0.22.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 5)) (0.22.0) Requirement already satisfied: langid in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 6)) (1.1.6) Requirement already satisfied: noisereduce in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 7)) (3.0.2) Requirement already satisfied: pedalboard in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 8)) (0.9.8) Requirement already satisfied: pydub in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 9)) (0.25.1) Requirement already satisfied: ffmpeg-python in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 10)) (0.2.0) Requirement already satisfied: soundfile in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 11)) (0.12.1) Requirement already satisfied: cutlet in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 12)) (0.4.0) Requirement already satisfied: fugashi[unidic-lite] in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 13)) (1.3.2) Requirement already satisfied: loguru in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 14)) (0.7.2) Requirement already satisfied: omegaconf==2.3.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 15)) (2.3.0) Requirement already satisfied: resampy==0.4.2 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 16)) (0.4.2) Requirement already satisfied: tabulate==0.8.10 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 17)) (0.8.10) Requirement already satisfied: requests in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 18)) (2.32.3) Requirement already satisfied: faiss-cpu in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 19)) (1.8.0.post1) Requirement already satisfied: pyworld in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 20)) (0.3.4) Requirement already satisfied: torchcrepe in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 21)) (0.0.23) Requirement already satisfied: praat-parselmouth>=0.4.2 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 22)) (0.4.3) Requirement already satisfied: translators in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 23)) (5.9.2) Requirement already satisfied: transformers==4.36.2 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 24)) (4.36.2) Requirement already satisfied: deepl in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 25)) (1.18.0) Requirement already satisfied: pysubs2 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from -r .\requirements.txt (line 27)) (1.7.2) Requirement already satisfied: typing-extensions~=4.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (4.12.2) Requirement already satisfied: packaging in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (24.1) Requirement already satisfied: semantic-version~=2.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (2.10.0) Requirement already satisfied: pillow<11.0,>=8.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (10.3.0) Requirement already satisfied: httpx in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (0.27.0) Requirement already satisfied: tomlkit==0.12.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (0.12.0) Requirement already satisfied: pyyaml<7.0,>=5.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (6.0.1) Requirement already satisfied: importlib-resources<7.0,>=1.3 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (6.4.0) Requirement already satisfied: fastapi in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (0.111.0) Requirement already satisfied: matplotlib~=3.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (3.8.4) Requirement already satisfied: ffmpy in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (0.3.2) Requirement already satisfied: orjson~=3.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (3.10.5) Requirement already satisfied: typer[all]<1.0,>=0.9 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (0.12.3) Requirement already satisfied: numpy~=1.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (1.22.0) Requirement already satisfied: gradio-client==0.8.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (0.8.0) Requirement already satisfied: python-multipart in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (0.0.9) Requirement already satisfied: pandas<3.0,>=1.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (1.5.3) Requirement already satisfied: aiofiles<24.0,>=22.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (23.2.1) Requirement already satisfied: pydantic>=2.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (2.7.4) Requirement already satisfied: huggingface-hub>=0.19.3 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (0.23.4) Requirement already satisfied: markupsafe~=2.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (2.1.5) Requirement already satisfied: uvicorn>=0.14.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (0.30.1) Requirement already satisfied: altair<6.0,>=4.2.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (5.3.0) Requirement already satisfied: jinja2<4.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio==4.13.0->-r .\requirements.txt (line 1)) (3.1.4) Requirement already satisfied: fsspec in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from torch==2.1.1->-r .\requirements.txt (line 2)) (2024.6.1) Requirement already satisfied: networkx in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from torch==2.1.1->-r .\requirements.txt (line 2)) (2.8.8) Requirement already satisfied: filelock in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from torch==2.1.1->-r .\requirements.txt (line 2)) (3.15.4) Requirement already satisfied: sympy in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from torch==2.1.1->-r .\requirements.txt (line 2)) (1.12.1) Requirement already satisfied: tokenizers<0.16,>=0.13 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from faster-whisper==1.0.1->-r .\requirements.txt (line 4)) (0.15.2) Requirement already satisfied: av==11.* in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from faster-whisper==1.0.1->-r .\requirements.txt (line 4)) (11.0.0) Requirement already satisfied: onnxruntime<2,>=1.14 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from faster-whisper==1.0.1->-r .\requirements.txt (line 4)) (1.18.1) Requirement already satisfied: ctranslate2<5,>=4.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from faster-whisper==1.0.1->-r .\requirements.txt (line 4)) (4.3.1) Requirement already satisfied: antlr4-python3-runtime==4.9.* in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from omegaconf==2.3.0->-r .\requirements.txt (line 15)) (4.9.3) Requirement already satisfied: numba>=0.53 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from resampy==0.4.2->-r .\requirements.txt (line 16)) (0.60.0) Requirement already satisfied: regex!=2019.12.17 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from transformers==4.36.2->-r .\requirements.txt (line 24)) (2024.5.15) Requirement already satisfied: tqdm>=4.27 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from transformers==4.36.2->-r .\requirements.txt (line 24)) (4.66.4) Requirement already satisfied: safetensors>=0.3.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from transformers==4.36.2->-r .\requirements.txt (line 24)) (0.4.3) Requirement already satisfied: websockets<12.0,>=10.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from gradio-client==0.8.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (11.0.3) Requirement already satisfied: librosa in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from noisereduce->-r .\requirements.txt (line 7)) (0.10.0) Requirement already satisfied: scipy in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from noisereduce->-r .\requirements.txt (line 7)) (1.11.4) Requirement already satisfied: future in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from ffmpeg-python->-r .\requirements.txt (line 10)) (1.0.0) Requirement already satisfied: cffi>=1.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from soundfile->-r .\requirements.txt (line 11)) (1.16.0) Requirement already satisfied: mojimoji in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from cutlet->-r .\requirements.txt (line 12)) (0.0.13) Requirement already satisfied: jaconv in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from cutlet->-r .\requirements.txt (line 12)) (0.3.4) Requirement already satisfied: unidic-lite in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from fugashi[unidic-lite]->-r .\requirements.txt (line 13)) (1.0.8) Requirement already satisfied: win32-setctime>=1.0.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from loguru->-r .\requirements.txt (line 14)) (1.1.0) Requirement already satisfied: colorama>=0.3.4 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from loguru->-r .\requirements.txt (line 14)) (0.4.6) Requirement already satisfied: idna<4,>=2.5 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from requests->-r .\requirements.txt (line 18)) (3.7) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from requests->-r .\requirements.txt (line 18)) (3.3.2) Requirement already satisfied: certifi>=2017.4.17 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from requests->-r .\requirements.txt (line 18)) (2024.6.2) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from requests->-r .\requirements.txt (line 18)) (2.2.2) Requirement already satisfied: cython>=0.24 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from pyworld->-r .\requirements.txt (line 20)) (3.0.10) Requirement already satisfied: lxml>=4.9.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from translators->-r .\requirements.txt (line 23)) (5.2.2) Requirement already satisfied: pathos>=0.2.9 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from translators->-r .\requirements.txt (line 23)) (0.3.2) Requirement already satisfied: PyExecJS>=1.5.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from translators->-r .\requirements.txt (line 23)) (1.5.1) Requirement already satisfied: cryptography>=42.0.4 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from translators->-r .\requirements.txt (line 23)) (42.0.8) Requirement already satisfied: jsonschema>=3.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (4.22.0) Requirement already satisfied: toolz in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.12.1) Requirement already satisfied: pycparser in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from cffi>=1.0->soundfile->-r .\requirements.txt (line 11)) (2.22) Requirement already satisfied: setuptools in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from ctranslate2<5,>=4.0->faster-whisper==1.0.1->-r .\requirements.txt (line 4)) (65.5.0) Requirement already satisfied: lazy-loader>=0.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from librosa->noisereduce->-r .\requirements.txt (line 7)) (0.4) Requirement already satisfied: decorator>=4.3.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from librosa->noisereduce->-r .\requirements.txt (line 7)) (5.1.1) Requirement already satisfied: scikit-learn>=0.20.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from librosa->noisereduce->-r .\requirements.txt (line 7)) (1.5.0) Requirement already satisfied: soxr>=0.3.2 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from librosa->noisereduce->-r .\requirements.txt (line 7)) (0.3.7) Requirement already satisfied: joblib>=0.14 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from librosa->noisereduce->-r .\requirements.txt (line 7)) (1.4.2) Requirement already satisfied: audioread>=2.1.9 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from librosa->noisereduce->-r .\requirements.txt (line 7)) (3.0.1) Requirement already satisfied: pooch>=1.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from librosa->noisereduce->-r .\requirements.txt (line 7)) (1.8.2) Requirement already satisfied: msgpack>=1.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from librosa->noisereduce->-r .\requirements.txt (line 7)) (1.0.8) Requirement already satisfied: pyparsing>=2.3.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (3.1.2) Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (1.4.5) Requirement already satisfied: python-dateutil>=2.7 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (2.9.0.post0) Requirement already satisfied: cycler>=0.10 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.12.1) Requirement already satisfied: contourpy>=1.0.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (1.2.1) Requirement already satisfied: fonttools>=4.22.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (4.53.0) Requirement already satisfied: llvmlite<0.44,>=0.43.0dev0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from numba>=0.53->resampy==0.4.2->-r .\requirements.txt (line 16)) (0.43.0) Requirement already satisfied: coloredlogs in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from onnxruntime<2,>=1.14->faster-whisper==1.0.1->-r .\requirements.txt (line 4)) (15.0.1) Requirement already satisfied: flatbuffers in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from onnxruntime<2,>=1.14->faster-whisper==1.0.1->-r .\requirements.txt (line 4)) (24.3.25) Requirement already satisfied: protobuf in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from onnxruntime<2,>=1.14->faster-whisper==1.0.1->-r .\requirements.txt (line 4)) (4.25.3) Requirement already satisfied: pytz>=2020.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from pandas<3.0,>=1.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (2024.1) Requirement already satisfied: ppft>=1.7.6.8 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from pathos>=0.2.9->translators->-r .\requirements.txt (line 23)) (1.7.6.8) Requirement already satisfied: pox>=0.3.4 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from pathos>=0.2.9->translators->-r .\requirements.txt (line 23)) (0.3.4) Requirement already satisfied: dill>=0.3.8 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from pathos>=0.2.9->translators->-r .\requirements.txt (line 23)) (0.3.8) Requirement already satisfied: multiprocess>=0.70.16 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from pathos>=0.2.9->translators->-r .\requirements.txt (line 23)) (0.70.16) Requirement already satisfied: annotated-types>=0.4.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from pydantic>=2.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.7.0) Requirement already satisfied: pydantic-core==2.18.4 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from pydantic>=2.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (2.18.4) Requirement already satisfied: six>=1.10.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from PyExecJS>=1.5.1->translators->-r .\requirements.txt (line 23)) (1.16.0) WARNING: typer 0.12.3 does not provide the extra 'all' Requirement already satisfied: rich>=10.11.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.13.0->-r .\requirements.txt (line 1)) (13.7.1) Requirement already satisfied: click>=8.0.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.13.0->-r .\requirements.txt (line 1)) (8.1.7) Requirement already satisfied: shellingham>=1.3.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.13.0->-r .\requirements.txt (line 1)) (1.5.4) Requirement already satisfied: h11>=0.8 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from uvicorn>=0.14.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.14.0) Requirement already satisfied: fastapi-cli>=0.0.2 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from fastapi->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.0.4) Requirement already satisfied: starlette<0.38.0,>=0.37.2 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from fastapi->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.37.2) Requirement already satisfied: email_validator>=2.0.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from fastapi->gradio==4.13.0->-r .\requirements.txt (line 1)) (2.2.0) Requirement already satisfied: ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,>=4.0.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from fastapi->gradio==4.13.0->-r .\requirements.txt (line 1)) (5.10.0) Requirement already satisfied: httpcore==1.* in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from httpx->gradio==4.13.0->-r .\requirements.txt (line 1)) (1.0.5) Requirement already satisfied: sniffio in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from httpx->gradio==4.13.0->-r .\requirements.txt (line 1)) (1.3.1) Requirement already satisfied: anyio in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from httpx->gradio==4.13.0->-r .\requirements.txt (line 1)) (4.4.0) Requirement already satisfied: mpmath<1.4.0,>=1.1.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from sympy->torch==2.1.1->-r .\requirements.txt (line 2)) (1.3.0) Requirement already satisfied: dnspython>=2.0.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from email_validator>=2.0.0->fastapi->gradio==4.13.0->-r .\requirements.txt (line 1)) (2.6.1) Requirement already satisfied: attrs>=22.2.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (23.2.0) Requirement already satisfied: referencing>=0.28.4 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.35.1) Requirement already satisfied: jsonschema-specifications>=2023.03.6 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (2023.12.1) Requirement already satisfied: rpds-py>=0.7.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.18.1) Requirement already satisfied: platformdirs>=2.5.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from pooch>=1.0->librosa->noisereduce->-r .\requirements.txt (line 7)) (4.2.2) Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from rich>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.13.0->-r .\requirements.txt (line 1)) (2.18.0) Requirement already satisfied: markdown-it-py>=2.2.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from rich>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.13.0->-r .\requirements.txt (line 1)) (3.0.0) Requirement already satisfied: threadpoolctl>=3.1.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from scikit-learn>=0.20.0->librosa->noisereduce->-r .\requirements.txt (line 7)) (3.5.0) Requirement already satisfied: exceptiongroup>=1.0.2 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from anyio->httpx->gradio==4.13.0->-r .\requirements.txt (line 1)) (1.2.1) Requirement already satisfied: httptools>=0.5.0 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from uvicorn>=0.14.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.6.1) Requirement already satisfied: watchfiles>=0.13 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from uvicorn>=0.14.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.22.0) Requirement already satisfied: python-dotenv>=0.13 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from uvicorn>=0.14.0->gradio==4.13.0->-r .\requirements.txt (line 1)) (1.0.1) Requirement already satisfied: humanfriendly>=9.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from coloredlogs->onnxruntime<2,>=1.14->faster-whisper==1.0.1->-r .\requirements.txt (line 4)) (10.0) Requirement already satisfied: pyreadline3 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime<2,>=1.14->faster-whisper==1.0.1->-r .\requirements.txt (line 4)) (3.4.1) Requirement already satisfied: mdurl~=0.1 in c:\users\admin\desktop\xtts-webui\venv\lib\site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.13.0->-r .\requirements.txt (line 1)) (0.1.2) [notice] A new release of pip is available: 23.0.1 -> 24.1.1 [notice] To update, run: python.exe -m pip install --upgrade pip Looking in indexes: https://download.pytorch.org/whl/cu118 Collecting torch==2.1.1+cu118 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /whl/cu118/torch-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /whl/cu118/torch-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /whl/cu118/torch-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /whl/cu118/torch-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /whl/cu118/torch-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='download.pytorch.org', port=443): Max retries exceeded with url: /whl/cu118/torch-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed')) [notice] A new release of pip is available: 23.0.1 -> 24.1.1 [notice] To update, run: python.exe -m pip install --upgrade pip Install deepspeed for windows for python 3.10.x and CUDA 11.8

Troy Amato

Okay I will reinstall and try again. For the record that is the whole error log. That is the first code that pulls up when I use the start.bat.

Troy Amato

well yeah it explains the issue, altough you see a pth file format, the model you have is a xtts model not a RVC model, as I said in the video, watch my RVC training video for the RVC model training

Aitrepreneur

When copying the model from the finetuning inside the XTTS-RVC-UI and trying to generate audio all I got is the message: 'ValueError: Incorrect format for ./rvcs/model.pth. Use a voice model trained using RVC v2 instead.' That is all. When I press submit it creates an output.wmv file which looks like the correct result, but both in the console and in the UI itself I have error messages. I have trained the models following your tutorial in xtts-finetune-webui. I also don't get this '*.index' file you are talking about in your video from the training.

Cthalin

that shouldn't be the issue, were there any error during install? I need to full error log as well

Aitrepreneur

Most of the packages were installed with a DEPRECATION that " DEPRECATION: gruut-ipa is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559" Also It tells me to upgrade to py 24.1.1 which I have done.

Troy Amato

Traceback (most recent call last): File "C:\Users\Admin\Desktop\xtts-webui\app.py", line 67, in from xtts_webui import demo File "C:\Users\Admin\Desktop\xtts-webui\xtts_webui.py", line 3, in from scripts.tts_funcs import TTSWrapper File "C:\Users\Admin\Desktop\xtts-webui\scripts\tts_funcs.py", line 6, in from TTS.api import TTS ValueError: source code string cannot contain null bytes Press any key to continue . . . Traceback (most recent call last): File "C:\Users\Admin\Desktop\xtts-webui\app.py", line 67, in from xtts_webui import demo File "C:\Users\Admin\Desktop\xtts-webui\xtts_webui.py", line 3, in from scripts.tts_funcs import TTSWrapper File "C:\Users\Admin\Desktop\xtts-webui\scripts\tts_funcs.py", line 6, in from TTS.api import TTS ValueError: source code string cannot contain null bytes Press any key to continue . . . Just trying to run and launch XTTS 1. This is when i use the start bat file.

Troy Amato

thanks for the help, it worked

Albion22

1) XTTS-WEBUI

Jaida Darien

you just need to dl cuda 12 from the nvidia website

Aitrepreneur

for which webui?

Aitrepreneur

Hi I'm trying to use the xtts finetune webui and as soon as I press create datadset I get the following error. Any solutions to this ? Traceback (most recent call last): File "E:\TTS\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "E:\TTS\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "E:\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

Albion22

can you help me? def _grad_clipping(self, grad_clip: float, optimizer: torch.optim.Optimizer, scaler: torch.amp.GradScaler): AttributeError: module 'torch.amp' has no attribute 'GradScaler'

Jaida Darien

Thank you, didn’t try that!

Дмитро Примаченко

just delete the finetune models folder and try again

Aitrepreneur

usually this can be solved by deleting the finetune models folder and trying again. you can also try reinstalling in a new folder and check if there are any errors during install and send them to me

Aitrepreneur

assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in C:\ai\APP\xtts-finetune-webui\finetune_models\dataset/C:\ai\APP\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv Traceback (most recent call last): File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "C:\ai\APP\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "C:\ai\APP\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in C:\ai\APP\xtts-finetune-webui\finetune_models\dataset/C:\ai\APP\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] Traceback (most recent call last): File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "C:\ai\APP\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "C:\ai\APP\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in C:\ai\APP\xtts-finetune-webui\finetune_models\dataset/C:\ai\APP\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

redmat winch

please help me im' getting crazy always the same problem:

redmat winch

Hello! Bothering you as a last resort because I already tried everything I could find on web regarding the problem and nothing worked for me unfortunately. When starting model training in finetune I receive error message: PermissionError: [WinError 5] Отказано в доступе: 'E:\\AI stuff\\TTS\\Text To Speech\\xtts-finetune-webui\\finetune_models\\run' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "E:\AI stuff\TTS\Text To Speech\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "E:\AI stuff\TTS\Text To Speech\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None I checked all permissions for all possible files a million times, ran both cmd and start.bat as administrator, nothing changed. I also checked my python, started install.bat several times, but it didn't help either. As far as I could understand the problem might be not in permissions really, but in some troubles during installation process (maybe). But unfortunately I am too dumb to find out the root of the problem and therefore its solution. Sorry for bothering you and would be thankful for any help!

Дмитро Примаченко

Same to me and I have a 16 GB video card

redmat winch

No need no

Aitrepreneur

If I already have FFMPEG installed, do I still need to install this one?

BennyBooBoo69420xx_xx

You can change the language when uploading the audio file in the first step, try also the 03 model if you plan on training german, it apparently work better with it

Aitrepreneur

Sorry to bother you again, but I'm having trouble with the XTTS fine-tune UI, and it's giving me headaches. I managed to resolve the issue where I encountered an error message like this: ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 265, in __call__ await wrap(partial(self.listen_for_disconnect, receive)) ... I fixed it simply by reopening the XTTS fine-tune UI and retrying the process. The problem I'm facing now is related to the XTTS fine-tune UI incorrectly detecting the language, which causes the model to switch languages unexpectedly. When I review the final result of the fine-tuned model, the original German language doesn't perform well. However, the English results seem to be working perfectly. Is there a way of locking the model to a specific language other than the options when u start the XXTS finetune ui?

Kevin Weiß

if you edit the start.bat file on line 5 you can add the --port argument followed by the port number you want to use so in the end you get something like python xtts_demo.py --port 420

Aitrepreneur

yeah that's fine, it doesn't matter

Aitrepreneur

I have everything working i just need help with the xtts finetune ui - the problem is when i try to launch this it says ' cannot find empty port in range 5003-5003. You can specify a different port by setting the GRADIO_SERVER_PORT environment variable or passing the 'server_port' parameter to 'launch()'

Mr Hussain

when training a xxts-finetune model i get this message: "[!] Warning: The text length exceeds the character limit of 253 for language 'de', this might cause truncated audio." Can I fix that or does that not matter?

Kevin Weiß

was the install done correctly? Any errors during install? What was the lengh and size of the audio?

Aitrepreneur

yes you can do that with RVC, I made a video about that: https://youtu.be/IqraHS5sgOU

Aitrepreneur

I have this exact same issue. Tried a wav file and deleted the finetune models folder. Still no progress. Super strange! (Using a 3080 Ti)

TonkotsuBlack

I already Uninstalled and put in new folder as well...

Professor Chris G

thanks a lot, do you have a good way of removing music in the background from the samples when making the models? Cause I think with the websites I currently use, to remove music, I lose quality

Kevin Weiß

Now for some reason I'm getting this error message: ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 265, in __call__ await wrap(partial(self.listen_for_disconnect, receive)) File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 261, in wrap await func() File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 238, in listen_for_disconnect message = await receive() File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 553, in receive await self.message_event.wait() File "C:\Users\chris\AppData\Local\Programs\Python\Python310\lib\asyncio\locks.py", line 214, in wait await fut asyncio.exceptions.CancelledError: Cancelled by cancel scope 22ffe4069e0 During handling of the above exception, another exception occurred: + Exception Group Traceback (most recent call last): | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 399, in run_asgi | result = await app( # type: ignore[func-returns-value] | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__ | return await self.app(scope, receive, send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ | await super().__call__(scope, receive, send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\applications.py", line 123, in __call__ | await self.middleware_stack(scope, receive, send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ | raise exc | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ | await self.app(scope, receive, _send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ | await self.app(scope, receive, send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 65, in __call__ | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 64, in wrapped_app | raise exc | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app | await app(scope, receive, sender) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 776, in app | await route.handle(scope, receive, send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 297, in handle | await self.app(scope, receive, send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 77, in app | await wrap_app_handling_exceptions(app, request)(scope, receive, send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 64, in wrapped_app | raise exc | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app | await app(scope, receive, sender) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 75, in app | await response(scope, receive, send) | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 258, in __call__ | async with anyio.create_task_group() as task_group: | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 680, in __aexit__ | raise BaseExceptionGroup( | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 261, in wrap | await func() | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 250, in stream_response | async for chunk in self.body_iterator: | File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\gradio\routes.py", line 602, in sse_stream | raise HTTPException( | fastapi.exceptions.HTTPException: 404: Session not found.

Professor Chris G

Prefect thank you

Professor Chris G

😱😱 YES! I AM EXTREMELY UPSET! Jk 😄 To solve this error you just need to dl and install cuda 12 from the nvidia website :) https://developer.nvidia.com/cuda-downloads

Aitrepreneur

Before you get upset with me I redid everything, installed an NVIDIA Geforce GPU and everything seems to have installed correctly :) but on the finetune app I keep getting an error message when I upload my audio: The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "C:\Users\chris\Documents\VoiceClone\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

Professor Chris G

ok then reinstall in a new folder, Not in a Onedrive subfolder and see if that works, check if there are any errors during install as well

Aitrepreneur

python Version is 3.10

Kevin Weiß

Looks like there is indeed some issues with some asian languages as of right now, might need to wait for an official fix

Aitrepreneur

First what is your python version? Secondly, NEVER install in a OneDrive subfolder, it can cause issues during install

Aitrepreneur

Hello, when I start the finetune webui i get this Error: ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 265, in __call__ await wrap(partial(self.listen_for_disconnect, receive)) File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 261, in wrap await func() File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 238, in listen_for_disconnect message = await receive() File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 553, in receive await self.message_event.wait() File "C:\Users\kevin\AppData\Local\Programs\Python\Python310\lib\asyncio\locks.py", line 214, in wait await fut asyncio.exceptions.CancelledError: Cancelled by cancel scope 1cc30bccd30 During handling of the above exception, another exception occurred: + Exception Group Traceback (most recent call last): | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 399, in run_asgi | result = await app( # type: ignore[func-returns-value] | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__ | return await self.app(scope, receive, send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ | await super().__call__(scope, receive, send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\applications.py", line 123, in __call__ | await self.middleware_stack(scope, receive, send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ | raise exc | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ | await self.app(scope, receive, _send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\cors.py", line 85, in __call__ | await self.app(scope, receive, send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 65, in __call__ | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 64, in wrapped_app | raise exc | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app | await app(scope, receive, sender) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 756, in __call__ | await self.middleware_stack(scope, receive, send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 776, in app | await route.handle(scope, receive, send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 297, in handle | await self.app(scope, receive, send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 77, in app | await wrap_app_handling_exceptions(app, request)(scope, receive, send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 64, in wrapped_app | raise exc | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app | await app(scope, receive, sender) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\routing.py", line 75, in app | await response(scope, receive, send) | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 258, in __call__ | async with anyio.create_task_group() as task_group: | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 680, in __aexit__ | raise BaseExceptionGroup( | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 261, in wrap | await func() | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\starlette\responses.py", line 250, in stream_response | async for chunk in self.body_iterator: | File "C:\Users\kevin\OneDrive\Desktop\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\routes.py", line 602, in sse_stream | raise HTTPException( | fastapi.exceptions.HTTPException: 404: Session not found. +------------------------------------ I tried to reinstall but it keept comming back

Kevin Weiß

It works on English voice file and select the language as en, but not works on Chinese voice file and select the language as zh . I have tried different Chinese Voice Files, none of them works.

Scofiled Yeh

Delete the finetune model folder and retry again

Aitrepreneur

I retried the create the dataset. It shows dataset processed. But I tried to fine tuning XTTS, I got an error: assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in E:\AI\TTS\xtts-finetune-webui\finetune_models\dataset/E:\AI\TTS\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] I checked the csv files. They are all empty. How can I fix it?

Scofiled Yeh

Are you sure you did all the steps correctly? There is no way it can give you the same error, try redoing the steps again and relaunch the installer again in a new folder, then if the error is still there, give me the full error log

Aitrepreneur

Something that I noticed is that the installation file keeps trying to use pip 23.0.1 despite me having pip 24.0 installed.

John Greggs

Hi, thanks for the quick response. I followed the steps above and I'm still getting the same error.

John Greggs

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

Hi, I have been trying to run this install, but I keep getting an error saying that python can't build wheels for TTS. "note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for tts Failed to build tts ERROR: Could not build wheels for tts, which is required to install pyproject.toml-based projects". I get this error when I try to launch the UI after the install: ModuleNotFoundError: No module named 'requests' I have an RTX 3060 12gb and I have python 3.10.6 installed on my computer.

John Greggs

Yup well...nothing i can do here unfortunately...AMD gpu are not supported....i will make a quick runpod installer foe those that don't have an nvidia gpu though

Aitrepreneur

Thank you that solved the problem. But now I get the following: RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx I have an AMD GPU

Peter

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

bro we had this discussion before I think, this is a AMD gpu...you need an Nvidia gpu...

Aitrepreneur

you need to download cuda 12 from the nvidia website

Aitrepreneur

Now I'm getting this message The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "C:\Users\chris\Music\Voice Clone\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "C:\Users\chris\Music\Voice Clone\xtts-finetune-webui\utils\formatter.py", line 80, in format_audio_list asr_model = WhisperModel(whisper_model, device=device, compute_type="float16") File "C:\Users\chris\Music\Voice Clone\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 133, in __init__ self.model = ctranslate2.models.Whisper( ValueError: Requested float16 compute type, but the target device or backend do not support efficient float16 computation.

Professor Chris G

Hi, When I open start_xtts_webui.bat I get following error: File "c:\Users\Peter\AppData\Local\Programs\Python\Python310\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "c:\Users\Peter\AppData\Local\Programs\Python\Python310\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

Peter

Okay so please bear with me. I installed Radeon RX 580 8G GDDR5 and I'm attempting to install this but I'm getting this runtime error message RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx Press any key to continue . . .

Professor Chris G

Hi, I got an error while creating the dataset in xtts-finetune-webui, please help me fix it. Thank you! "The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "D:\AI\TTS\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "D:\AI\TTS\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "D:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "D:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "D:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded"

Scofiled Yeh

Just saw that there is a install.sh inside, its ok ;)

olivier andrade

delete the finetune model folder and try again

Aitrepreneur

Thanks a lot !

olivier andrade

Yup I'm making one, will be available soon

Aitrepreneur

Hello @Aitrepreneur, could we have a runpod version of this ? that would be amaizing

olivier andrade

That's what I did. I rebooted then it instantly took the cache. But then next step I got this: The above exception was the direct cause of the following exception: Traceback (most recent call last): File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None Traceback (most recent call last): File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 859, in run result = context.run(func, *args) File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "E:\AI\TTS\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'E:\\AI\\TTS\\xtts-finetune-webui\\finetune_models\\run' Traceback (most recent call last): File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 859, in run result = context.run(func, *args) File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "E:\AI\TTS\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'E:\\AI\\TTS\\xtts-finetune-webui\\finetune_models\\run' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "E:\AI\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

Chris

try a small wav file of 2mins first see if it works, there might have been an issue during install as well so maybe reinstalling in a new folder and checking the error log might help see where the issue is

Aitrepreneur

No just the dash flashing so it's indeed not finishing the process. I have 2x 2080 Ti. It wasn't until I installed CUDA 12 that it started working. I quit after 600 sec or so.

Chris

I'll be the first to ask 😆

Professor Chris G

Maybe but it will take a long time to generate, i might make a runpod version if people asks for it

Aitrepreneur

Will I still be able to use it at all😐

Professor Chris G

any error in the command prompt? What's your GPU?

Aitrepreneur

yeah...except a 1050ti only has 4gb of vram so you won't get very far with it..🥲

Aitrepreneur

Finally got it running without errors. I started 'Step 1 - Create Dataset' and it goes to 100% shortly, then just stays there at 100% full bar.. it doesn't get to 'Data Processed' and I can't continue.

Chris

Okay sorry I'm new to all this. I just installed a GeForce GTX 1050 Ti Graphics Card and I'm going to try this 😀 I'm excited to give your stuff a try

Professor Chris G

Sorry, I was doing something wrong. I have it all working now. Working on training a Christoper Walken voice :)

Erin James Carney

it worked before an now it doesn't? For all of them? Are you sure that you are launching the correct file? Have you tried reinstalling them in a new folder?

Aitrepreneur

HELLO. PLEASE HELP. I was able to install the files the basic xtts worked but now none work. Am I doing something wrong? Also, I get this: ImportError: DLL load failed while importing transformer_inference_op: The specified module could not be found. Press any key to continue . . .

Erin James Carney

what's your GPU?

Aitrepreneur

I need to see the error message, maybe make some screenshots? Or record your screen?

Aitrepreneur

Anyone else having this issue? I'm running the xtts-finetune webui and the Formatting process of training gets stuck at 100%. The cmd window closes automatically and the elapsed time in the webui just keeping on running... - Uninstalled python and reinstalled with the correct version shown elsewhere in the comments. - Audio file is an MP3, 2:54 in length. Any idea what's happening here?

TonkotsuBlack

Thanks for the fix! I had the same error and this solved it for me.

TonkotsuBlack

When I attempted to upload an audio file, I received an error message without any specific details. And after turning off the server, I was unable to access the link again. The browser simply displayed a message stating, "Can't reach this page."

Hưng Phạm Đăng

what is the full error log?

Aitrepreneur

Hi i figure out how to set up but when I try to upload an mp3 file for cloning. It said "error"

Hưng Phạm Đăng

i'm updated to the latest at the moment, i'm looking for how to install deepspeed

Solitary Robot

should i update?

Solitary Robot

3.9.5

Solitary Robot

no I told you, nothing will work without a proper GPU

Aitrepreneur

what python version have you got?

Aitrepreneur

Will an iGPU processor work with this? Graphics Card Description: Integrated Graphics Coprocessor: Intel HD Graphics 530

Professor Chris G

and here is from the start_xtts_webui.bat: Traceback (most recent call last): File "E:\StableDiffTTS\xtts-webui\app.py", line 67, in from xtts_webui import demo File "E:\StableDiffTTS\xtts-webui\xtts_webui.py", line 66, in XTTS.load_model(this_dir) File "E:\StableDiffTTS\xtts-webui\scripts\tts_funcs.py", line 99, in load_model self.load_local_model(this_dir) File "E:\StableDiffTTS\xtts-webui\scripts\tts_funcs.py", line 128, in load_local_model self.model.load_checkpoint(config, use_deepspeed=USE_DEEPSPEED,speaker_file_path=speaker_file, checkpoint_dir=str(checkpoint_dir)) File "E:\StableDiffTTS\xtts-webui\venv\lib\site-packages\TTS\tts\models\xtts.py", line 783, in load_checkpoint self.gpt.init_gpt_for_inference(kv_cache=self.args.kv_cache, use_deepspeed=use_deepspeed) File "E:\StableDiffTTS\xtts-webui\venv\lib\site-packages\TTS\tts\layers\xtts\gpt.py", line 222, in init_gpt_for_inference import deepspeed ModuleNotFoundError: No module named 'deepspeed' Press any key to continue . . .

Solitary Robot

I also have cuda installed

Solitary Robot

this is where i ended up last night

Solitary Robot

after doing some googleing, i tried pip install deepsspeed, and getting a lot of errors for that :Collecting deepspeed Using cached deepspeed-0.14.2.tar.gz (1.3 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [15 lines of output] test.c LINK : fatal error LNK1181: cannot open input file 'aio.lib' Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\Lee\AppData\Local\Temp\pip-install-8v1x3q7z\deepspeed_4487252eb85d43e2be92e77cf3b2b793\setup.py", line 180, in abort(f"Unable to pre-compile {op_name}") File "C:\Users\Lee\AppData\Local\Temp\pip-install-8v1x3q7z\deepspeed_4487252eb85d43e2be92e77cf3b2b793\setup.py", line 52, in abort assert False, msg AssertionError: Unable to pre-compile async_io DS_BUILD_OPS=1 [WARNING] async_io requires the dev libaio .so object and headers but these were not found. [WARNING] If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. [WARNING] One can disable async_io with DS_BUILD_AIO=0 [ERROR] Unable to pre-compile async_io [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output.

Solitary Robot

what is the full error log?

Aitrepreneur

Just wanted to say thanks for the reply. From henceforth when I have issues I will wait a day and ask for help. It works now, thanks again!

Kinky Dovahkiin

does anyone get the deepspeed error? no module named?

Solitary Robot

huh...any error during install? without any error log that would be hard to troubleshoot as well...

Aitrepreneur

delete the finetune models folder and try again

Aitrepreneur

To create a public link, set `share=True` in `launch()`. IMPORTANT: You are using gradio version 4.9.1, however version 4.29.0 is available, please upgrade. -------- Existing language matches target language Loading Whisper Model! Existing training metadata found and loaded. Existing evaluation metadata found and loaded. Segments from Katja have been previously processed; skipping... Dataset Processed! Traceback (most recent call last): File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 859, in run result = context.run(func, *args) File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "C:\AI\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Toegang geweigerd: 'C:\\AI\\xtts-finetune-webui\\finetune_models\\run' Traceback (most recent call last): File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 859, in run result = context.run(func, *args) File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "C:\AI\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Toegang geweigerd: 'C:\\AI\\xtts-finetune-webui\\finetune_models\\run' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "C:\AI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

Robert Hulsteijn

After a few re-installs and trying to aply tips from the comments, I still run in to trouble running the 'xtts-finetune-webui'. Could you have a look at what I am doing wrong?

Robert Hulsteijn

I have this same problem too, and had to install CUDA and now 30 seconds then CMD closes and infinite counting.

Kinky Dovahkiin

Got it thanks for the response now the other question is Do I really need keep RVC webui now that I have this XTTS RVC UI?? Because If I don't then I would be uninstalling it.

Otniel Ocampo

i was able to get a bit farther in the xtts finetune program with this suggestion, but now i have a new problem. about 30 seconds into Step 1, the program crashes with no error codes or anything. The command prompt just closes and the ui sits there counting up forever.

jeffahhfahh

It's because you ran the installer as admin, don't do that, run it normally. For the error, you need to install cuda 12 from the nvidia website

Aitrepreneur

hello, i've run into some problems, first the installation happened to be in system32, i had to move the folders into the desired one, then i'm having this error with xtts finetune; The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "F:\09_IA\03_XTTS\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "F:\09_IA\03_XTTS\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "C:\Users\monsi\AppData\Local\Programs\Python\Python310\lib\site-packages\faster_whisper\transcribe.py", line 1106, in restore_speech_timestamps for segment in segments: File "C:\Users\monsi\AppData\Local\Programs\Python\Python310\lib\site-packages\faster_whisper\transcribe.py", line 511, in generate_segments encoder_output = self.encode(segment) File "C:\Users\monsi\AppData\Local\Programs\Python\Python310\lib\site-packages\faster_whisper\transcribe.py", line 762, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

Monsieur Pimpant

I'm hitting the same problem even after doing all the firewall checks... is there a manual way of setting up FFMPEG? RadicaLee do you have a breakdown of how you managed to do it? (I'm not very technical)

Vin

Oh yeah no, you won't be able to run anything really...

Aitrepreneur

?

Professor Chris G

So is my laptop not compatible with the software?

Professor Chris G

pip install requests and for upgrading pip: python -m pip install --upgrade pip Run one command at a time.

Gaming For The Masses

Not much you can do really, it's not magic, try the 03 model instead of the 02 and maybe try the normal xxts webui and then convert the final audio inside the normal rvc ui, it usually sounds better

Aitrepreneur

you can use xtts inside sillytavern but not xtts rvc

Aitrepreneur

make sure you don't have any antivirus/firewall blocking the connection, that's usually the issue

Aitrepreneur

well yeah there you go, that's not a gpu, can't do much with it

Aitrepreneur

Some times TTS result voice IN tts rvc ui is like horror story how to improve that Because whatever RVC Epochs we try At the end its only do the speech to speech so tts Results should be good in order to receive a good rvc results, English i can manage but in other language its hard to find flops ;( could you please instruct any tricks or settings to improve the final TTS results, Thanks in Advance

Typical Agency

Hey is there a way to connect the XTTS-RVC-UI to SillyTavern? If yes could you please tell me how to do so

HunterSHC

Intel(R) UHD Graphics

Professor Chris G

Running "FFMPEG-INSTALL AS ADMIN.bat" as admin, I get: Downloading ffmpeg... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. Failed to download ffmpeg. Please check your internet connection and URL. Press any key to continue . . . I do have a connection, no issues connecting to anything else. Going directly to "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip" in a browser works. Removed the download from the .bat and downloaded to the matching local path and that worked.

RadicaLee

well what GPU do you have? intel core is your CPU

Aitrepreneur

Well you are not using the correct names so I'm not sure, there is the RVC webui and the XTTS RVC UI which are 2 separate webui

Aitrepreneur

no need just leave it as is, "if it's not broken, don't fix it" :D

Aitrepreneur

Also getting this message UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: or set allow_custom_value=True. warnings.warn( Running on local URL: Redacted IMPORTANT: You are using gradio version 4.7.1, however version 4.29.0 is available, please upgrade.

Professor Chris G

I have intel core 13 and keep getting this error message: RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx

Professor Chris G

If I already Downloaded the RVC WebUI Do I need to install the RVC UI?? Or they are the same!

Otniel Ocampo

Thank you, took a while to initiate, but the start.bat has worked now. It says gradio has an update available. Safe to update, or should it be left as is?

primary19122

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

Ok, reinstalled python correctly again. Used once click installer and chose the finetune install and got this error at the end: Collecting jamo Using cached jamo-0.4.0.tar.gz (7.3 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\.\AppData\Local\Temp\pip-install-sb504t_v\jamo_1ecfeac35efd4330b6b3197063e209cd\setup.py", line 11, in long_description = f.read() File "C:\.\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output.

primary19122

just give me more info man, if you don't give me the precise errors logs i can't help

Aitrepreneur

I nuked everything because I'm fed up with it. I already fixed the python/path issue as you mentioned, but the latest errors were with the installation of packages, not python. I might try again later, but I've wasted a lot of time on it already.

primary19122

As I said in my previous comment, in your case it's most probably a bad initial python install

Aitrepreneur

This means that you might either have multiple python install or that your current 3.10.6 python is not added to path. you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.6 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

apparently some languages like japanese and Korean currently don't work

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

No matter what I do, I can't get any of these repos to work. Really frustrated at the moment. I just tried to manually install them following instructions on the repo pages and get a ton of errors.

primary19122

The autoinstaller doesn't seem to be working correctly. I have python 3.10.6 installed, but whenever I run the bat, it just keeps trying to reinstall python.

primary19122

do we haven to train other languages like Hindi, japanese, Korean in that language to generate texttospeech in "tts rvc ui" ? coz i have Trained a model in english it works fine with en,es,fr,it,ru but not with above Languages! when try those languages i get ERROR MSG in the results

Typical Agency

not working, need some help : Using cached jamo-0.4.0.tar.gz (7.3 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\Mongol\AppData\Local\Temp\pip-install-cnbvr6nb\jamo_d8aaf6e0cc024a5bb472b7c770a48ec8\setup.py", line 11, in long_description = f.read() File "C:\Users\Mongol\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. also Using cached jamo-0.4.0.tar.gz (7.3 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\Mongol\AppData\Local\Temp\pip-install-e8plrzgt\jamo_9e3e5c0ab83b4dd3a095c106c6c0ad77\setup.py", line 11, in long_description = f.read() File "C:\Users\Mongol\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. [notice] A new release of pip is available: 23.0.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip Looking in indexes: https://download.pytorch.org/whl/cu118 Collecting torch==2.1.1+cu118 Using cached https://download.pytorch.org/whl/cu118/torch-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl (2722.7 MB) Collecting torchaudio==2.1.1+cu118 Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl (3.9 MB) Collecting networkx Using cached https://download.pytorch.org/whl/networkx-3.2.1-py3-none-any.whl (1.6 MB) Collecting filelock Using cached https://download.pytorch.org/whl/filelock-3.13.1-py3-none-any.whl (11 kB) Collecting typing-extensions Using cached https://download.pytorch.org/whl/typing_extensions-4.9.0-py3-none-any.whl (32 kB) Collecting sympy Using cached https://download.pytorch.org/whl/sympy-1.12-py3-none-any.whl (5.7 MB) Collecting fsspec Using cached https://download.pytorch.org/whl/fsspec-2024.2.0-py3-none-any.whl (170 kB) Collecting jinja2 Using cached https://download.pytorch.org/whl/Jinja2-3.1.3-py3-none-any.whl (133 kB) Collecting MarkupSafe>=2.0 Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl (17 kB) Collecting mpmath>=0.19 Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB) Installing collected packages: mpmath, typing-extensions, sympy, networkx, MarkupSafe, fsspec, filelock, jinja2, torch, torchaudio Successfully installed MarkupSafe-2.1.5 filelock-3.13.1 fsspec-2024.2.0 jinja2-3.1.3 mpmath-1.3.0 networkx-3.2.1 sympy-1.12 torch-2.1.1+cu118 torchaudio-2.1.1+cu118 typing-extensions-4.9.0 [notice] A new release of pip is available: 23.0.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "C:\Users\Mongol\tts\XTTS2-RVC-UI\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Install complete. Press any key to continue . . .

mon

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.6 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

Same

Toneski BG

I am getting this error:[notice] A new release of pip is available: 23.0.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "F:\TTS XL\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Install complete. Press any key to continue . . .

Adam Broadhead

Hi. Thank you for the great job. I have a little problem, I have this message: ERROR: Cannot install -r requirements.txt (line 1), -r requirements.txt (line 12), -r requirements.txt (line 3), -r requirements.txt (line 4), -r requirements.txt (line 7), -r requirements.txt (line 9) and numpy==1.22.0 because these package versions have conflicting dependencies. The conflict is caused by: The user requested numpy==1.22.0 fairseq 0.12.2 depends on numpy; python_version >= "3.7" gradio 4.7.1 depends on numpy~=1.0 librosa 0.10.0 depends on numpy>=1.20.3 pyworld 0.3.4 depends on numpy scipy 1.11.4 depends on numpy<1.28.0 and >=1.21.6 tts 0.21.1 depends on numpy>=1.24.3; python_version > "3.10" To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Gary Ibañez

Hehe yeah soon ;)

Aitrepreneur

He's coming back ^^ Ohh K my overload *\o/*

JollyDGaint

what clone?

Aitrepreneur

Is it possible to download the clone as a wav or mp3 file?

mon

Tried it with a different file. 2:19, 1.87 MB. Worked fine. Tried it again with the original file. Worked fine.

Dropbear 21

hmmm that's weird indeed then, have you tried again with another audio file? what else do you see in the command prompt window?

Aitrepreneur

The sample audio is 2:36, 2.04 MB Nvidia RTX 3060ti Intel i5-12300F 16 GB RAM

Dropbear 21

Hahaha wow....are you reading my mind?😲 Yes!

Aitrepreneur

I think looking at your youtube channel and the view counts on certain videos the things people are most curious about are the best LLM models for local install, and the best models for image creation. Do you have any plans to discuss either of those in the near future? It has been a long time since I have seen anyone discussing the current state of either A1111 or Obabooga and all of the models coming out. Especially in regards to uncensored and unfiltered AI.

Yukon Cornelius

how long is your audio file and how big is the file size and what is your gpu?

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

When I run the fine-tune Data Processing, it seems to progress normally until it gets to Formatting... 100% and then it just keeps running. I gave up after 10 minutes The command line had this error Warning, existing language does not match target language. Updated lang.txt with target language. Loading Whisper Model! I double checked lang.txt, it says EN. The fine-tune program is also set to EN.

Dropbear 21

Got this error: ModuleNotFoundError: No module named 'requests'

Jack West

Thanks for your reply! I've resolved the issue.

Rhythm Radius

Once again, the AI Overlord provides. Your recommended actions worked, and all three UIs installed correctly. Thanks for all you do.

Lemit

First download and install cuda 12 from the nvidia website: https://developer.nvidia.com/cuda-downloads Then that your python version installed is the correct one, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.6 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

great after install of cuda 12, it works, thank you my friend!

BOB

I added the Env Variable PYTHONUTF* and set the Region Locale beta option as you explained above... I still get this on install. Collecting gradio==4.13.0 (from -r .\requirements.txt (line 1)) Using cached gradio-4.13.0-py3-none-any.whl.metadata (15 kB) ERROR: Could not find a version that satisfies the requirement torch==2.1.1 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0) ERROR: No matching distribution found for torch==2.1.1 Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118) ERROR: No matching distribution found for torch==2.1.1+cu118 Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "G:\Best TTS Tools\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Install complete. Press any key to continue . . .

Lemit

I have never had a problem running your scripts, but this one will not install. It o closes the terminal before it completes. If I launch the start bat, (following along in the video, I get: Traceback (most recent call last): File "G:\Best TTS Tools\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "G:\Best TTS Tools\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

Lemit

I don't suppose this works on a Mac?

Louis Stevens

i need the full error log inside the command prompt window

Aitrepreneur

you need to install cuda 12 from the nvidia website

Aitrepreneur

I'm getting this over and over again on the "2-Fine-tuning XTTS Encoder" tab: "Error Connection errored out" The first way (10 seconds of audio) works fine, but I haven't made it past this point.

Rhythm Radius

Existing language matches target language Loading Whisper Model! Traceback (most recent call last): File "E:\AI\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "E:\AI\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "E:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "E:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "E:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

BOB

besides, in the cmd window ( where click on the local URL), in the bottom section I've got this :

BOB

here is it The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "E:\AI\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "E:\AI\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "E:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "E:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "E:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

BOB

give the full error log

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

hi guys, I have this error message when clicking on 'Create dadaset' in the XTTS FINETUNE: "The data processing was interrupted due an error !! Please check the console to verify the full error message!" could you please tell me how to deal with this error?

BOB

Hi guys, do you maybe have the file setup.py? i get this error: python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\A\AppData\Local\Temp\pip-install-4767cmq8\jamo_f77512df5e344a3b8601a6cc39fd5e3e\setup.py", line 11, in long_description = f.read() File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output]

X Yz

Traceback (most recent call last): File "J:\AI AUDIO\AI voice 1\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "J:\AI AUDIO\AI voice 1\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . . . problem not work

gfx

When installing requirements for the finetuner I get this, what do I do?: INFO: pip is looking at multiple versions of jamo to determine which version is compatible with other requirements. This could take a while. Collecting jamo Using cached jamo-0.4.0.tar.gz (7.3 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\BB\AppData\Local\Temp\pip-install-83ky0hj4\jamo_5006c526c6044735a14bfbcb57bdbbf9\setup.py", line 11, in long_description = f.read() File "C:\Users\BB\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.

Jimbo

yes i know its a curse! lol

evil chucky69

thanks boss. seems to have fixed the prob, even tho there are still a couple errors showing on the first processing stage, they dont seem to be affecting the outcome and it still processes successfully. (ffmpeg errors). the initial voice clone result is quite impressive i must say.

evil chucky69

I think there is one already: https://colab.research.google.com/drive/1GiI4_X724M8q2W-zZ-jXo7cWTV7RfaH-?usp=sharing Haven't tried it though

Aitrepreneur

python version is important (3.10) but not gradio, but if it works just close your eyes when opening the webui 😁

Aitrepreneur

first make sure that you install RVC in a folder path without spaces, so something like: C:\Users\thebe\AI

Aitrepreneur

nice, very interesting, let me know the fork once it's done

Aitrepreneur

Would it be possible to make a colab script, tried it my self, unsuccessfully

Damjan Žakelj

also do we need to be worrying about out of date Gradio versions and Python versions as I see these every time I open the program (my pythons up to date though) but my OCD just wont let it slide.lol

evil chucky69

Hello. I'm getting this error while trying to train a voice in RVC Web Ui. I hope you can help as it was running okay previously. DEBUG:infer.lib.infer_pack.models:gin_channels: 256, self.spk_embed_dim: 109 INFO:JL Test:loaded pretrained assets/pretrained_v2/G48k.pth Process Process-1: Traceback (most recent call last): File "C:\RVC-AUDIO CLONER CUDA VERSION\Retrieval-based-Voice-Conversion-WebUI\infer\modules\train\train.py", line 210, in run utils.latest_checkpoint_path(hps.model_dir, "D_*.pth"), net_d, optim_d File "C:\RVC-AUDIO CLONER CUDA VERSION\Retrieval-based-Voice-Conversion-WebUI\infer\lib\train\utils.py", line 213, in latest_checkpoint_path x = f_list[-1] IndexError: list index out of range During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\thebe\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 314, in _bootstrap self.run() File "C:\Users\thebe\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\RVC-AUDIO CLONER CUDA VERSION\Retrieval-based-Voice-Conversion-WebUI\infer\modules\train\train.py", line 230, in run net_g.module.load_state_dict( File "C:\RVC-AUDIO CLONER CUDA VERSION\Retrieval-based-Voice-Conversion-WebUI\env\lib\site-packages\torch\nn\modules\module.py", line 2189, in load_state_dict raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for SynthesizerTrnMs768NSFsid: Missing key(s) in state_dict: "dec.m_source.l_linear.weight", "dec.m_source.l_linear.bias", "dec.noise_convs.0.weight", "dec.noise_convs.0.bias", "dec.noise_convs.1.weight", "dec.noise_convs.1.bias", "dec.noise_convs.2.weight", "dec.noise_convs.2.bias", "dec.noise_convs.3.weight", "dec.noise_convs.3.bias", "enc_p.emb_pitch.weight".

evil chucky69

thank you xd

karina more

I updated the code for the xtts-rvc-ui to use the "temperature" and "repetition penality" sliders from alltalk_tts and it makes a big difference in addition to pitch and index. Will release fork soon. Also in the model's config.json you can edit the top_k and top_p setting for the model and it also gives voice more personality. Merging two trained rvc models in rvc tab also increases quality a lot.

Karl B

I think language needs to be same and refernece needs to be very clean then it works

Zee SHAN

yeah i get this too, managed to tune one model, second one running into this. unsure why.

Ethan Quinn

give me the full error log

Aitrepreneur

Hi, whenever I try running "create dataset" in xtts-finetune, I get this error OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized. and then it just infinitely loads and wont progress. Any ideas? Thank you.

Polor

technically most of it can be done inside sillytavern: https://youtu.be/enWO16x6tRM

Aitrepreneur

definitely need to follow that progress

Aitrepreneur

hey friend i m lost i want to make AN ai gf wich i can exchane audios and pics any tutorial on how i can do that xd thanks for the hard work xd

karina more

The same thing I wrote before. (While Formatting is at 100% when creating dataset, time is continuing to advance (I haven't the "completed" message ) Then, a few seconds later, the command window closes (and time continues to advance in web browser )) I tried with ConEmu, the cmd doesn't close this time but I haven't any error message

alexandre

Ah I was asking earlier about text-generation-webui integration with RVC and it looks like it's being worked on in alltalk_tts. He got stuck though, but is making progress https://github.com/erew123/alltalk_tts/issues/229

Karl B

ok then what happens if you just delete the finetune folder and run the start.bat file

Aitrepreneur

Sorry, what do you mean with "drag and drop" ? I have drag and dropped the start.bat file on new cmd windows and it write the path of the file (C:\create_speech\xtts-finetune-webui\start.bat). If I launch the command, I have a venv error message ('venv' n’est pas reconnu en tant que commande interne)

alexandre

Is there some way to recover a log of what happened afterwards? I created a thread about it on your discord. https://discord.com/channels/1018992679893340160/1242869412655009864

Dropbear 21

your computer crashes?? might have something else going on here... and that message is fine, it need the full error you get instead if you do get an error during install

Aitrepreneur

When I run the installer, I get a notice to upgrade pip from 22.2.1 to 24.0, and then my computer crashes. I already updated pip to 24.0 and verified it in the command prompt before running the installer. Just to be sure I checked with the command pip list C:\Windows\System32>pip list Package Version ----------------- ------------ ez_setup 0.9 filelock 3.13.1 fsspec 2024.2.0 intel-openmp 2021.4.0 Jinja2 3.1.3 MarkupSafe 2.1.5 mkl 2021.4.0 mpmath 1.3.0 networkx 3.2.1 numpy 1.26.3 pillow 10.2.0 pip 24.0 setuptools 70.0.0 sympy 1.12 tbb 2021.11.0 torch 2.3.0+cu118 torchaudio 2.3.0+cu118 torchvision 0.18.0+cu118 typing_extensions 4.9.0 What am I missing?

Dropbear 21

Yes you can have multiple cuda install and added to path as well no worries

Aitrepreneur

Is it possible to have multiple cuda installs? I need 11.8 for another project, when I install it- it asks to change paths to that current 12 which makes sense which may break the other.

CuriousCat

Yup

Aitrepreneur

This link? CUDA Toolkit 12.5 Downloads https://developer.nvidia.com/cuda-downloads

CuriousCat

you need to install cuda 12 from the nvidia website

Aitrepreneur

When I try to use the fine tune I get this error: The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "D:\AI\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "D:\AI\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "D:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "D:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "D:\AI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded I guess I am missing something, or my path is wrong?

CuriousCat

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation completely in a new folder

Aitrepreneur

Is it because it's not recognized as an internal or external command or Module not found error?

ZY Swanson

I run start_xtts_webui.bat, and I get the cmd asking for me to press any key to continue. I pressed space or enter and the file just closes. 'venv' is not recognized as an internal or external command, operable program or batch file. Traceback (most recent call last): File "C:\Users\swans\Desktop\Unrestricted AI\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "C:\Users\swans\Desktop\Unrestricted AI\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

ZY Swanson

the webui(s) don't open automatically, you need to run the start bat file

Aitrepreneur

Yes, I was watching it, but I'm stuck at the part where the web UI should automatically open. But it doesn't, it just closes after it says to press any butten to continue.

ZY Swanson

Well have you watched my video? https://youtu.be/ds5LLIt5OLM

Aitrepreneur

I may be an idiot, but after I've downloaded everything and done the setup installation for the steps said for the AI, what do I do actually to start using the AI?

ZY Swanson

thanks boss! worked like a charm!

evil chucky69

Dude, not only do you respond quickly, but you also come up with accurate solutions. 10/10 overlord, 10/10!

Little_me

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation IF you still get the error, you can try this after doing the install: Go inside the main folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: venv\Scripts\activate press enter pip install requests press enter then relaunch the webui

Aitrepreneur

not sure how to solve this. Trying to execute start_xtts_webui.bat file and I get this... help? :( Traceback (most recent call last): File "C:\Users\me\Documents\Aitrepreneur Installers\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "C:\Users\me\Documents\Aitrepreneur Installers\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests'

Little_me

When running second step for fine tunning, i get error -- Traceback (most recent call last): File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'C:\\Users\\ALIENWARE\\Desktop\\TTS\\xtts-finetune-webui\\finetune_models\\run' Traceback (most recent call last): File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'C:\\Users\\ALIENWARE\\Desktop\\TTS\\xtts-finetune-webui\\finetune_models\\run' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

Zee SHAN

you need to install cuda 12 from the nvidia website

Aitrepreneur

While running xtts-finetune-webui .... this error comes: The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "C:\Users\ALIENWARE\Desktop\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

Zee SHAN

yes you need to install cuda 12 from the nvidia website

Aitrepreneur

re: xtts-finetune-webui while trying to create a dataset from a wav file i keep getting this error= File "C:\AI ULTIMATE TTS x 4\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded "AI ULTIMATE TTS x 4" being the folder where the 3 programs were installed to/from. according to my checks i have python 3.10.6 version installed (tho during install of all 3 programs, it says there is an update! (v3.10.6 available!) any suggestions for a cure are welcome!

evil chucky69

Got the same issue: did the fix by reinstalling it, everytime you close it he gets back with this error. No issues in the installation logs. Edit: Somehow fixed by deleting the Finetuning folder, I'll try again to close and then reuse it. Gives me the "existing language does not match target language" (despite being the same), but I assume it won't cause any major issues.

NotFuckingCannon

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. You might also have a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.6 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

Thank you. It worked for me

Renan Oliveira

Collecting gradio==4.13.0 (from -r .\requirements.txt (line 1)) Downloading gradio-4.13.0-py3-none-any.whl.metadata (15 kB) ERROR: Could not find a version that satisfies the requirement torch==2.1.1 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0) ERROR: No matching distribution found for torch==2.1.1 Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118) ERROR: No matching distribution found for torch==2.1.1+cu118 Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "C:\Users\Owner\Desktop\TTS\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Install complete. Press any key to continue . . . What do I do?

Tohnbon

kinda need the full error log, but make sure you don't have any antivirus/firewall/ vpn running before running the installer that could block the download/install

Aitrepreneur

well just like starseed you have a bad/incorrect python install so do what I told him, also don't change anything in the requirements.txt

Aitrepreneur

it's because you checked the box "register miniconda as my python 3.11" which you shouldn't have checked, uninstall it and reinstall it again without checking this box, I have python at the very top, on top of everything

Aitrepreneur

I try the Command Line in Console and it works. But badly I only can use the easiest way. Finetuning breaks up with message: Requested float16 compute type, but the target device or backend do not support efficient float16 computation. Do you have any Idea for Non Nvidia User? Is there any Work for Mac OS with M Chip?

Rabiator

Rabiator

[INFO] Installing vs_BuildTools... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. [ERROR] Download failed. Please restart the installer

Lady Lush

I probably should have mentioned, I was having the same problem with a numpty conflict as Starseed, so I removed the version requirement for numpty from requirements.txt

Potenzo

I am having trouble installing XTTS-RVC-UI. I am getting the following error Traceback (most recent call last): File "%USERPROFILE%\TTS\XTTS-RVC-UI\app.py", line 4, in from rvc import Config, load_hubert, get_vc, rvc_infer File "%USERPROFILE%\TTS\XTTS-RVC-UI\rvc.py", line 6, in from fairseq import checkpoint_utils File "%USERPROFILE%\TTS\XTTS-RVC-UI\venv\Lib\site-packages\fairseq\__init__.py", line 20, in from fairseq.distributed import utils as distributed_utils File "%USERPROFILE%\TTS\XTTS-RVC-UI\venv\Lib\site-packages\fairseq\distributed\__init__.py", line 7, in from .fully_sharded_data_parallel import ( File "%USERPROFILE%\TTS\XTTS-RVC-UI\venv\Lib\site-packages\fairseq\distributed\fully_sharded_data_parallel.py", line 10, in from fairseq.dataclass.configs import DistributedTrainingConfig File "%USERPROFILE%\TTS\XTTS-RVC-UI\venv\Lib\site-packages\fairseq\dataclass\__init__.py", line 6, in from .configs import FairseqDataclass File "%USERPROFILE%\TTS\XTTS-RVC-UI\venv\Lib\site-packages\fairseq\dataclass\configs.py", line 1104, in @dataclass ^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 1223, in dataclass return wrap(cls) ^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 1213, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 958, in _process_class cls_fields.append(_get_field(cls, name, type, kw_only)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\dataclasses.py", line 815, in _get_field raise ValueError(f'mutable default {type(f.default)} for field ' ValueError: mutable default for field common is not allowed: use default_factory Any help with this would be much appreciated. The XTTS seems great and I'd love to level up to the best quality sound. I tried installing RVC separately, based on the instructions in your previous post, but ran into a different problem.

Potenzo

Okay that's weird, I installed the correct version the other day, with this python-3.10.6-amd64.exe, the only thing I've done since this is reinstall Miniconda using Miniconda3-py310_24.3.0-0-Windows-x86_64 the Python 3.10 version and troubleshoot XTTSv2 not working in Silly Tavern... Somehow between those things Python has updated to 3.11.9... 🤔 I'm not sure if it's related but in your user PATH, do you have Minconda or Python higher in the hierarchy in the PATH list?

Starseed.1111

It's because you have probably an incorrect python version installed, which is why you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.6 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

This error appeared whilst installing XTTS-RVC-UI, how do resolve this if they all depend on different versions? INFO: pip is looking at multiple versions of tts to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install -r requirements.txt (line 1), -r requirements.txt (line 12), -r requirements.txt (line 3), -r requirements.txt (line 4), -r requirements.txt (line 7), -r requirements.txt (line 9) and numpy==1.22.0 because these package versions have conflicting dependencies. The conflict is caused by: The user requested numpy==1.22.0 fairseq 0.12.2 depends on numpy; python_version >= "3.7" gradio 4.7.1 depends on numpy~=1.0 librosa 0.10.0 depends on numpy>=1.20.3 pyworld 0.3.4 depends on numpy scipy 1.11.4 depends on numpy<1.28.0 and >=1.21.6 tts 0.21.1 depends on numpy>=1.24.3; python_version > "3.10" To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Starseed.1111

After formating and installing python 3.10.6 I ran the ffmpeg without issue, and now the insaller gives me this, or some variation of it on all 4 instances. What can i try to do to fix that? collecting jamo Using cached jamo-0.4.0.tar.gz (7.3 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\ANNYEONG\AppData\Local\Temp\pip-install-j2q194cb\jamo_5d271b231812477faf48e6c979eb6857\setup.py", line 11, in long_description = f.read() File "C:\Users\ANNYEONG\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output.

AnNyeong

Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.0 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118) ERROR: No matching distribution found for torch==2.1.0

Mohammed omar M

Actually I followed the instructions you gave someone else and they worked, so things are running fine now

(R)Owen(a) Hero

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.6 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

When I try to run the auto installer it gets to installing python and then a blue bar appears that reads: Writing web request Writing request stream... [a count of bytes] Then it closes on its own. I already have Python 3.10 installed

Dropbear 21

First try this, go inside the main folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: venv\Scripts\activate press enter pip install requests press enter then relaunch the webui

Aitrepreneur

because it wasn't the exact same error

Aitrepreneur

yea so that error is different, this error means you don't have enough vram to run the operation but with your GPU it can be easily solved since you are not missing much, just download the latest nvidia drivers and it should be fine. Don't forget to delete the finetune model folder before doing the training

Aitrepreneur

try drag and drop the start.bat file inside a new cmd prompt window, delete the finetune model folder and see if it gives you an error when training

Aitrepreneur

Then do this, go inside the main folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: venv\Scripts\activate press enter pip install requests press enter then relaunch the webui

Aitrepreneur

Then do this, go inside the main folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: venv\Scripts\activate press enter pip install requests press enter then relaunch the webui

Aitrepreneur

same, same problem

Pete

Not sure why you gave me the other advice, I tried that version of python you linked to and it worked.

(R)Owen(a) Hero

I keep getting this after I got the whole ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118) that was fixed with a new install Traceback (most recent call last): File "D:\_TTS AI\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "D:\_TTS AI\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests'

Dumitum Bri

Thank you. It was that. I have now another problem : While Formatting is at 100% when creating dataset, time is continuing to advance (I haven't the "completed" message ) Then, a few seconds later, the command window closes (and time continues to advance in web browser ) I tried to use the files created in dataset for training, but of course I get an error

alexandre

Don't know, the error is in training. This told me whenever i run the training es >> DVAE weights restored from: C:\ALTRENPENEUR\xtts-finetune-webui\base_models\v2.0.2\dvae.pth | > Found 18 files in C:\ALTRENPENEUR\xtts-finetune-webui\finetune_models\dataset > Training Environment: | > Backend: Torch | > Mixed precision: False | > Precision: float32 | > Current device: 0 | > Num. of GPUs: 1 | > Num. of CPUs: 16 | > Num. of Torch Threads: 1 | > Torch seed: 1 | > Torch CUDNN: True | > Torch CUDNN deterministic: False | > Torch CUDNN benchmark: False | > Torch TF32 MatMul: False > Start Tensorboard: tensorboard --logdir=C:\ALTRENPENEUR\xtts-finetune-webui\finetune_models\run\training\GPT_XTTS_FT-May-16-2024_11+16AM-6cb8066 > Model has 517360175 parameters > EPOCH: 0/6 --> C:\ALTRENPENEUR\xtts-finetune-webui\finetune_models\run\training\GPT_XTTS_FT-May-16-2024_11+16AM-6cb8066 > Sampling by language: dict_keys(['es']) > TRAINING (2024-05-16 11:16:57) [!] Warning: The text length exceeds the character limit of 239 for language 'es', this might cause truncated audio. Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1833, in fit self._fit() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1785, in _fit self.train_epoch() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1504, in train_epoch outputs, _ = self.train_step(batch, batch_num_steps, cur_step, loader_start_time) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1360, in train_step outputs, loss_dict_new, step_time = self.optimize( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1288, in optimize optimizer.step() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\lr_scheduler.py", line 68, in wrapper return wrapped(*args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\optimizer.py", line 373, in wrapper out = func(*args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\optimizer.py", line 76, in _use_grad ret = func(self, *args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\adamw.py", line 184, in step adamw( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\adamw.py", line 335, in adamw func( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\adamw.py", line 599, in _multi_tensor_adamw exp_avg_sq_sqrt = torch._foreach_sqrt(device_exp_avg_sqs) torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 12.00 MiB. GPU 0 has a total capacty of 8.00 GiB of which 0 bytes is free. Of the allocated memory 7.01 GiB is allocated by PyTorch, and 259.42 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "C:\ALTRENPENEUR\xtts-finetune-webui\utils\gpt_train.py", line 197, in train_gpt trainer.fit() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1860, in fit remove_experiment_folder(self.output_path) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\generic_utils.py", line 77, in remove_experiment_folder fs.rm(experiment_path, recursive=True) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\fsspec\implementations\local.py", line 172, in rm shutil.rmtree(p) File "C:\Users\cores\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 749, in rmtree return _rmtree_unsafe(path, onerror) File "C:\Users\cores\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 619, in _rmtree_unsafe onerror(os.unlink, fullname, sys.exc_info()) File "C:\Users\cores\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 617, in _rmtree_unsafe os.unlink(fullname) PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'C:/ALTRENPENEUR/xtts-finetune-webui/finetune_models/run/training/GPT_XTTS_FT-May-16-2024_11+16AM-6cb8066\\trainer_0_log.txt' Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1833, in fit self._fit() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1785, in _fit self.train_epoch() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1504, in train_epoch outputs, _ = self.train_step(batch, batch_num_steps, cur_step, loader_start_time) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1360, in train_step outputs, loss_dict_new, step_time = self.optimize( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1288, in optimize optimizer.step() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\lr_scheduler.py", line 68, in wrapper return wrapped(*args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\optimizer.py", line 373, in wrapper out = func(*args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\optimizer.py", line 76, in _use_grad ret = func(self, *args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\adamw.py", line 184, in step adamw( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\adamw.py", line 335, in adamw func( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\adamw.py", line 599, in _multi_tensor_adamw exp_avg_sq_sqrt = torch._foreach_sqrt(device_exp_avg_sqs) torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 12.00 MiB. GPU 0 has a total capacty of 8.00 GiB of which 0 bytes is free. Of the allocated memory 7.01 GiB is allocated by PyTorch, and 259.42 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "C:\ALTRENPENEUR\xtts-finetune-webui\utils\gpt_train.py", line 197, in train_gpt trainer.fit() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1860, in fit remove_experiment_folder(self.output_path) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\generic_utils.py", line 77, in remove_experiment_folder fs.rm(experiment_path, recursive=True) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\fsspec\implementations\local.py", line 172, in rm shutil.rmtree(p) File "C:\Users\cores\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 749, in rmtree return _rmtree_unsafe(path, onerror) File "C:\Users\cores\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 619, in _rmtree_unsafe onerror(os.unlink, fullname, sys.exc_info()) File "C:\Users\cores\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 617, in _rmtree_unsafe os.unlink(fullname) PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'C:/ALTRENPENEUR/xtts-finetune-webui/finetune_models/run/training/GPT_XTTS_FT-May-16-2024_11+16AM-6cb8066\\trainer_0_log.txt' ", "", "", "", ""] Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1833, in fit self._fit() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1785, in _fit self.train_epoch() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1504, in train_epoch outputs, _ = self.train_step(batch, batch_num_steps, cur_step, loader_start_time) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1360, in train_step outputs, loss_dict_new, step_time = self.optimize( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1288, in optimize optimizer.step() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\lr_scheduler.py", line 68, in wrapper return wrapped(*args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\optimizer.py", line 373, in wrapper out = func(*args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\optimizer.py", line 76, in _use_grad ret = func(self, *args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\adamw.py", line 184, in step adamw( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\adamw.py", line 335, in adamw func( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\torch\optim\adamw.py", line 599, in _multi_tensor_adamw exp_avg_sq_sqrt = torch._foreach_sqrt(device_exp_avg_sqs) torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 12.00 MiB. GPU 0 has a total capacty of 8.00 GiB of which 0 bytes is free. Of the allocated memory 7.01 GiB is allocated by PyTorch, and 259.42 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "C:\ALTRENPENEUR\xtts-finetune-webui\utils\gpt_train.py", line 197, in train_gpt trainer.fit() File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1860, in fit remove_experiment_folder(self.output_path) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\trainer\generic_utils.py", line 77, in remove_experiment_folder fs.rm(experiment_path, recursive=True) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\fsspec\implementations\local.py", line 172, in rm shutil.rmtree(p) File "C:\Users\cores\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 749, in rmtree return _rmtree_unsafe(path, onerror) File "C:\Users\cores\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 619, in _rmtree_unsafe onerror(os.unlink, fullname, sys.exc_info()) File "C:\Users\cores\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 617, in _rmtree_unsafe os.unlink(fullname) PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'C:/ALTRENPENEUR/xtts-finetune-webui/finetune_models/run/training/GPT_XTTS_FT-May-16-2024_11+16AM-6cb8066\\trainer_0_log.txt' ", "", "", "", ""] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

paco porras

The same problem 😥

Mohammed omar M

Collecting gradio==4.13.0 (from -r .\requirements.txt (line 1)) Using cached gradio-4.13.0-py3-none-any.whl.metadata (15 kB) ERROR: Could not find a version that satisfies the requirement torch==2.1.1 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0) ERROR: No matching distribution found for torch==2.1.1 Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118) ERROR: No matching distribution found for torch==2.1.1+cu118 Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "C:\Users\%user%\AI\XTTS\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' I did it all, double checked and reattempted, still this. Also if it wasn't clear %user% was put there by me to replace the name of the user folder in case others had the same problem and was not part of the output

(R)Owen(a) Hero

will try that! thank you

AnNyeong

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.6 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

that's not an error, it's ok, shouldn't have any impact on the training

Aitrepreneur

``ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118) ERROR: No matching distribution found for torch==2.1.1+cu118`` It just loops that over and over a bunch of times The ffmpeg install went without any errors ERROR: Could not find a version that satisfies the requirement tts==0.22.0 (from versions: none) ERROR: No matching distribution found for tts==0.22.0

AnNyeong

Don't solve... they said this whenever i upload an audio Warning, existing language does not match target language. Updated lang.txt with target language.

paco porras

Ohh nice. That would be the mistake. Thanks!

paco porras

ok but what are you trying to do here? If you are trying to train a new model, delete the finetune models folder and try again (don't forget to save the content of the run folder if you have trained a model previously)

Aitrepreneur

oh boy that's some weird error, first try deleting all folders and reinstalling them all in a new folder and check is there isn't any issues during install

Aitrepreneur

yes, simply download and install cuda 12 from the nvidia website

Aitrepreneur

Hi there, i have a problem in the finetune , look at this Existing language matches target language Loading Whisper Model! Existing training metadata found and loaded. Existing evaluation metadata found and loaded. Segments from alesandro have been previously processed; skipping... Dataset Processed! Warning, existing language does not match target language. Updated lang.txt with target language. Loading Whisper Model! Existing training metadata found and loaded. Existing evaluation metadata found and loaded. Segments from alesandro have been previously processed; skipping... Dataset Processed! Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Acceso denegado: 'C:\\ALTRENPENEUR\\xtts-finetune-webui\\finetune_models\\run' Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "C:\ALTRENPENEUR\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Acceso denegado: 'C:\\ALTRENPENEUR\\xtts-finetune-webui\\finetune_models\\run' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "C:\ALTRENPENEUR\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

paco porras

I was having the same issue. The script downloaded a Python installer to the same folder. I ran it manually (be sure to click add-to-path when going through the install) , then also manually install Git (https://git-scm.com/download/win). That worked for me, option 4 is now doing all the magic.

Gooohokrbe

So on initial install, xtts-webui worked. When I open it up after installing the other two, I get "Traceback (most recent call last): File "C:\Users\User\AI_Ops\xtts-webui\venv\lib\site-packages\urllib3\connection.py", line 198, in _new_conn sock = connection.create_connection( File "C:\Users\User\AI_Ops\xtts-webui\venv\lib\site-packages\urllib3\util\connection.py", line 60, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11004] getaddrinfo failed The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\User\AI_Ops\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen response = self._make_request( File "C:\Users\User\AI_Ops\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request raise new_e File "C:\Users\User\AI_Ops\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request self._validate_conn(conn) File "C:\Users\User\AI_Ops\xtts-webui\venv\lib\site-packages\urllib3\connectionpool.py", line 1099, in _validate_conn conn.connect() File "C:\Users\User\AI_Ops\xtts-webui\venv\lib\site-packages\urllib3\connection.py", line 616, in connect self.sock = sock = self._new_conn() File "C:\Users\User\AI_Ops\xtts-webui\venv\lib\site-packages\urllib3\connection.py", line 205, in _new_conn raise NameResolutionError(self.host, self, e) from e urllib3.exceptions.NameResolutionError: : Failed to resolve 'geolocation.onetrust.com' ([Errno 11004] getaddrinfo failed)"

Peter Jarrette Gordon

I have this error when creating dataset for finetuning : The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "C:\create_speech\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "C:\create_speech\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "C:\create_speech\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "C:\create_speech\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "C:\create_speech\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded Could you help me with this ?

alexandre

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

1. Because as I said in the video that webui is kinda broken, only the simple text to speech function works, nothing else, the dev stopped working on it 2. Except some small numbers of models on huggingface, unfortunately no, not that I know of

Aitrepreneur

hmm interesting, the try this: Go inside the main folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type: env\Scripts\activate press enter pip uninstall ffmpeg press enter pip uninstall ffmpeg-python press enter pip uninstall python-ffmpeg press enter pip install ffmpeg-python press enter then relaunch the webui

Aitrepreneur

yes. Installed and both env vars Path and FFMPEG_BIN point to its location on C drive. Also, there is a copy of ffmpeg.exe and ffprobe.exe in the root directory of RVC.

Khaled Fouad

Collecting gradio==4.13.0 (from -r .\requirements.txt (line 1)) Using cached gradio-4.13.0-py3-none-any.whl.metadata (15 kB) ERROR: Could not find a version that satisfies the requirement torch==2.1.1 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0) ERROR: No matching distribution found for torch==2.1.1 Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118) ERROR: No matching distribution found for torch==2.1.1+cu118 Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "C:\Users\%user%\AI\XTTS\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' I feel like I'm missing something basic here

(R)Owen(a) Hero

Thank you! It worked!

Len

Thanks for your help with the installation! I have two questions: 1. XTTS-Webui has option to use RVC. Why not do that instead of using 3rd installation of RVC-WebUI? 2. Are there pre-trained model that can be used for XTTS instead of training my own voice? I saw your video about using those in RVC (.pth and .index files) is there any way to adopt these for XTSS models?

Len

thanks, that really works for me !!

Emmet Brown

My issue was in installing xtts-finetune,I added jamo to install.bat

Pete Lumby

ho...very rare error here. here's how to solve this: Download (https://www.dll-files.com/svml_dispmd.dll.html) and paste the svml_dispmd.dll into the system32 folder

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

have you installed ffmpeg?

Aitrepreneur

no it should work fine but it's better to run it in a separate folder so that it's installed in a place you can easily find

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

😢 hopefully one day AMD will get supported for ai tools but I really doubt it tbh

Aitrepreneur

I'm having the same error

Pete Lumby

Hi, when i start the webui, this is my only response: LLVM ERROR: Symbol not found: __svml_cosf8_ha. Any Help,same issue, any solution ?

Emmet Brown

I have a problem when booting says Traceback (most recent call last): File "K:\AI\new oudeo\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "K:\AI\new oudeo\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue. . .

Mohammed omar M

okay, thanks for your reply :) Ordered an 4060ti 16gb edition yesterday. Let's hope for the best :)

Jonatan Larsson

Hello K, I am receiving this error: start preprocess C:\Users\khaled\Projects\Retrieval-based-Voice-Conversion-WebUI\mySources/erdogan10min.wav -> Traceback (most recent call last): File "C:\Users\khaled\Projects\Retrieval-based-Voice-Conversion-WebUI\infer\lib\audio.py", line 37, in load_audio ffmpeg.input(file, threads=0) AttributeError: module 'ffmpeg' has no attribute 'input' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\khaled\Projects\Retrieval-based-Voice-Conversion-WebUI\infer\modules\train\preprocess.py", line 83, in pipeline audio = load_audio(path, self.sr) File "C:\Users\khaled\Projects\Retrieval-based-Voice-Conversion-WebUI\infer\lib\audio.py", line 42, in load_audio raise RuntimeError(f"Failed to load audio: {e}") RuntimeError: Failed to load audio: module 'ffmpeg' has no attribute 'input' end preprocess

Khaled Fouad

Back to Colab I go. :.(

chrubble

**Pro-Tip, these batch files don't work if you run them from the downloads folder, instead Run them from c/users/you/Ai....or similar

Christopher Gargas

window closse with error: [INFO] Winget is already installed. Installing Python 3.10.6... Failed to download Python installer.

Christopher Gargas

I can't install xtts-webui. Tried it from batch file and tried from cloned GIT... Every time I'm getting error that mentions "jamo" Collecting jamo Using cached jamo-0.4.0.tar.gz (7.3 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\cka3k\AppData\Local\Temp\pip-install-3u8d8oje\jamo_2220411e0a5b4f33a48fb99ed32c8e55\setup.py", line 11, in long_description = f.read() File "C:\Users\cka3k\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata.

Len

Im not sure what you mean sir?

ChopChop

w7. Thank you. Going through the process to get curl now,

Troy Amato

you don't need to change your user name though since you can just in the wort case install it in a folder not containing your user name

Aitrepreneur

These auto install. I didnt choose that path. But do you know if I use another user profile in windows, will it help? I assume i would have to uninstall python and whatever else to be able to start fresh? Would this solve the PIP issue im having?

ChopChop

first reinstall in a new folder, DO NOT install with admin rights, just install normally, take a note of any error you see (if any) during install and put them here

Aitrepreneur

yes unfortunately you need an nvidia gpu, AMD gpu rarely works with AI tools :/

Aitrepreneur

unfortunately you need an nvidia gpu yes, AMD gpu rarely works with AI tools :/

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

how would real time tts work exactly? you need to use RVC for real time, already made a video about it https://youtu.be/sT6_pi5Jq4w

Aitrepreneur

what's your OS? if you have an older version of windows 10 or even older you might not have curl installed, so you might have to manually install curl yourself

Aitrepreneur

Indeed try to never install AI tools with a folder with spaces in the path

Aitrepreneur

yeah as I said multiple times bad python install is like 80% of the cause of issues for most people. HOWEVER! 1) DO NOT INSTALL PYTHON 3.11, you need python 3.10.6-3.10.11 instead! This will make it more compatible for other AI tools as well 2) DO NOT INSTALL PYTHON WITH THE WINDOWS STORE! That might cause so much more issues down the line. What you need to do is: Uninstall ALL of your current python installations and reinstall the correct version correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.6 version

Aitrepreneur

Hi, I would appreciate some help here. xtts-finetune-webui needs some tweaking. I have addressed most of the issues and now it allows me to get the dataset processed but once I go to the second tab (Fine-tuning XTTS Encoder) it presents me with the error related to permissions. I have tried to adjust the permissions for the folder, tried to open as administrator but the problem persists. Here is the error code: Microsoft Windows [Version 10.0.19045.4291] (c) Microsoft Corporation. All rights reserved. C:\WINDOWS\system32>C:\Windows\System32\cmd.exe^Z Microsoft Windows [Version 10.0.19045.4291] (c) Microsoft Corporation. All rights reserved. C:\WINDOWS\system32>cd C:\Windows\System32\cmd.exe The directory name is invalid. C:\WINDOWS\system32>cd C:\Windows\System32\cm The system cannot find the path specified. C:\WINDOWS\system32>cd C:\Audio\xtts-finetune-webui C:\Audio\xtts-finetune-webui>call start.bat C:\Audio\xtts-finetune-webui\venv\lib\site-packages\lazy_loader\__init__.py:185: RuntimeWarning: subpackages can technically be lazily loaded, but it causes the package to be eagerly loaded even if it is already lazily loaded.So, you probably shouldn't use subpackages with this lazy feature. warnings.warn(msg, RuntimeWarning) C:\Audio\xtts-finetune-webui\venv\lib\site-packages\lazy_loader\__init__.py:185: RuntimeWarning: subpackages can technically be lazily loaded, but it causes the package to be eagerly loaded even if it is already lazily loaded.So, you probably shouldn't use subpackages with this lazy feature. warnings.warn(msg, RuntimeWarning) Running on local URL: http://localhost:5003 To create a public link, set `share=True` in `launch()`. Warning, existing language does not match target language. Updated lang.txt with target language. Loading Whisper Model! Existing training metadata found and loaded. Existing evaluation metadata found and loaded. Segments from Good have been previously processed; skipping... Dataset Processed! Traceback (most recent call last): File "C:\Audio\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 527, in process_events response = await route_utils.call_process_api( File "C:\Audio\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 270, in call_process_api output = await app.get_blocks().process_api( File "C:\Audio\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1887, in process_api result = await self.call_function( File "C:\Audio\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1472, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Audio\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Audio\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "C:\Audio\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) File "C:\Audio\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 808, in wrapper response = f(*args, **kwargs) File "C:\Audio\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'C:\\Audio\\xtts-finetune-webui\\finetune_models\\run' Keyboard interruption in main thread... closing server.

A M

Okey, thanks, i'll try

paco porras

enter the directory "xtts-webui\venv\Scripts>" and try to run "pip install requests" from the command line (cmd) :)

ByteC

It looks like these can only be run on a machine with an Nvidia GPU. Is that correct? I have AMD Radeon. I've come up against a RuntimeError for 'Found no NVIDIA driver on system.'

chrubble

Can I get it to run on an amd card? im stuck on "RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx" Do I need to have a NVIDIA GPU or will my amd work?

Jonatan Larsson

Same, following up.

Gabriel Gagnon

This worked after a reinstall, thanks!

Zamot

I'm getting a "ModuleNotFoundError: No module named 'requests'" error in start_xtts_webui.bat. Whenever I try to use start.bat files in the other folders, they just crash to desktop with no error.

James Jones

Hello again, thank you for your previous reply. Now I tried to install it on the main disk C, but I still get the same error, I send you the full installation log: Looking in indexes: https://download.pytorch.org/whl/cu118 Collecting torch==2.1.1+cu118 Using cached https://download.pytorch.org/whl/cu118/torch-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl (2722.7 MB) Collecting torchaudio==2.1.1+cu118 Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl (3.9 MB) Collecting networkx Using cached https://download.pytorch.org/whl/networkx-3.2.1-py3-none-any.whl (1.6 MB) Collecting typing-extensions Using cached https://download.pytorch.org/whl/typing_extensions-4.9.0-py3-none-any.whl (32 kB) Collecting sympy Using cached https://download.pytorch.org/whl/sympy-1.12-py3-none-any.whl (5.7 MB) Collecting jinja2 Using cached https://download.pytorch.org/whl/Jinja2-3.1.3-py3-none-any.whl (133 kB) Collecting filelock Using cached https://download.pytorch.org/whl/filelock-3.13.1-py3-none-any.whl (11 kB) Collecting fsspec Using cached https://download.pytorch.org/whl/fsspec-2024.2.0-py3-none-any.whl (170 kB) Collecting MarkupSafe>=2.0 Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl (17 kB) Collecting mpmath>=0.19 Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB) Installing collected packages: mpmath, typing-extensions, sympy, networkx, MarkupSafe, fsspec, filelock, jinja2, torch, torchaudio Successfully installed MarkupSafe-2.1.5 filelock-3.13.1 fsspec-2024.2.0 jinja2-3.1.3 mpmath-1.3.0 networkx-3.2.1 sympy-1.12 torch-2.1.1+cu118 torchaudio-2.1.1+cu118 typing-extensions-4.9.0 [notice] A new release of pip available: 22.2.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip Collecting faster_whisper==0.10.0 Using cached faster_whisper-0.10.0-py3-none-any.whl (1.5 MB) Collecting gradio==4.9.1 Using cached gradio-4.9.1-py3-none-any.whl (16.6 MB) Collecting tts==0.22.0 Using cached TTS-0.22.0-cp310-cp310-win_amd64.whl Collecting cutlet Using cached cutlet-0.4.0-py3-none-any.whl Collecting fugashi[unidic-lite] Using cached fugashi-1.3.2-cp310-cp310-win_amd64.whl (499 kB) Collecting huggingface-hub>=0.13 Using cached huggingface_hub-0.23.0-py3-none-any.whl (401 kB) Collecting tokenizers=0.13 Using cached tokenizers-0.15.2-cp310-none-win_amd64.whl (2.2 MB) Collecting av==11.* Using cached av-11.0.0-cp310-cp310-win_amd64.whl (25.9 MB) Collecting ctranslate2=4.0 Using cached ctranslate2-4.2.1-cp310-cp310-win_amd64.whl (161.9 MB) Collecting onnxruntime=1.14 Using cached onnxruntime-1.17.3-cp310-cp310-win_amd64.whl (5.6 MB) Collecting pyyaml=5.0 Using cached PyYAML-6.0.1-cp310-cp310-win_amd64.whl (145 kB) Collecting httpx Using cached httpx-0.27.0-py3-none-any.whl (75 kB) Collecting tomlkit==0.12.0 Using cached tomlkit-0.12.0-py3-none-any.whl (37 kB) Requirement already satisfied: jinja2-r .\requirements.txt (line 2)) (3.1.3) Requirement already satisfied: markupsafe~=2.0 in c:\users\juan pablo godoy\documents\xtts\xtts-finetune-webui\venv\lib\site-packages (from gradio==4.9.1->-r .\requirements.txt (line 2)) (2.1.5) Collecting pydub Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB) Collecting matplotlib~=3.0 Using cached matplotlib-3.8.4-cp310-cp310-win_amd64.whl (7.7 MB) Collecting fastapi Using cached fastapi-0.111.0-py3-none-any.whl (91 kB) Collecting aiofiles=22.0 Using cached aiofiles-23.2.1-py3-none-any.whl (15 kB) Requirement already satisfied: typing-extensions~=4.0 in c:\users\juan pablo godoy\documents\xtts\xtts-finetune-webui\venv\lib\site-packages (from gradio==4.9.1->-r .\requirements.txt (line 2)) (4.9.0) Collecting python-multipart Using cached python_multipart-0.0.9-py3-none-any.whl (22 kB) Collecting altair=4.2.0 Using cached altair-5.3.0-py3-none-any.whl (857 kB) Collecting typer[all]=0.9 Using cached typer-0.12.3-py3-none-any.whl (47 kB) Collecting uvicorn>=0.14.0 Using cached uvicorn-0.29.0-py3-none-any.whl (60 kB) Collecting pandas=1.0 Using cached pandas-2.2.2-cp310-cp310-win_amd64.whl (11.6 MB) Collecting semantic-version~=2.0 Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Collecting pillow=8.0 Using cached pillow-10.3.0-cp310-cp310-win_amd64.whl (2.5 MB) Collecting pydantic>=2.0 Using cached pydantic-2.7.1-py3-none-any.whl (409 kB) Collecting importlib-resources=1.3 Using cached importlib_resources-6.4.0-py3-none-any.whl (38 kB) Collecting gradio-client==0.7.3 Using cached gradio_client-0.7.3-py3-none-any.whl (304 kB) Collecting orjson~=3.0 Using cached orjson-3.10.3-cp310-none-win_amd64.whl (138 kB) Collecting numpy~=1.0 Using cached numpy-1.26.4-cp310-cp310-win_amd64.whl (15.8 MB) Collecting ffmpy Using cached ffmpy-0.3.2.tar.gz (5.5 kB) Preparing metadata (setup.py) ... done Collecting packaging Using cached packaging-24.0-py3-none-any.whl (53 kB) Collecting gruut[de,es,fr]==2.2.3 Using cached gruut-2.2.3.tar.gz (73 kB) Preparing metadata (setup.py) ... done Collecting g2pkk>=0.1.1 Using cached g2pkk-0.1.2-py3-none-any.whl (25 kB) Collecting spacy[ja]>=3 Using cached spacy-3.7.4-cp310-cp310-win_amd64.whl (12.1 MB) Collecting pypinyin Using cached pypinyin-0.51.0-py2.py3-none-any.whl (1.4 MB) Collecting nltk Using cached nltk-3.8.1-py3-none-any.whl (1.5 MB) Collecting num2words Using cached num2words-0.5.13-py3-none-any.whl (143 kB) Collecting bnnumerizer Using cached bnnumerizer-0.0.2.tar.gz (4.7 kB) Preparing metadata (setup.py) ... done Collecting hangul-romanize Using cached hangul_romanize-0.1.0-py3-none-any.whl (4.6 kB) Collecting aiohttp>=3.8.1 Using cached aiohttp-3.9.5-cp310-cp310-win_amd64.whl (370 kB) Collecting cython>=0.29.30 Using cached Cython-3.0.10-cp310-cp310-win_amd64.whl (2.8 MB) Collecting soundfile>=0.12.0 Using cached soundfile-0.12.1-py2.py3-none-win_amd64.whl (1.0 MB) Collecting pysbd>=0.3.4 Using cached pysbd-0.3.4-py3-none-any.whl (71 kB) Collecting coqpit>=0.0.16 Using cached coqpit-0.0.17-py3-none-any.whl (13 kB) Collecting scikit-learn>=1.3.0 Using cached scikit_learn-1.4.2-cp310-cp310-win_amd64.whl (10.6 MB) Collecting tqdm>=4.64.1 Using cached tqdm-4.66.4-py3-none-any.whl (78 kB) Requirement already satisfied: torchaudio in c:\users\juan pablo godoy\documents\xtts\xtts-finetune-webui\venv\lib\site-packages (from tts==0.22.0->-r .\requirements.txt (line 3)) (2.1.1+cu118) Collecting trainer>=0.0.32 Using cached trainer-0.0.36-py3-none-any.whl (51 kB) Collecting jamo Using cached jamo-0.4.1-py3-none-any.whl (9.5 kB) Collecting bnunicodenormalizer Using cached bnunicodenormalizer-0.1.6.tar.gz (39 kB) Preparing metadata (setup.py) ... done Collecting anyascii>=0.3.0 Using cached anyascii-0.3.2-py3-none-any.whl (289 kB) Collecting einops>=0.6.0 Using cached einops-0.8.0-py3-none-any.whl (43 kB) Collecting scipy>=1.11.2 Using cached scipy-1.13.0-cp310-cp310-win_amd64.whl (46.2 MB) Collecting bangla Using cached bangla-0.0.2-py2.py3-none-any.whl (6.2 kB) Collecting pandas=1.0 Using cached pandas-1.5.3-cp310-cp310-win_amd64.whl (10.4 MB) Collecting numpy~=1.0 Using cached numpy-1.22.0-cp310-cp310-win_amd64.whl (14.7 MB) Collecting inflect>=5.6.0 Using cached inflect-7.2.1-py3-none-any.whl (34 kB) Collecting transformers>=4.33.0 Using cached transformers-4.40.2-py3-none-any.whl (9.0 MB) Requirement already satisfied: fsspec>=2023.6.0 in c:\users\juan pablo godoy\documents\xtts\xtts-finetune-webui\venv\lib\site-packages (from tts==0.22.0->-r .\requirements.txt (line 3)) (2024.2.0) Collecting encodec>=0.1.1 Using cached encodec-0.1.1.tar.gz (3.7 MB) Preparing metadata (setup.py) ... done Requirement already satisfied: torch>=2.1 in c:\users\juan pablo godoy\documents\xtts\xtts-finetune-webui\venv\lib\site-packages (from tts==0.22.0->-r .\requirements.txt (line 3)) (2.1.1+cu118) Collecting unidecode>=1.3.2 Using cached Unidecode-1.3.8-py3-none-any.whl (235 kB) Collecting flask>=2.0.1 Using cached flask-3.0.3-py3-none-any.whl (101 kB) Collecting librosa>=0.10.0 Using cached librosa-0.10.2-py3-none-any.whl (260 kB) Collecting numba>=0.57.0 Using cached numba-0.59.1-cp310-cp310-win_amd64.whl (2.7 MB) Collecting umap-learn>=0.5.1 Using cached umap_learn-0.5.6-py3-none-any.whl (85 kB) Collecting jieba Using cached jieba-0.42.1.tar.gz (19.2 MB) Preparing metadata (setup.py) ... done Collecting websockets=10.0 Using cached websockets-11.0.3-cp310-cp310-win_amd64.whl (124 kB) Collecting Babel=2.8.0 Using cached Babel-2.15.0-py3-none-any.whl (9.6 MB) Collecting dateparser~=1.1.0 Using cached dateparser-1.1.8-py2.py3-none-any.whl (293 kB) Collecting gruut-ipa=0.12.0 Using cached gruut-ipa-0.13.0.tar.gz (101 kB) Preparing metadata (setup.py) ... done Collecting gruut_lang_en~=2.0.0 Using cached gruut_lang_en-2.0.0.tar.gz (15.2 MB) Preparing metadata (setup.py) ... done Collecting jsonlines~=1.2.0 Using cached jsonlines-1.2.0-py2.py3-none-any.whl (7.6 kB) Collecting networkx=2.5.0 Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB) Collecting python-crfsuite~=0.9.7 Using cached python_crfsuite-0.9.10-cp310-cp310-win_amd64.whl (155 kB) Collecting gruut_lang_de~=2.0.0 Using cached gruut_lang_de-2.0.0.tar.gz (18.1 MB) Preparing metadata (setup.py) ... done Collecting gruut_lang_fr~=2.0.0 Using cached gruut_lang_fr-2.0.2.tar.gz (10.9 MB) Preparing metadata (setup.py) ... done Collecting gruut_lang_es~=2.0.0 Using cached gruut_lang_es-2.0.0.tar.gz (31.4 MB) Preparing metadata (setup.py) ... done Collecting mojimoji Using cached mojimoji-0.0.13-cp310-cp310-win_amd64.whl (43 kB) Collecting jaconv Using cached jaconv-0.3.4.tar.gz (16 kB) Preparing metadata (setup.py) ... done Collecting unidic-lite Using cached unidic-lite-1.0.8.tar.gz (47.4 MB) Preparing metadata (setup.py) ... done Collecting async-timeout=4.0 Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Collecting aiosignal>=1.1.2 Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting yarl=1.0 Using cached yarl-1.9.4-cp310-cp310-win_amd64.whl (76 kB) Collecting multidict=4.5 Using cached multidict-6.0.5-cp310-cp310-win_amd64.whl (28 kB) Collecting frozenlist>=1.1.1 Using cached frozenlist-1.4.1-cp310-cp310-win_amd64.whl (50 kB) Collecting attrs>=17.3.0 Using cached attrs-23.2.0-py3-none-any.whl (60 kB) Collecting toolz Using cached toolz-0.12.1-py3-none-any.whl (56 kB) Collecting jsonschema>=3.0 Using cached jsonschema-4.22.0-py3-none-any.whl (88 kB) Requirement already satisfied: setuptools in c:\users\juan pablo godoy\documents\xtts\xtts-finetune-webui\venv\lib\site-packages (from ctranslate2=4.0->faster_whisper==0.10.0->-r .\requirements.txt (line 1)) (63.2.0) Collecting itsdangerous>=2.1.2 Using cached itsdangerous-2.2.0-py3-none-any.whl (16 kB) Collecting Werkzeug>=3.0.0 Using cached werkzeug-3.0.3-py3-none-any.whl (227 kB) Collecting click>=8.1.3 Using cached click-8.1.7-py3-none-any.whl (97 kB) Collecting blinker>=1.6.2 Using cached blinker-1.8.2-py3-none-any.whl (9.5 kB) Collecting requests Using cached requests-2.31.0-py3-none-any.whl (62 kB) Requirement already satisfied: filelock in c:\users\juan pablo godoy\documents\xtts\xtts-finetune-webui\venv\lib\site-packages (from huggingface-hub>=0.13->faster_whisper==0.10.0->-r .\requirements.txt (line 1)) (3.13.1) Collecting typeguard>=4.0.1 Using cached typeguard-4.2.1-py3-none-any.whl (34 kB) Collecting more-itertools Using cached more_itertools-10.2.0-py3-none-any.whl (57 kB) Collecting librosa>=0.10.0 Using cached librosa-0.10.1-py3-none-any.whl (253 kB) Using cached librosa-0.10.0.post2-py3-none-any.whl (253 kB) Using cached librosa-0.10.0.post1-py3-none-any.whl (252 kB) Using cached librosa-0.10.0-py3-none-any.whl (252 kB) Collecting soxr>=0.3.2 Using cached soxr-0.3.7-cp310-cp310-win_amd64.whl (184 kB) Collecting pooch>=1.0 Using cached pooch-1.8.1-py3-none-any.whl (62 kB) Collecting audioread>=2.1.9 Using cached audioread-3.0.1-py3-none-any.whl (23 kB) Collecting joblib>=0.14 Using cached joblib-1.4.2-py3-none-any.whl (301 kB) Collecting msgpack>=1.0 Using cached msgpack-1.0.8-cp310-cp310-win_amd64.whl (75 kB) Collecting decorator>=4.3.0 Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting lazy-loader>=0.1 Using cached lazy_loader-0.4-py3-none-any.whl (12 kB) Collecting python-dateutil>=2.7 Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Collecting pyparsing>=2.3.1 Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB) Collecting cycler>=0.10 Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB) Collecting kiwisolver>=1.3.1 Using cached kiwisolver-1.4.5-cp310-cp310-win_amd64.whl (56 kB) Collecting fonttools>=4.22.0 Using cached fonttools-4.51.0-cp310-cp310-win_amd64.whl (2.2 MB) Collecting contourpy>=1.0.1 Using cached contourpy-1.2.1-cp310-cp310-win_amd64.whl (187 kB) Collecting docopt>=0.6.2 Using cached docopt-0.6.2.tar.gz (25 kB) Preparing metadata (setup.py) ... done Collecting llvmlite=0.42.0dev0 Using cached llvmlite-0.42.0-cp310-cp310-win_amd64.whl (28.1 MB) Requirement already satisfied: sympy in c:\users\juan pablo godoy\documents\xtts\xtts-finetune-webui\venv\lib\site-packages (from onnxruntime=1.14->faster_whisper==0.10.0->-r .\requirements.txt (line 1)) (1.12) Collecting flatbuffers Using cached flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB) Collecting protobuf Using cached protobuf-5.26.1-cp310-abi3-win_amd64.whl (420 kB) Collecting coloredlogs Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) Collecting pytz>=2020.1 Using cached pytz-2024.1-py2.py3-none-any.whl (505 kB) Collecting annotated-types>=0.4.0 Using cached annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting pydantic-core==2.18.2 Using cached pydantic_core-2.18.2-cp310-none-win_amd64.whl (1.9 MB) Collecting threadpoolctl>=2.0.0 Using cached threadpoolctl-3.5.0-py3-none-any.whl (18 kB) Collecting scipy>=1.11.2 Using cached scipy-1.12.0-cp310-cp310-win_amd64.whl (46.2 MB) Using cached scipy-1.11.4-cp310-cp310-win_amd64.whl (44.1 MB) Collecting cffi>=1.0 Using cached cffi-1.16.0-cp310-cp310-win_amd64.whl (181 kB) Collecting wasabi=0.9.1 Using cached wasabi-1.1.2-py3-none-any.whl (27 kB) Collecting thinc=8.2.2 Using cached thinc-8.2.3-cp310-cp310-win_amd64.whl (1.5 MB) Collecting preshed=3.0.2 Using cached preshed-3.0.9-cp310-cp310-win_amd64.whl (122 kB) Collecting cymem=2.0.2 Using cached cymem-2.0.8-cp310-cp310-win_amd64.whl (39 kB) Collecting typer=0.3.0 Using cached typer-0.9.4-py3-none-any.whl (45 kB) Collecting murmurhash=0.28.0 Using cached murmurhash-1.0.10-cp310-cp310-win_amd64.whl (25 kB) Collecting catalogue=2.0.6 Using cached catalogue-2.0.10-py3-none-any.whl (17 kB) Collecting langcodes=3.2.0 Using cached langcodes-3.4.0-py3-none-any.whl (182 kB) Collecting spacy-legacy=3.0.11 Using cached spacy_legacy-3.0.12-py2.py3-none-any.whl (29 kB) Collecting spacy-loggers=1.0.0 Using cached spacy_loggers-1.0.5-py3-none-any.whl (22 kB) Collecting smart-open=5.2.1 Using cached smart_open-6.4.0-py3-none-any.whl (57 kB) Collecting weasel=0.1.0 Using cached weasel-0.3.4-py3-none-any.whl (50 kB) Collecting srsly=2.4.3 Using cached srsly-2.4.8-cp310-cp310-win_amd64.whl (481 kB) Collecting sudachipy!=0.6.1,>=0.5.2 Using cached SudachiPy-0.6.8-cp310-cp310-win_amd64.whl (1.3 MB) Collecting sudachidict-core>=20211220 Using cached SudachiDict_core-20240409-py3-none-any.whl (72.0 MB) Collecting colorama Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting tensorboard Using cached tensorboard-2.16.2-py3-none-any.whl (5.5 MB) Collecting psutil Using cached psutil-5.9.8-cp37-abi3-win_amd64.whl (255 kB) Collecting transformers>=4.33.0 Using cached transformers-4.40.1-py3-none-any.whl (9.0 MB) Using cached transformers-4.40.0-py3-none-any.whl (9.0 MB) Using cached transformers-4.39.3-py3-none-any.whl (8.8 MB) Collecting regex!=2019.12.17 Using cached regex-2024.5.10-cp310-cp310-win_amd64.whl (268 kB) Collecting safetensors>=0.4.1 Using cached safetensors-0.4.3-cp310-none-win_amd64.whl (287 kB) WARNING: typer 0.12.3 does not provide the extra 'all' Collecting typer[all]=0.9 Using cached typer-0.12.2-py3-none-any.whl (47 kB) WARNING: typer 0.12.2 does not provide the extra 'all' Using cached typer-0.12.1-py3-none-any.whl (46 kB) WARNING: typer 0.12.1 does not provide the extra 'all' Using cached typer-0.12.0-py3-none-any.whl (5.6 kB) WARNING: typer 0.12.0 does not provide the extra 'all' Using cached typer-0.11.1-py3-none-any.whl (43 kB) Using cached typer-0.11.0-py3-none-any.whl (43 kB) Using cached typer-0.10.0-py3-none-any.whl (46 kB) Collecting rich=10.11.0 Using cached rich-13.7.1-py3-none-any.whl (240 kB) Collecting shellingham=1.3.0 Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB) Collecting pynndescent>=0.5 Using cached pynndescent-0.5.12-py3-none-any.whl (56 kB) Collecting h11>=0.8 Using cached h11-0.14.0-py3-none-any.whl (58 kB) Collecting email_validator>=2.0.0 Using cached email_validator-2.1.1-py3-none-any.whl (30 kB) Collecting fastapi-cli>=0.0.2 Using cached fastapi_cli-0.0.3-py3-none-any.whl (9.2 kB) Collecting starlette=0.37.2 Using cached starlette-0.37.2-py3-none-any.whl (71 kB) Collecting ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,>=4.0.1 Using cached ujson-5.9.0-cp310-cp310-win_amd64.whl (41 kB) Collecting sniffio Using cached sniffio-1.3.1-py3-none-any.whl (10 kB) Collecting anyio Using cached anyio-4.3.0-py3-none-any.whl (85 kB) Collecting httpcore==1.* Using cached httpcore-1.0.5-py3-none-any.whl (77 kB) Collecting certifi Using cached certifi-2024.2.2-py3-none-any.whl (163 kB) Collecting idna Using cached idna-3.7-py3-none-any.whl (66 kB) Collecting pycparser Using cached pycparser-2.22-py3-none-any.whl (117 kB) Collecting tzlocal Using cached tzlocal-5.2-py3-none-any.whl (17 kB) Collecting dnspython>=2.0.0 Using cached dnspython-2.6.1-py3-none-any.whl (307 kB) Collecting fastapi-cli>=0.0.2 Using cached fastapi_cli-0.0.2-py3-none-any.whl (9.1 kB) INFO: pip is looking at multiple versions of email-validator to determine which version is compatible with other requirements. This could take a while. Collecting email_validator>=2.0.0 Using cached email_validator-2.1.0.post1-py3-none-any.whl (32 kB) INFO: pip is looking at multiple versions of docopt to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of decorator to determine which version is compatible with other requirements. This could take a while. Collecting decorator>=4.3.0 Using cached decorator-5.1.0-py3-none-any.whl (9.1 kB) INFO: pip is looking at multiple versions of dateparser to determine which version is compatible with other requirements. This could take a while. Collecting dateparser~=1.1.0 Using cached dateparser-1.1.7-py2.py3-none-any.whl (293 kB) INFO: pip is looking at multiple versions of cymem to determine which version is compatible with other requirements. This could take a while. Collecting cymem=2.0.2 Using cached cymem-2.0.7-cp310-cp310-win_amd64.whl (29 kB) INFO: pip is looking at multiple versions of cycler to determine which version is compatible with other requirements. This could take a while. Collecting cycler>=0.10 Using cached cycler-0.12.0-py3-none-any.whl (8.2 kB) INFO: pip is looking at multiple versions of contourpy to determine which version is compatible with other requirements. This could take a while. Collecting contourpy>=1.0.1 Using cached contourpy-1.2.0-cp310-cp310-win_amd64.whl (186 kB) INFO: pip is looking at multiple versions of colorama to determine which version is compatible with other requirements. This could take a while. Collecting colorama Using cached colorama-0.4.5-py2.py3-none-any.whl (16 kB) INFO: pip is looking at multiple versions of click to determine which version is compatible with other requirements. This could take a while. Collecting click>=8.1.3 Using cached click-8.1.6-py3-none-any.whl (97 kB) INFO: pip is looking at multiple versions of cffi to determine which version is compatible with other requirements. This could take a while. Collecting cffi>=1.0 Using cached cffi-1.15.1-cp310-cp310-win_amd64.whl (179 kB) INFO: pip is looking at multiple versions of catalogue to determine which version is compatible with other requirements. This could take a while. Collecting catalogue=2.0.6 Using cached catalogue-2.0.9-py3-none-any.whl (17 kB) INFO: pip is looking at multiple versions of blinker to determine which version is compatible with other requirements. This could take a while. Collecting blinker>=1.6.2 Using cached blinker-1.8.1-py3-none-any.whl (9.5 kB) INFO: pip is looking at multiple versions of babel to determine which version is compatible with other requirements. This could take a while. Collecting Babel=2.8.0 Using cached Babel-2.14.0-py3-none-any.whl (11.0 MB) INFO: pip is looking at multiple versions of audioread to determine which version is compatible with other requirements. This could take a while. Collecting audioread>=2.1.9 Using cached audioread-3.0.0.tar.gz (377 kB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of attrs to determine which version is compatible with other requirements. This could take a while. Collecting attrs>=17.3.0 Using cached attrs-23.1.0-py3-none-any.whl (61 kB) INFO: pip is looking at multiple versions of async-timeout to determine which version is compatible with other requirements. This could take a while. Collecting async-timeout=4.0 Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB) INFO: pip is looking at multiple versions of annotated-types to determine which version is compatible with other requirements. This could take a while. Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) INFO: pip is looking at multiple versions of aiosignal to determine which version is compatible with other requirements. This could take a while. Collecting aiosignal>=1.1.2 Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB) INFO: pip is looking at multiple versions of unidic-lite to determine which version is compatible with other requirements. This could take a while. Collecting unidic-lite Using cached unidic-lite-1.0.7.tar.gz (47.3 MB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of torchaudio to determine which version is compatible with other requirements. This could take a while. Collecting torchaudio Using cached torchaudio-2.3.0-cp310-cp310-win_amd64.whl (2.4 MB) INFO: pip is looking at multiple versions of pypinyin to determine which version is compatible with other requirements. This could take a while. Collecting pypinyin Using cached pypinyin-0.50.0-py2.py3-none-any.whl (1.4 MB) INFO: pip is looking at multiple versions of pydub to determine which version is compatible with other requirements. This could take a while. Collecting pydub Using cached pydub-0.25.0-py2.py3-none-any.whl (32 kB) INFO: pip is looking at multiple versions of nltk to determine which version is compatible with other requirements. This could take a while. Collecting nltk Using cached nltk-3.8-py3-none-any.whl (1.5 MB) INFO: pip is looking at multiple versions of mojimoji to determine which version is compatible with other requirements. This could take a while. Collecting mojimoji Using cached mojimoji-0.0.12.tar.gz (43 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done INFO: pip is looking at multiple versions of jieba to determine which version is compatible with other requirements. This could take a while. Collecting jieba Using cached jieba-0.42.tar.gz (19.2 MB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of jamo to determine which version is compatible with other requirements. This could take a while. Collecting jamo Using cached jamo-0.4.0.tar.gz (7.3 kB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of jaconv to determine which version is compatible with other requirements. This could take a while. Collecting jaconv Using cached jaconv-0.3.3.tar.gz (16 kB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of hangul-romanize to determine which version is compatible with other requirements. This could take a while. Collecting hangul-romanize Using cached hangul-romanize-0.0.1.tar.gz (3.7 kB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of fugashi to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of ffmpy to determine which version is compatible with other requirements. This could take a while. Collecting ffmpy Using cached ffmpy-0.3.1-py3-none-any.whl INFO: pip is looking at multiple versions of python-multipart to determine which version is compatible with other requirements. This could take a while. Collecting python-multipart Using cached python_multipart-0.0.8-py3-none-any.whl (22 kB) INFO: pip is looking at multiple versions of httpcore to determine which version is compatible with other requirements. This could take a while. Collecting httpcore==1.* Using cached httpcore-1.0.4-py3-none-any.whl (77 kB) Using cached httpcore-1.0.3-py3-none-any.whl (77 kB) Using cached httpcore-1.0.2-py3-none-any.whl (76 kB) Using cached httpcore-1.0.1-py3-none-any.whl (76 kB) Using cached httpcore-1.0.0-py3-none-any.whl (76 kB) INFO: pip is looking at multiple versions of httpx to determine which version is compatible with other requirements. This could take a while. Collecting httpx Using cached httpx-0.26.0-py3-none-any.whl (75 kB) INFO: pip is looking at multiple versions of fastapi to determine which version is compatible with other requirements. This could take a while. Collecting fastapi Using cached fastapi-0.110.3-py3-none-any.whl (91 kB) Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting rpds-py>=0.7.1 Using cached rpds_py-0.18.1-cp310-none-win_amd64.whl (209 kB) Collecting jsonschema-specifications>=2023.03.6 Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB) Collecting referencing>=0.28.4 Using cached referencing-0.35.1-py3-none-any.whl (26 kB) Collecting language-data>=1.2 Using cached language_data-1.2.0-py3-none-any.whl (5.4 MB) Collecting platformdirs>=2.5.0 Using cached platformdirs-4.2.1-py3-none-any.whl (17 kB) Collecting charset-normalizer=2 Using cached charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl (100 kB) Collecting urllib3=1.21.1 Using cached urllib3-2.2.1-py3-none-any.whl (121 kB) Collecting markdown-it-py>=2.2.0 Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB) Collecting pygments=2.13.0 Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB) Collecting exceptiongroup>=1.0.2 Using cached exceptiongroup-1.2.1-py3-none-any.whl (16 kB) Collecting confection=0.0.1 Using cached confection-0.1.4-py3-none-any.whl (35 kB) Collecting blis=0.7.8 Using cached blis-0.7.11-cp310-cp310-win_amd64.whl (6.6 MB) Collecting typing-extensions~=4.0 Using cached typing_extensions-4.11.0-py3-none-any.whl (34 kB) Collecting cloudpathlib=0.7.0 Using cached cloudpathlib-0.16.0-py3-none-any.whl (45 kB) Collecting humanfriendly>=9.1 Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB) Requirement already satisfied: mpmath>=0.19 in c:\users\juan pablo godoy\documents\xtts\xtts-finetune-webui\venv\lib\site-packages (from sympy->onnxruntime=1.14->faster_whisper==0.10.0->-r .\requirements.txt (line 1)) (1.3.0) Collecting markdown>=2.6.8 Using cached Markdown-3.6-py3-none-any.whl (105 kB) Collecting grpcio>=1.48.2 Using cached grpcio-1.63.0-cp310-cp310-win_amd64.whl (3.9 MB) Collecting tensorboard-data-server=0.7.0 Using cached tensorboard_data_server-0.7.2-py3-none-any.whl (2.4 kB) Collecting absl-py>=0.4 Using cached absl_py-2.1.0-py3-none-any.whl (133 kB) Collecting pyreadline3 Using cached pyreadline3-3.4.1-py3-none-any.whl (95 kB) Collecting marisa-trie>=0.7.7 Using cached marisa_trie-1.1.1-cp310-cp310-win_amd64.whl (152 kB) Collecting mdurl~=0.1 Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB) Collecting tzdata Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB) Using legacy 'setup.py install' for encodec, since package 'wheel' is not installed. Using legacy 'setup.py install' for bnnumerizer, since package 'wheel' is not installed. Using legacy 'setup.py install' for bnunicodenormalizer, since package 'wheel' is not installed. Using legacy 'setup.py install' for ffmpy, since package 'wheel' is not installed. Using legacy 'setup.py install' for jaconv, since package 'wheel' is not installed. Using legacy 'setup.py install' for jieba, since package 'wheel' is not installed. Using legacy 'setup.py install' for unidic-lite, since package 'wheel' is not installed. Using legacy 'setup.py install' for docopt, since package 'wheel' is not installed. Using legacy 'setup.py install' for gruut-ipa, since package 'wheel' is not installed. Using legacy 'setup.py install' for gruut_lang_de, since package 'wheel' is not installed. Using legacy 'setup.py install' for gruut_lang_en, since package 'wheel' is not installed. Using legacy 'setup.py install' for gruut_lang_es, since package 'wheel' is not installed. Using legacy 'setup.py install' for gruut_lang_fr, since package 'wheel' is not installed. Using legacy 'setup.py install' for gruut, since package 'wheel' is not installed. Installing collected packages: unidic-lite, sudachipy, pytz, python-crfsuite, pyreadline3, pydub, jieba, jamo, jaconv, hangul-romanize, gruut_lang_fr, gruut_lang_es, gruut_lang_en, gruut_lang_de, flatbuffers, ffmpy, docopt, cymem, bnunicodenormalizer, bnnumerizer, bangla, Werkzeug, websockets, urllib3, unidecode, tzdata, typing-extensions, toolz, tomlkit, threadpoolctl, tensorboard-data-server, sudachidict-core, spacy-loggers, spacy-legacy, sniffio, smart-open, six, shellingham, semantic-version, safetensors, rpds-py, regex, pyyaml, python-multipart, pysbd, pypinyin, pyparsing, pygments, pycparser, psutil, protobuf, platformdirs, pillow, packaging, orjson, numpy, num2words, networkx, murmurhash, multidict, msgpack, more-itertools, mojimoji, mdurl, markdown, marisa-trie, llvmlite, kiwisolver, joblib, itsdangerous, importlib-resources, idna, humanfriendly, h11, gruut-ipa, grpcio, fugashi, frozenlist, fonttools, exceptiongroup, einops, decorator, cython, cycler, coqpit, colorama, charset-normalizer, certifi, catalogue, blinker, Babel, av, audioread, attrs, async-timeout, anyascii, annotated-types, aiofiles, absl-py, yarl, wasabi, tzlocal, typeguard, tqdm, tensorboard, srsly, soxr, scipy, requests, referencing, python-dateutil, pydantic-core, preshed, numba, markdown-it-py, lazy-loader, language-data, jsonlines, httpcore, cutlet, ctranslate2, contourpy, coloredlogs, cloudpathlib, click, cffi, blis, anyio, aiosignal, uvicorn, typer, starlette, soundfile, scikit-learn, rich, pydantic, pooch, pandas, onnxruntime, nltk, matplotlib, langcodes, jsonschema-specifications, inflect, huggingface-hub, httpx, flask, dateparser, aiohttp, trainer, tokenizers, pynndescent, librosa, jsonschema, gruut, gradio-client, g2pkk, fastapi, encodec, confection, weasel, umap-learn, transformers, thinc, faster_whisper, altair, spacy, gradio, tts Running setup.py install for unidic-lite ... done Running setup.py install for jieba ... done Running setup.py install for jaconv ... done Running setup.py install for gruut_lang_fr ... done Running setup.py install for gruut_lang_es ... done Running setup.py install for gruut_lang_en ... done Running setup.py install for gruut_lang_de ... done Running setup.py install for ffmpy ... done Running setup.py install for docopt ... done Running setup.py install for bnunicodenormalizer ... done Running setup.py install for bnnumerizer ... done Attempting uninstall: typing-extensions Found existing installation: typing_extensions 4.9.0 Uninstalling typing_extensions-4.9.0: Successfully uninstalled typing_extensions-4.9.0 Attempting uninstall: networkx Found existing installation: networkx 3.2.1 Uninstalling networkx-3.2.1: Successfully uninstalled networkx-3.2.1 Running setup.py install for gruut-ipa ... done Running setup.py install for gruut ... done Running setup.py install for encodec ... done Successfully installed Babel-2.15.0 Werkzeug-3.0.3 absl-py-2.1.0 aiofiles-23.2.1 aiohttp-3.9.5 aiosignal-1.3.1 altair-5.3.0 annotated-types-0.6.0 anyascii-0.3.2 anyio-4.3.0 async-timeout-4.0.3 attrs-23.2.0 audioread-3.0.1 av-11.0.0 bangla-0.0.2 blinker-1.8.2 blis-0.7.11 bnnumerizer-0.0.2 bnunicodenormalizer-0.1.6 catalogue-2.0.10 certifi-2024.2.2 cffi-1.16.0 charset-normalizer-3.3.2 click-8.1.7 cloudpathlib-0.16.0 colorama-0.4.6 coloredlogs-15.0.1 confection-0.1.4 contourpy-1.2.1 coqpit-0.0.17 ctranslate2-4.2.1 cutlet-0.4.0 cycler-0.12.1 cymem-2.0.8 cython-3.0.10 dateparser-1.1.8 decorator-5.1.1 docopt-0.6.2 einops-0.8.0 encodec-0.1.1 exceptiongroup-1.2.1 fastapi-0.110.3 faster_whisper-0.10.0 ffmpy-0.3.2 flask-3.0.3 flatbuffers-24.3.25 fonttools-4.51.0 frozenlist-1.4.1 fugashi-1.3.2 g2pkk-0.1.2 gradio-4.9.1 gradio-client-0.7.3 grpcio-1.63.0 gruut-2.2.3 gruut-ipa-0.13.0 gruut_lang_de-2.0.0 gruut_lang_en-2.0.0 gruut_lang_es-2.0.0 gruut_lang_fr-2.0.2 h11-0.14.0 hangul-romanize-0.1.0 httpcore-1.0.5 httpx-0.27.0 huggingface-hub-0.23.0 humanfriendly-10.0 idna-3.7 importlib-resources-6.4.0 inflect-7.2.1 itsdangerous-2.2.0 jaconv-0.3.4 jamo-0.4.1 jieba-0.42.1 joblib-1.4.2 jsonlines-1.2.0 jsonschema-4.22.0 jsonschema-specifications-2023.12.1 kiwisolver-1.4.5 langcodes-3.4.0 language-data-1.2.0 lazy-loader-0.4 librosa-0.10.0 llvmlite-0.42.0 marisa-trie-1.1.1 markdown-3.6 markdown-it-py-3.0.0 matplotlib-3.8.4 mdurl-0.1.2 mojimoji-0.0.13 more-itertools-10.2.0 msgpack-1.0.8 multidict-6.0.5 murmurhash-1.0.10 networkx-2.8.8 nltk-3.8.1 num2words-0.5.13 numba-0.59.1 numpy-1.22.0 onnxruntime-1.17.3 orjson-3.10.3 packaging-24.0 pandas-1.5.3 pillow-10.3.0 platformdirs-4.2.1 pooch-1.8.1 preshed-3.0.9 protobuf-5.26.1 psutil-5.9.8 pycparser-2.22 pydantic-2.7.1 pydantic-core-2.18.2 pydub-0.25.1 pygments-2.18.0 pynndescent-0.5.12 pyparsing-3.1.2 pypinyin-0.51.0 pyreadline3-3.4.1 pysbd-0.3.4 python-crfsuite-0.9.10 python-dateutil-2.9.0.post0 python-multipart-0.0.9 pytz-2024.1 pyyaml-6.0.1 referencing-0.35.1 regex-2024.5.10 requests-2.31.0 rich-13.7.1 rpds-py-0.18.1 safetensors-0.4.3 scikit-learn-1.4.2 scipy-1.11.4 semantic-version-2.10.0 shellingham-1.5.4 six-1.16.0 smart-open-6.4.0 sniffio-1.3.1 soundfile-0.12.1 soxr-0.3.7 spacy-3.7.4 spacy-legacy-3.0.12 spacy-loggers-1.0.5 srsly-2.4.8 starlette-0.37.2 sudachidict-core-20240409 sudachipy-0.6.8 tensorboard-2.16.2 tensorboard-data-server-0.7.2 thinc-8.2.3 threadpoolctl-3.5.0 tokenizers-0.15.2 tomlkit-0.12.0 toolz-0.12.1 tqdm-4.66.4 trainer-0.0.36 transformers-4.39.3 tts-0.22.0 typeguard-4.2.1 typer-0.9.4 typing-extensions-4.11.0 tzdata-2024.1 tzlocal-5.2 umap-learn-0.5.6 unidecode-1.3.8 unidic-lite-1.0.8 urllib3-2.2.1 uvicorn-0.29.0 wasabi-1.1.2 weasel-0.3.4 websockets-11.0.3 yarl-1.9.4 [notice] A new release of pip available: 22.2.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip Install complete.

Juanpi Amv's

Also, is there any way for Tortoise to do Real time Voice? Or what do you recommend for that? RVC can integrate and bring real time voice over>

Troy Amato

Hey AI, The error I'm getting is: Winget is not installed on this system. 'curl' is not operable program or batch file. This is under the Ultimate TTS install after the FFMPEG, 1 click,

Troy Amato

OK, FYI for other users here with install issues. I've been having problems with pip not showing its update that I know it has... guess what? I used to have a space in my user NAME on Windows, so my user FOLDER (in c: drive) has a space in it too. Pip is stored inside that folder under roaming! So if you are having repeating issues, check your filename under your user name in your C drive. I changed my user name years ago to exclude spaces, BUT, I didn't realize that doesn't change the folder name. BTW, it's very hard to change the folder name without risk of losing all your data in that folder. So I don't really know a solution to this.

ChopChop

I had this same problem when I tried to manually install everything yesterday. I then came here to grab the auto installers and still ran into the same issues. I kept feeding the error messages to Copilot, and it was able to walk me through the solution. (Not sure if you use Copilot or not?) What ended up working for me was, I used the Windows "Add or Remove Programs" to remove every version of Python I had installed. I then went to the Windows store and downloaded Python 3.11 and installed that. That seems to have fixed it for me. I don't know if it's the universal solution for this error or not, but it's worth a try? For the record, I had Python 3.11 AND 3.12 installed, and I was still getting the error, but once I uninstalled 3.12 so that 3.11 was the only version I had, it worked after that. Hopefully that can help get you on the right track at least. If you DO use Copilot, just pasting those error messages into Copilot, it was able to provide me with some pretty good command line prompts to narrow down the issues on my system (checking version numbers, downloading updates, etc...), so if this solution doesn't work for you, maybe try talking to Copilot about it if you have access to that? (Note: It's also worth noting that if you end up getting it to work the way I did, once it gets to a long list of things, ending with "spacy, gradio, tts" or something, I can't remember the full list, but it got to that part and I thought it just got stuck because nothing was happening, but after a couple of minutes it continued on, and ended up finishing just fine)

etmos

That's not the full log but i see that you are installing inside a onedrive folde, don't do that, install it normally inside a normal folder

Aitrepreneur

need the full error log here, if the auto installers don't work straight up that might mean you have some bad initial install making all future install problematic but without more info difficult to know where the issue is

Aitrepreneur

you need the desktop dev C++ for the build tools

Aitrepreneur

Traceback (most recent call last): File "C:\Users\user\OneDrive\desktop\ALTI\xtts-webui\app.py", line 67, in from xtts_webui import demo File "C:\Users\user\OneDrive\desktop\ALTI\xtts-webui\xtts_webui.py", line 3, in from scripts.tts_funcs import TTSWrapper File "C:\Users\user\OneDrive\desktop\ALTI\xtts-webui\scripts\tts_funcs.py", line 4, in import torchaudio

paco porras

I tried it but that one just gave me the revocation function error again. I think I managed to install FFmpeg manually though. cmd said it was added correctly anyway. If you're able to tell me which of the visual studio files I need to install I'll try the manual method.

TheSandwichSavant

These "auto installers" straight up never work for me. Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118) ERROR: No matching distribution found for torch==2.1.1+cu118 Collecting faster_whisper==0.10.0 (from -r .\requirements.txt (line 1)) Using cached faster_whisper-0.10.0-py3-none-any.whl.metadata (14 kB) Collecting gradio==4.9.1 (from -r .\requirements.txt (line 2)) Using cached gradio-4.9.1-py3-none-any.whl.metadata (17 kB)

JustDrwIt

If this doesn't help I'll try the manual install I just need to know which of the build tools I need to download with visual studio.

TheSandwichSavant

that error is ok, shouldn't cause any issues when using or training

Aitrepreneur

Need way more info here, the full log would be better

Aitrepreneur

weird... you can try this one: https://we.tl/t-JnKo7InjBD but make sure that you don't have any antivirus/firewall running? That's the only thing that could block the connection

Aitrepreneur

[!] Warning: The text length exceeds the character limit of 253 for language 'de', this might cause truncated audio. Is there any alternative available?

Marc

Hey there I get this error. Failed to download ffmpeg. Please check your internet connection and URL. I'm using the version from https://we.tl/t-YeEIuYqLl5 as I was also previously getting the revocation function error. Any ideas? My internet to my knowledge is totally fine as I've tried both before and during writing this out.

TheSandwichSavant

Any help here? ModuleNotFound : TorchAudio

paco porras

install cuda 12 from the nvidia website

Aitrepreneur

haven't done one yet but I will very soon

Aitrepreneur

yes for german use the 2.0.3 model instead, it's works much better apparently

Aitrepreneur

btw that error is from the fact that you need cuda 12, so simply installing cuda 12 from the nvidia site is enough to solve this issue :)

Aitrepreneur

I had that error too. Here's what fixed mine: 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer.

John Smith

Under the xtts Fine tune, I'm getting this error: The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "C:\Users\User\Documents\Aitrepreneur\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "C:\Users\User\Documents\Aitrepreneur\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "C:\Users\User\Documents\Aitrepreneur\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "C:\Users\User\Documents\Aitrepreneur\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "C:\Users\User\Documents\Aitrepreneur\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

John Smith

Well it took me a while to get it but it worked thank you so much for coming back and showing me that Frank B!!!! and thank you K for all the videos showing us how to do this!!!!!

Baslim

Oh thank you I just got up gonna check it out now thank you so much

Baslim

I has our solution go here https://joshuachini.com/2024/02/04/how-to-setup-whisper-from-openai/ and follow steps 1-5! doing this has fixed it for me.

Frank B

I have the same issue as you^

Frank B

ModuleNotFoundError: No module named 'requests' Why? How to fix?

Zamot

By chance you wouldn’t happen to have a 1 click installer for ComfyUi Nvidia cuda12.1 formers? Or similar…

Damien Benoit

Hello my hero... the installation worked perfectly and I was able to generate an almost perfect German voice. It sounds a bit lame and slow, but I'll accept that. However, parts of sentences creep in that are not in the text box. Between the entered text there are always short sections of undefined language that make no sense. Do you have any idea what that could be? I have an RTX4090 and even with that converting txt2voice takes a very long time - you obviously need patience ;-)

Marc

Thanks K, shame multi character XTTS isn't yet possible. That would be super awesome.

James Stewart

Sorry I'm getting this issue now when I try to use XTTS-Finetune RuntimeError: Library cublas64_12.dll is not found or cannot be loaded. it gives me the message when ever I try to fine tune a file so at least now I can get into the web UI

Baslim

Thank youlol

Baslim

Thanks! That worked for me too.

Jack Silver

can I get anymore help?

ChopChop

WOW I was here all day trying this and you helped me really quick thanks man that was awesome!

Baslim

Aha, got the Xtts RVC UI folder now, I was just stupid and didn't run FFMPEG-INSTALL AS ADMIN again after I fixed the settings earlier.

Daniel

Thanks, found them and fixed them, seem to get further, but still get these errors: ERROR: Could not install packages due to an OSError: [WinError 5] Åtkomst nekad: 'C:\\Windows\\System32\\xtts-webui\\venv\\Lib\\site-packages\\mpmath-1.3.0.dist-info\\INSTALLERow84zi2z.tmp' Check the permissions. ________ error: subprocess-exited-with-error × Running setup.py install for unidic-lite did not run successfully. │ exit code: 1 ╰─> [35 lines of output] running install C:\Windows\System32\xtts-finetune-webui\venv\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build\lib creating build\lib\unidic_lite copying unidic_lite\unidic.py -> build\lib\unidic_lite copying unidic_lite\__init__.py -> build\lib\unidic_lite creating build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\AUTHORS -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\BSD -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\ChangeLog -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\char.bin -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\COPYING -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\dicrc -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\GPL -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\INSTALL -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\left-id.def -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\LGPL -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\matrix.bin -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\mecabrc -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\README.md -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\rewrite.def -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\right-id.def -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\sys.dic -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\unidic-mecab.pdf -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\unk.dic -> build\lib\unidic_lite\dicdir copying unidic_lite\dicdir\version -> build\lib\unidic_lite\dicdir running install_lib creating C:\Windows\System32\xtts-finetune-webui\venv\Lib\site-packages\unidic_lite creating C:\Windows\System32\xtts-finetune-webui\venv\Lib\site-packages\unidic_lite\dicdir copying build\lib\unidic_lite\dicdir\AUTHORS -> C:\Windows\System32\xtts-finetune-webui\venv\Lib\site-packages\unidic_lite\dicdir error: [WinError 5] Åtkomst nekad [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> unidic-lite note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. _________________________ ERROR: Could not install packages due to an OSError: [WinError 5] Åtkomst nekad: 'C:\\Windows\\System32\\XTTS-RVC-UI\\venv\\Lib\\site-packages\\mpmath-1.3.0.dist-info\\INSTALLER0jispjhz.tmp' Check the permissions. - and no folder for Xtts RVC UI yet sadly. Though my virus protection is back, but turned off, but can uninstall it again, if you think that matters. https://imgur.com/a/sim0JPX images of me activating the settings

Daniel

Thank you will do.

Baslim

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

No I deleted my folders and started over a few times doing it manually and with the installer haven't gotten it to work yet,

Baslim

Hi, got a few errors on the installer so tried reinstalling python as you said on another comment, but now the installer just seem to crash. FFMPEG worked before and after, but Ultimate just closes itself in second, the last thing I see is this: https://imgur.com/sOn3jsc (Dosen't matter if I install just one of them.) Any idea why? Update* python -m pip install --upgrade pip Fixed it, back to how it was before I reinstalled python, now it says: "ERROR: Could not install packages due to an OSError: [WinError 5] Åtkomst nekad: 'C:\\Windows\\System32\\xtts-webui\\venv\\Lib\\site-packages\\mpmath-1.3.0.dist-info\\INSTALLERnp6joyj_.tmp' Check the permissions. [notice] A new release of pip available: 22.2.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "C:\Windows\System32\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Install complete." - Also if I let it go on anyway I get this error message error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\d-swa\AppData\Local\Temp\pip-install-s52u12i4\jamo_f53663b0b424489a82d19c3a1d850f65\setup.py", line 11, in long_description = f.read() File "C:\Users\d-swa\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. [notice] A new release of pip available: 22.2.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip Install complete. - Aslo, if I still continue to the last install I get this ERROR: Could not install packages due to an OSError: [WinError 5] Åtkomst nekad: 'C:\\Windows\\System32\\XTTS-RVC-UI\\venv\\Lib\\site-packages\\mpmath-1.3.0.dist-info\\INSTALLERoxis0xt0.tmp' Check the permissions. WARNING: There was an error checking the latest version of pip. - Dosen't seem to matter how many times I write python -m pip install --upgrade pip, it doesn't go above 22. Also while I get two of the folders, I don't seem to get anything from "Xtts RVC UI" No folder, no nothing. (Also tips for others, when I tried it the first time my antivirus broke a lot of the installation, make sure it is off) (Though even tried to uninstall it, and didn't fix my final problem).

Daniel

Hey man I keep coming up with errors finally I gave up and decided to try your installer the old errors went away but now I have this one lol can you help me out? and now I get this error when clicking start.bat ModuleNotFoundError: No module named 'requests'

Baslim

error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\L\AppData\Local\Temp\pip-install-v95oiz__\jamo_db2d6bea5375401ea65bc81520066272\setup.py", line 11, in long_description = f.read() File "C:\Users\L\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. [notice] A new release of pip is available: 23.0.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip

Baslim

yes I already made videos about it https://youtu.be/enWO16x6tRM

Aitrepreneur

it's linked to the dark theme of your browser

Aitrepreneur

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

or to Sillytavern?

Peter Jarrette Gordon

Is there a way to link the xtts web ui etc to oobabooga?

Peter Jarrette Gordon

Amazing? It didnt work at all for me

ChopChop

How did you get the dark theme on gradio in your videos?

TAGILUX

Traceback (most recent call last): File "C:\Users\AG47\Desktop\Ultimate TTS\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "C:\Users\AG47\Desktop\Ultimate TTS\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

Alpha Ghost 47

when I opened xtts-webui it wouldn't open from cmd window. Said error. When I opened Xtts finetune the cmd window flashes up and disappears.

Alpha Ghost 47

Amazing!! worked perfectly!

TAGILUX

the rvc files is only for rvc, but the finetuned xtts could probably be used on alltalk (maybe I haven't tried) since it's based on the same tech models

Aitrepreneur

Thank you again for trying to help me! I love your stuff and so want this to work for me, lol! I did delete that and it had the same error. so i dug through all the comments on this and updated my cuda to the current version. I did a clean install and didn't see any errors. But the program insta crashed so i ran the install.bat that is inside the finetune folder. That install said i didn't have the updated pip. but i do have it updated. otherwise that second install went well it appeared because the program launched fine. I get the same error as before when i try to generate: IMPORTANT: You are using gradio version 4.9.1, however version 4.29.0 is available, please upgrade. -------- Warning, existing language does not match target language. Updated lang.txt with target language. Loading Whisper Model! Traceback (most recent call last): File "C:\Aientra\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "C:\Aientra\xtts-finetune-webui\utils\formatter.py", line 80, in format_audio_list asr_model = WhisperModel(whisper_model, device=device, compute_type="float16") File "C:\Aientra\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 133, in __init__ self.model = ctranslate2.models.Whisper( ValueError: Requested float16 compute type, but the target device or backend do not support efficient float16 computation.

ChopChop

so, after RVC rendered, that pth files only use for the RVC? can't use it on third audio tts like alltalk?

KOR HyperTiger

might need to delete the finetune models folder (save the model before doing it) to train a new one

Aitrepreneur

I understand your anger when something doesn't work at first but that's the nature of open source softwares, you need a bit of know how to make them work, that's why I'm here, it works you just need to know how to solve issues, in your case for the error you got you need to install cuda 12 from the nvidia website :)

Aitrepreneur

Listen I see this before other averytime there are many errors when installing or use , now I understand the need to put on software that no one use so we can pay the patreon abbonment ,it but maybe you need to test it a little beter before proposing a software that dosn't work fine

redmat winch

Existing language matches target language Loading Whisper Model! Estimating duration from bitrate, this may be inaccurate Traceback (most recent call last): File "C:\ai\APP\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "C:\ai\APP\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "C:\ai\APP\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

redmat winch

sorry but I got always the same error FOr the fine tuning 2 mi. i tryed averything anyone any ideas?:

redmat winch

well there isn't any auto integration of the "UBER TTS" in sillytavern since it would probably require way too long to convert for a normal conversation. There is already XTTS that you can use as I showed in my Sillytavern video and you could probably replace the base XTTS model used in Sillytavern with the finetuned XTTS but this would only work on 1 character, so not really practical but you could if you wanted to

Aitrepreneur

well obviously it can't find it installed, so maybe uninstall it and do it manually. https://visualstudio.microsoft.com/visual-cpp-build-tools/ don't forget to select the C++ build tools (I think it's renamed to desktop dev with C++)

Aitrepreneur

yeah ok now I remember this error happened to me as well once. Unfortunately it's just a bad install, try reinstalling the finetune webui again in a new folder (try to first install it on your main C drive) and take a look at the install to see if there is any error during the download of some files and installation, that might help as well just in case

Aitrepreneur

Edit, I moved all the XTTS installations out of the windows/system 32 folder and now it appears to be working :)

Frank B

Many thanks! I did all as suggested above, but sadlty its still a no go, Im not sure why it default installs XTTS to windows/System32 folder and not the folder /DIR I launched the installer from, thats a bit weird. Am now trying to manually move it incase permissions is messing with it. if that fails, I thinking give up and iaccept i doesn tlike my environment, plus reached the point where its more trouble than its worth, thanks for you assistance though - very much appreciated!

Frank B

Great vid K, but can you do a short follow up on the Uber TTS integration into SillyTavern?

James Stewart

Hi, thank you for your solution suggestion, but it didn't work for me, I still get the same error, I don't even have any installation other than Python 3.10.6, I can't see the requests module when I make a pip list.

Atakan Taşdelen

I've already downloaded c++

Eighth Avenue

Hey bro thank you again 100x!!! I have an error I just cant get past, could you help? error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for tts Failed to build tts ERROR: Could not build wheels for tts, which is required to install pyproject.toml-based projects

Eighth Avenue

Worked, thank you for the help!

Cory LeGuin

Nice! I did all that and with some more struggles was able to get it to run finetune webui! Only now when i added a 2:12 minute mpe voice file, i get this error. Thank you for all your help! Running on local URL: http://localhost:5003 To create a public link, set `share=True` in `launch()`. IMPORTANT: You are using gradio version 4.9.1, however version 4.29.0 is available, please upgrade. -------- Existing language matches target language Loading Whisper Model! Traceback (most recent call last): File "C:\Aientra\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "C:\Aientra\xtts-finetune-webui\utils\formatter.py", line 80, in format_audio_list asr_model = WhisperModel(whisper_model, device=device, compute_type="float16") File "C:\Aientra\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 133, in __init__ self.model = ctranslate2.models.Whisper( ValueError: Requested float16 compute type, but the target device or backend do not support efficient float16 computation.

ChopChop

>> DVAE weights restored from: F:\XTTS\xtts-finetune-webui\base_models\v2.0.2\dvae.pth Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "F:\XTTS\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in F:\XTTS\xtts-finetune-webui\finetune_models\dataset/F:\XTTS\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "F:\XTTS\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in F:\XTTS\xtts-finetune-webui\finetune_models\dataset/F:\XTTS\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "F:\XTTS\xtts-finetune-webui\utils\gpt_train.py", line 176, in train_gpt train_samples, eval_samples = load_tts_samples( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\datasets\__init__.py", line 121, in load_tts_samples assert len(meta_data_train) > 0, f" [!] No training samples found in {root_path}/{meta_file_train}" AssertionError: [!] No training samples found in F:\XTTS\xtts-finetune-webui\finetune_models\dataset/F:\XTTS\xtts-finetune-webui\finetune_models\dataset\metadata_train.csv ", "", "", "", ""] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

Juanpi Amv's

Thank you for answering, I did it now but I get the same error

Juanpi Amv's

would be better with the full error log though, especially since that error is kinda weird. first try this see if it gives you something different: Go inside the main folder, click on the folder path, type cmd press enter, this will bring the command prompt window and inside you’re gonna type: venv\Scripts\activate press enter pip install tqdm press enter then relaunch the webui again

Aitrepreneur

delete the finetune models folder and try again.

Aitrepreneur

Just delete the folders, also for that previous error here's how to solve this: open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

FIrst make sure you don't have any antivirus/firewall running that would make the download/install no work. Also you probably have a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

no need, it's all contained inside the virtual env

Aitrepreneur

better not do that no, it's much better to take the time to get the best audio possible from the character for both the RVC and Xtts finetuning. Also no, the xtts webui should actually sound as good or maybe even better than the finetune webui, at least that's what I noticed

Aitrepreneur

All I get when running start_xtts_webui.bat is cmd window with the following error: Traceback (most recent call last): File "C:\XTTS\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "C:\XTTS\xtts-webui\scripts\modeldownloader.py", line 8, in from tqdm import tqdm ModuleNotFoundError: No module named 'tqdm'

Cory LeGuin

I get this error when doing "Step 2 - Run the training". > TRAINING (2024-05-10 17:01:27) [!] Warning: The text length exceeds the character limit of 71 for language 'ja', this might cause truncated audio. Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1833, in fit self._fit() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1785, in _fit self.train_epoch() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1503, in train_epoch for cur_step, batch in enumerate(self.train_loader): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\dataloader.py", line 630, in __next__ data = self._next_data() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\dataloader.py", line 674, in _next_data data = self._dataset_fetcher.fetch(index) # may raise StopIteration File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\_utils\fetch.py", line 51, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\_utils\fetch.py", line 51, in data = [self.dataset[idx] for idx in possibly_batched_index] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 180, in __getitem__ return self[1] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 156, in __getitem__ return self[1] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 156, in __getitem__ return self[1] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 156, in __getitem__ return self[1] [Previous line repeated 978 more times] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 146, in __getitem__ index = random.randint(0, len(self.samples[lang]) - 1) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\random.py", line 370, in randint return self.randrange(a, b+1) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\random.py", line 352, in randrange return istart + self._randbelow(width) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\random.py", line 245, in _randbelow_with_getrandbits k = n.bit_length() # don't use (n-1) here because n can be 1 RecursionError: maximum recursion depth exceeded while calling a Python object During handling of the above exception, another exception occurred: Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "F:\XTTS\xtts-finetune-webui\utils\gpt_train.py", line 197, in train_gpt trainer.fit() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1860, in fit remove_experiment_folder(self.output_path) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\generic_utils.py", line 77, in remove_experiment_folder fs.rm(experiment_path, recursive=True) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\fsspec\implementations\local.py", line 172, in rm shutil.rmtree(p) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 749, in rmtree return _rmtree_unsafe(path, onerror) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 619, in _rmtree_unsafe onerror(os.unlink, fullname, sys.exc_info()) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 617, in _rmtree_unsafe os.unlink(fullname) PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'F:/XTTS/xtts-finetune-webui/finetune_models/run/training/GPT_XTTS_FT-May-10-2024_05+01PM-6cb8066\\trainer_0_log.txt' Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1833, in fit self._fit() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1785, in _fit self.train_epoch() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1503, in train_epoch for cur_step, batch in enumerate(self.train_loader): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\dataloader.py", line 630, in __next__ data = self._next_data() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\dataloader.py", line 674, in _next_data data = self._dataset_fetcher.fetch(index) # may raise StopIteration File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\_utils\fetch.py", line 51, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\_utils\fetch.py", line 51, in data = [self.dataset[idx] for idx in possibly_batched_index] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 180, in __getitem__ return self[1] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 156, in __getitem__ return self[1] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 156, in __getitem__ return self[1] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 156, in __getitem__ return self[1] [Previous line repeated 978 more times] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 146, in __getitem__ index = random.randint(0, len(self.samples[lang]) - 1) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\random.py", line 370, in randint return self.randrange(a, b+1) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\random.py", line 352, in randrange return istart + self._randbelow(width) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\random.py", line 245, in _randbelow_with_getrandbits k = n.bit_length() # don't use (n-1) here because n can be 1 RecursionError: maximum recursion depth exceeded while calling a Python object During handling of the above exception, another exception occurred: Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "F:\XTTS\xtts-finetune-webui\utils\gpt_train.py", line 197, in train_gpt trainer.fit() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1860, in fit remove_experiment_folder(self.output_path) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\generic_utils.py", line 77, in remove_experiment_folder fs.rm(experiment_path, recursive=True) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\fsspec\implementations\local.py", line 172, in rm shutil.rmtree(p) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 749, in rmtree return _rmtree_unsafe(path, onerror) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 619, in _rmtree_unsafe onerror(os.unlink, fullname, sys.exc_info()) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 617, in _rmtree_unsafe os.unlink(fullname) PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'F:/XTTS/xtts-finetune-webui/finetune_models/run/training/GPT_XTTS_FT-May-10-2024_05+01PM-6cb8066\\trainer_0_log.txt' ", "", "", "", ""] Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1542, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1369, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1343, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1833, in fit self._fit() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1785, in _fit self.train_epoch() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1503, in train_epoch for cur_step, batch in enumerate(self.train_loader): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\dataloader.py", line 630, in __next__ data = self._next_data() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\dataloader.py", line 674, in _next_data data = self._dataset_fetcher.fetch(index) # may raise StopIteration File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\_utils\fetch.py", line 51, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\torch\utils\data\_utils\fetch.py", line 51, in data = [self.dataset[idx] for idx in possibly_batched_index] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 180, in __getitem__ return self[1] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 156, in __getitem__ return self[1] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 156, in __getitem__ return self[1] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 156, in __getitem__ return self[1] [Previous line repeated 978 more times] File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\TTS\tts\layers\xtts\trainer\dataset.py", line 146, in __getitem__ index = random.randint(0, len(self.samples[lang]) - 1) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\random.py", line 370, in randint return self.randrange(a, b+1) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\random.py", line 352, in randrange return istart + self._randbelow(width) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\random.py", line 245, in _randbelow_with_getrandbits k = n.bit_length() # don't use (n-1) here because n can be 1 RecursionError: maximum recursion depth exceeded while calling a Python object During handling of the above exception, another exception occurred: Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\xtts_demo.py", line 358, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "F:\XTTS\xtts-finetune-webui\utils\gpt_train.py", line 197, in train_gpt trainer.fit() File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\trainer.py", line 1860, in fit remove_experiment_folder(self.output_path) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\trainer\generic_utils.py", line 77, in remove_experiment_folder fs.rm(experiment_path, recursive=True) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\fsspec\implementations\local.py", line 172, in rm shutil.rmtree(p) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 749, in rmtree return _rmtree_unsafe(path, onerror) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 619, in _rmtree_unsafe onerror(os.unlink, fullname, sys.exc_info()) File "C:\Users\Juan Pablo Godoy\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 617, in _rmtree_unsafe os.unlink(fullname) PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'F:/XTTS/xtts-finetune-webui/finetune_models/run/training/GPT_XTTS_FT-May-10-2024_05+01PM-6cb8066\\trainer_0_log.txt' ", "", "", "", ""] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "F:\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

Juanpi Amv's

I wonder how to remove the install files so i can try again? is there an uninstall option you know of?

ChopChop

getting the same error as well now

TAGILUX

Hi im havning a problem when i launch the .bat for finetune-webui. Actually all of them. But Finetune just insta-crashes when i try to launch it. does it matter what drive i install in? also, if i need to remove this or re-insatll, how do i do that? this are the errors I get at the end of the install for this. Using cached safetensors-0.4.3-cp310-none-win_amd64.whl (287 kB) Collecting transformers>=4.33.0 Using cached transformers-4.40.1-py3-none-any.whl (9.0 MB) Using cached transformers-4.40.0-py3-none-any.whl (9.0 MB) Using cached transformers-4.39.3-py3-none-any.whl (8.8 MB) Collecting regex!=2019.12.17 Using cached regex-2024.5.10-cp310-cp310-win_amd64.whl (268 kB) WARNING: typer 0.12.3 does not provide the extra 'all' Collecting typer[all]<1.0,>=0.9 Using cached typer-0.12.2-py3-none-any.whl (47 kB) WARNING: typer 0.12.2 does not provide the extra 'all' Using cached typer-0.12.1-py3-none-any.whl (46 kB) WARNING: typer 0.12.1 does not provide the extra 'all' Using cached typer-0.12.0-py3-none-any.whl (5.6 kB) WARNING: typer 0.12.0 does not provide the extra 'all' Using cached typer-0.11.1-py3-none-any.whl (43 kB) Using cached typer-0.11.0-py3-none-any.whl (43 kB) Using cached typer-0.10.0-py3-none-any.whl (46 kB) Collecting rich<14.0.0,>=10.11.0 Using cached rich-13.7.1-py3-none-any.whl (240 kB) Collecting shellingham<2.0.0,>=1.3.0 Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB) Collecting pynndescent>=0.5 Using cached pynndescent-0.5.12-py3-none-any.whl (56 kB) Collecting h11>=0.8 Using cached h11-0.14.0-py3-none-any.whl (58 kB) Collecting starlette<0.38.0,>=0.37.2 Using cached starlette-0.37.2-py3-none-any.whl (71 kB) Collecting fastapi-cli>=0.0.2 Using cached fastapi_cli-0.0.3-py3-none-any.whl (9.2 kB) Collecting email_validator>=2.0.0 Using cached email_validator-2.1.1-py3-none-any.whl (30 kB) Collecting ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,>=4.0.1 Using cached ujson-5.9.0-cp310-cp310-win_amd64.whl (41 kB) Collecting anyio Using cached anyio-4.3.0-py3-none-any.whl (85 kB) Collecting certifi Using cached certifi-2024.2.2-py3-none-any.whl (163 kB) Collecting httpcore==1.* Using cached httpcore-1.0.5-py3-none-any.whl (77 kB) Collecting sniffio Using cached sniffio-1.3.1-py3-none-any.whl (10 kB) Collecting idna Using cached idna-3.7-py3-none-any.whl (66 kB) Collecting pycparser Using cached pycparser-2.22-py3-none-any.whl (117 kB) Collecting tzlocal Using cached tzlocal-5.2-py3-none-any.whl (17 kB) Collecting dnspython>=2.0.0 Using cached dnspython-2.6.1-py3-none-any.whl (307 kB) Collecting fastapi-cli>=0.0.2 Using cached fastapi_cli-0.0.2-py3-none-any.whl (9.1 kB) INFO: pip is looking at multiple versions of email-validator to determine which version is compatible with other requirements. This could take a while. Collecting email_validator>=2.0.0 Using cached email_validator-2.1.0.post1-py3-none-any.whl (32 kB) INFO: pip is looking at multiple versions of docopt to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of decorator to determine which version is compatible with other requirements. This could take a while. Collecting decorator>=4.3.0 Using cached decorator-5.1.0-py3-none-any.whl (9.1 kB) INFO: pip is looking at multiple versions of dateparser to determine which version is compatible with other requirements. This could take a while. Collecting dateparser~=1.1.0 Using cached dateparser-1.1.7-py2.py3-none-any.whl (293 kB) INFO: pip is looking at multiple versions of cymem to determine which version is compatible with other requirements. This could take a while. Collecting cymem<2.1.0,>=2.0.2 Using cached cymem-2.0.7-cp310-cp310-win_amd64.whl (29 kB) INFO: pip is looking at multiple versions of cycler to determine which version is compatible with other requirements. This could take a while. Collecting cycler>=0.10 Using cached cycler-0.12.0-py3-none-any.whl (8.2 kB) INFO: pip is looking at multiple versions of contourpy to determine which version is compatible with other requirements. This could take a while. Collecting contourpy>=1.0.1 Using cached contourpy-1.2.0-cp310-cp310-win_amd64.whl (186 kB) INFO: pip is looking at multiple versions of colorama to determine which version is compatible with other requirements. This could take a while. Collecting colorama Using cached colorama-0.4.5-py2.py3-none-any.whl (16 kB) INFO: pip is looking at multiple versions of click to determine which version is compatible with other requirements. This could take a while. Collecting click>=8.1.3 Using cached click-8.1.6-py3-none-any.whl (97 kB) INFO: pip is looking at multiple versions of cffi to determine which version is compatible with other requirements. This could take a while. Collecting cffi>=1.0 Using cached cffi-1.15.1-cp310-cp310-win_amd64.whl (179 kB) INFO: pip is looking at multiple versions of catalogue to determine which version is compatible with other requirements. This could take a while. Collecting catalogue<2.1.0,>=2.0.6 Using cached catalogue-2.0.9-py3-none-any.whl (17 kB) INFO: pip is looking at multiple versions of blinker to determine which version is compatible with other requirements. This could take a while. Collecting blinker>=1.6.2 Using cached blinker-1.8.1-py3-none-any.whl (9.5 kB) INFO: pip is looking at multiple versions of babel to determine which version is compatible with other requirements. This could take a while. Collecting Babel<3.0.0,>=2.8.0 Using cached Babel-2.14.0-py3-none-any.whl (11.0 MB) INFO: pip is looking at multiple versions of audioread to determine which version is compatible with other requirements. This could take a while. Collecting audioread>=2.1.9 Using cached audioread-3.0.0.tar.gz (377 kB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of attrs to determine which version is compatible with other requirements. This could take a while. Collecting attrs>=17.3.0 Using cached attrs-23.1.0-py3-none-any.whl (61 kB) INFO: pip is looking at multiple versions of async-timeout to determine which version is compatible with other requirements. This could take a while. Collecting async-timeout<5.0,>=4.0 Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB) INFO: pip is looking at multiple versions of annotated-types to determine which version is compatible with other requirements. This could take a while. Collecting annotated-types>=0.4.0 Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB) INFO: pip is looking at multiple versions of aiosignal to determine which version is compatible with other requirements. This could take a while. Collecting aiosignal>=1.1.2 Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB) INFO: pip is looking at multiple versions of unidic-lite to determine which version is compatible with other requirements. This could take a while. Collecting unidic-lite Using cached unidic-lite-1.0.7.tar.gz (47.3 MB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of torchaudio to determine which version is compatible with other requirements. This could take a while. Collecting torchaudio Using cached torchaudio-2.3.0-cp310-cp310-win_amd64.whl (2.4 MB) INFO: pip is looking at multiple versions of pypinyin to determine which version is compatible with other requirements. This could take a while. Collecting pypinyin Using cached pypinyin-0.50.0-py2.py3-none-any.whl (1.4 MB) INFO: pip is looking at multiple versions of pydub to determine which version is compatible with other requirements. This could take a while. Collecting pydub Using cached pydub-0.25.0-py2.py3-none-any.whl (32 kB) INFO: pip is looking at multiple versions of nltk to determine which version is compatible with other requirements. This could take a while. Collecting nltk Using cached nltk-3.8-py3-none-any.whl (1.5 MB) INFO: pip is looking at multiple versions of mojimoji to determine which version is compatible with other requirements. This could take a while. Collecting mojimoji Using cached mojimoji-0.0.12.tar.gz (43 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done INFO: pip is looking at multiple versions of jieba to determine which version is compatible with other requirements. This could take a while. Collecting jieba Using cached jieba-0.42.tar.gz (19.2 MB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of jamo to determine which version is compatible with other requirements. This could take a while. Collecting jamo Using cached jamo-0.4.0.tar.gz (7.3 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\Koga McGrubber Chan\AppData\Local\Temp\pip-install-d0ovoq9m\jamo_4097e2f496f24776907cfcce8a6f32ec\setup.py", line 11, in long_description = f.read() File "C:\Program Files\Python310\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. [notice] A new release of pip available: 22.2.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip Install complete. Press any key to continue . . .

ChopChop

Hey Aitrepreneur I get this error when running the installer ULTIMATE-TTS_AUTO_INSTALLER.bat PS C:\development\ultimate-tts> .\ULTIMATE-TTS_AUTO_INSTALLER.bat What do you want to install? 1) XTTS-WEBUI 2) XTTS-FINETUNE-WEBUI for training 3) XTTS-RVC-UI 4) All of the above Enter your choice (1-4): 4 [INFO] Winget is already installed. Installing Python 3.10.6... Failed to download Python installer. The Python installer is downloaded... it doesn't install... and If I install manually, it does nothing to resolve the issues. Any ideas? Thanks

TAGILUX

I'm having the same issue and I don't know what it could be attributed to. A simple trick however is to use XTTS Finetune as the actual TTS, as well as the trainer. Audio can be downloaded and imported into RVC-UI pretty quickly.

Cheese Plant

So quick question, I might have done the steps mixed up but what I want to know is after everything is running how can I check for and clean up duplicate torch downloads etc?

Dominic Vertue

Hey this is great thank you, I am getting around to understanding tts and voice cloning a bit more. Can you answer a few questions please?: So if I understand correctly, I can basically use the xtts finetuned model to create a large amount of audio for 20 mins for example, and train a voice model with that 20 min of audio in RVC? Also after finetuning the model and using the inference button to generate text within xtts-finetune, I get pretty great audio quality and resemblance to the original voice. However, if I then import that finetuned models into xtts web ui, the generation sounds really bad, low quality and a lot of artifacts. Shall I just use the inference from xtts-finetune webui to make my audio? I thought the result should be similar if using either of the webui's, because I use the same reference audio and supposedly the same finetuned model, maybe I am missing something. Thank you

Kian Dehghan

open a command prompt window and type: python -m pip install --upgrade pip Then 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer. then redo the installation

Aitrepreneur

Thanks, I got that sorted out :) Bbut now a new problem :( Tried installign twice, both times all is fine until I launch start_xtts_webui, then I get : - Traceback (most recent call last): File "C:\Windows\System32\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "C:\Windows\System32\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

Frank B

@Gfagamal Ibrahim: Try my fix. Manually add your Python install to PATH and then re-run. My next run stalled at Git install. I manually installed Git and re-ran. After that, all was good. Thanks to Aitrepreneur - Still a lot easier than the full install approach.

chrubble

yup bad python install is like 80-90% of people's problems, I think I will make a video about that, might help a lot of people

Aitrepreneur

you need to close the current install window once it's finished, otherwise the next install won't proceed though, I made it so that it doesn't install all 3 of them at the same time since most people's pc specs wouldn't be enough to do 3 installs at the same time

Aitrepreneur

it can't be used in real time just like that, that's not the tool for that

Aitrepreneur

The same thing happened to me The one-click ULTIMATE-TTS_AUTO_INSTALLER didn't work for me. It successfully ran through the install for python-3.10.6-amd64, but then nothing.

Gfagamal Ibrahim

i came back and saw this while i was installing cuda 12 and it seems like that is indeed the fix. Thanks

Jon AKA Tins

You need to upgrade to Cuda 12 from the Nvidia website.

Cheese Plant

this is my issue now too

Jon AKA Tins

This was fixed by manually adding the Python 3.10.6 install to PATH and also manually installing Git. Then one-click ran.

chrubble

same problem

Juanpi Amv's

this got me past the no module error. thx

Tom Sepe

Got it installed just fine, though when I attempt to use xtts-finetune-webui, aka Medium TTS method. WebUI launches, but when I attempt to 'Create Dataset' using any voice file I get the following error. Doesn't matter if it's .mp3 or .wav or any length: Traceback (most recent call last): File "J:\TTS\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "J:\TTS\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "J:\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "J:\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "J:\TTS\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

KakerMix

The one-click ULTIMATE-TTS_AUTO_INSTALLER didn't work for me. It successfully ran through the install for python-3.10.6-amd64, but then nothing. I re-run it and it goes through the 'Writing web request stream' ([INFO] Winget already installed. Installing Python 3.10.6...) and then quits. I have tried it for all four install options with the sane result.

chrubble

This worked for me.

KakerMix

had the same problem as you man. Followed the steps and it's alive!

Dark Dude Maurycy

My installation directions were a bit different. Step 1, install FFMPEG, step 2, run ULTIMATE-TTS (I chose 4 to install all of them), step 3, run "install.bat" from the directory where everything installed during step 2, step 4, profit. I didn't have to close any windows after step 2, I just had to wait for it to finish, and when I closed the window after, nothing else installed. That said, trying to run the application after step 2 brought up an error. Running it after step 3 was successful.

caidicus

I had the same problem and this solved it! Thank you. I'm sitting here wondering how the hell you knew that's what the problem was (and how to fix it)! I was following the steps and was like.. ohh ok, I need to add a variable... that makes sense. .. then read Open Control Panel and go to Clock and Region and was like okkkkkk, wtf does the clock have to do with anything? I'm just impressed and wanted to tell you... thanks again lol

Eric Webb

Great Video, I'm trying to setup outbound sales, so how would I connect the best model in a way to have real time text converted to speech, instead of all those step?

George Strnad

this is some weird error you got, and it's still happens when you reinstall in a brand new folder?? it's shouldn't give you the same error not being able to access the run folder...

Aitrepreneur

Ope, I am dumb, I reinstalled it and it worked! Thank you!!

Matthew Salinas

Thank you for responding! I appreciate you taking the time to help me out :) I did the above instructed, I still get this: \xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

Matthew Salinas

rtx 3060 To create a public link, set `share=True` in `launch()`. IMPORTANT: You are using gradio version 4.9.1, however version 4.29.0 is available, please upgrade. -------- Existing language matches target language Loading Whisper Model! Existing training metadata found and loaded. Existing evaluation metadata found and loaded. Segments from Anka_00 have been previously processed; skipping... Dataset Processed! en en Traceback (most recent call last): File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'J:\\KITS\\AIKits\\Aitrep\\TTSWEBUI\\xtts-finetune-webui\\finetune_models\\run' Traceback (most recent call last): File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 459, in call_prediction output = await route_utils.call_process_api( File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1533, in process_api result = await self.call_function( File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\utils.py", line 678, in wrapper response = f(*args, **kwargs) File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\xtts_demo.py", line 339, in train_model os.remove(run_dir) PermissionError: [WinError 5] Access is denied: 'J:\\KITS\\AIKits\\Aitrep\\TTSWEBUI\\xtts-finetune-webui\\finetune_models\\run' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

Sorin Pricop

the previous error is not supposed to happen anyway. DM me the FULL ERROR log, this is only part of it. What's your GPU also?

Aitrepreneur

1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer.

Aitrepreneur

1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer.

Aitrepreneur

Ok someone gave me THE FULL ERROR log, that wasn't the full error, so here's what to do: 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer.

Aitrepreneur

but another error come : The above exception was the direct cause of the following exception: Traceback (most recent call last): File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 497, in process_events response = await self.call_prediction(awake_events, batch) File "J:\KITS\AIKits\Aitrep\TTSWEBUI\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 468, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None

Sorin Pricop

Sort it out. Just download from another ai the cublaslt64_12.dll and put it in cuda bin directory and works. :)

Sorin Pricop

Still no go.

John Smith

Hello! I hope all is well! I am currently getting the xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . . error. i have been reading through this and have uninstalled Python then reinstalled and then installed in a new folder, and have also updated pip (pip version 24 now), is there anything else I can do for this error? Thank you!

Matthew Salinas

I'm still having that "no module for requests" issue after the fresh install.

John Smith

That's great altough i really do NOT recommend installing python from the ms store, it can cause issues in the future, you could have have just input the folder path inside the env variables, you can DM me if you want to do it

Aitrepreneur

Ty. Python was not find by the terminal after installation even with PATH checked, but I installed python 3.10 from MS Store and everything seems fine. Strange, but thanks for your help !

PinkFloyd1213

you just need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. And also try upgrading pip open a command prompt window and type: python -m pip install --upgrade pip

Aitrepreneur

try upgrading pip open a command prompt window and type: python -m pip install --upgrade pip

Aitrepreneur

try upgrading pip open a command prompt window and type: python -m pip install --upgrade pip

Aitrepreneur

When launching the install script I have this error. For info, same if i start the install script from the repo. Collecting gradio==4.13.0 (from -r .\requirements.txt (line 1)) Using cached gradio-4.13.0-py3-none-any.whl.metadata (15 kB) ERROR: Could not find a version that satisfies the requirement torch==2.1.1 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0) ERROR: No matching distribution found for torch==2.1.1 Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118) ERROR: No matching distribution found for torch==2.1.1+cu118 Install deepspeed for windows for python 3.10.x and CUDA 11.8 Traceback (most recent call last): File "S:\IA\Voice\TTS\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Install complete. Any idee ?

PinkFloyd1213

I too am having the "no module named requests" issue.

John Smith

Man, thanks for your work :) I got a whole bunch of errors installing the webuis, like this one: Traceback (most recent call last): File "S:\Voice\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "S:\Voice\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

Alessandro Piredda

No it's ok, you just need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.

Aitrepreneur

ok you can try this version: https://we.tl/t-YeEIuYqLl5

Aitrepreneur

try upgrading pip python -m pip install --upgrade pip Also: 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer.

Aitrepreneur

I've done what you said and still the same error. Most of the AI tools from you working fine, only this doesn't work. I have cuda_11.8.0_522.06_windows and python-3.10.0-amd64. Should I install something upper then 3.10.6 and if is not gonna be conflict between version ? Thank you

Sorin Pricop

No dice for me, as soon as I run FFMPEG install (as admin) I get: Downloading ffmpeg... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. Failed to download ffmpeg. Please check your internet connection and URL. Press any key to continue . . .

Frank B

the error shows up in the modeldownloader.py

Tom Sepe

yeah I'm getting that same error?

Tom Sepe

Hey, i have the same problem. Traceback (most recent call last): File "F:\TTS\xtts-webui\app.py", line 1, in from scripts.modeldownloader import install_deepspeed_based_on_python_version File "F:\TTS\xtts-webui\scripts\modeldownloader.py", line 4, in import requests ModuleNotFoundError: No module named 'requests' Press any key to continue . . .

Kristoffer Sjöberg

first make sure that you never install AI tools inside a folder path with spaces, this usually screws at of the installs, so like: J:\KITS\AI Kits\Aitrepreneur\TTS WEBUI ---> AI Kits (space) and TTS WEBUI (another space) never use spaces for the folders. Then make sure that your python version installed is the correct one (between 3.10.6 and 3.10.11 is good) and that it's added to path. And that you don't have any antivirus/firewall running that could block the installation. Then retry again in a new folder.

Aitrepreneur

My gpu is rtx 3060

Sorin Pricop

what is this trying to install? What is your GPU?

Aitrepreneur

need the full error log

Aitrepreneur

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

You probably have an incorrect python version installed. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

I got the same issue a few weeks ago, here’s how I solved it: 1) Open System Properties: Right-click on the Start button and select System. Click on Advanced system settings on the left side. In the System Properties window, click on the Environment Variables button near the bottom. Add New System Variable: In the Environment Variables window, under the "System variables" section, click on New. For the Variable name, enter PYTHONUTF8. For the Variable value, enter 1. Click OK to close the dialog box and exit. 2) Open Control Panel and go to Clock and Region. Click on Region. In the Region window, go to the Administrative tab. Click on the Change system locale button. Ensure that the checkbox for Beta: Use Unicode UTF-8 for worldwide language support is checked. Click OK and then Restart the computer.

Aitrepreneur

This is probably a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

After I exited the installer and manually installed each TTS by entering venv, they started without any problems.

Mike Menders

Small tip for the people here if you want some voices just go to elevenlabs and download their 5-10 seconds preview of the voices you like. ;-)

Gordon Wegener

Hi.Install but come this error:The data processing was interrupted due an error !! Please check the console to verify the full error message! Error summary: Traceback (most recent call last): File "J:\KITS\AI Kits\Aitrepreneur\TTS WEBUI\xtts-finetune-webui\xtts_demo.py", line 246, in preprocess_dataset train_meta, eval_meta, audio_total_size = format_audio_list(audio_path, whisper_model = whisper_model, target_language=language, out_path=out_path, gradio_progress=progress) File "J:\KITS\AI Kits\Aitrepreneur\TTS WEBUI\xtts-finetune-webui\utils\formatter.py", line 131, in format_audio_list segments = list(segments) File "J:\KITS\AI Kits\Aitrepreneur\TTS WEBUI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 1111, in restore_speech_timestamps for segment in segments: File "J:\KITS\AI Kits\Aitrepreneur\TTS WEBUI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 508, in generate_segments encoder_output = self.encode(segment) File "J:\KITS\AI Kits\Aitrepreneur\TTS WEBUI\xtts-finetune-webui\venv\lib\site-packages\faster_whisper\transcribe.py", line 767, in encode return self.model.encode(features, to_cpu=to_cpu) RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

Sorin Pricop

Receiving this error as well during install. Can't really move forward with install.

Machenna56k

Hello, and thanks in advance. It's an excellent video, which is precisely what I have been looking for, but I have encountered some issues. I have a quick question: Should this be installed from the C drive, or can we put it on the D? Is there a benefit? Collecting gradio==4.13.@ (from —r .\requirements .txt Cline 1)) Using cached (15 kB) ERROR: Could not find a version that satisfies the requirement torch= ERROR: No matching distribution found for torch==2.1.1 Looking in indexes: https://downtoad . pytorch.org/wht/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.1+cu118 (from versions: 2.2.@+cu118, 2.2.1+cu1 18, 2.2.2+cu118, 2.3.@+cu118) ERROR: No matching distribution found for torch==2.1.1+cu118 Install deepspeed for windows for python 3.10. x and CUDA 11.8 Traceback (most recent call last) : File , import requests ModuteNotFoundError: No module named 'requests ' Install complete. Press any key to continue =2.1.1 (from versions: 2.2.@, 2.2.1, 2.2.2, 2.3.@) tine 4, in

Rich Garcia

it gives me the following error: ModuleNotFoundError: No module named 'requests'

FAFFO XYZ

I have this error when installed RVC-UI and finetune-webui: Downloading jamo-0.4.0.tar.gz (7.3 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\Mykee\AppData\Local\Temp\pip-install-ian7za6s\jamo_a3db497eca20476b9139094f9740ee62\setup.py", line 11, in long_description = f.read() File "C:\Users\Mykee\AppData\Local\Programs\Python\Python310\lib\encodings\cp1250.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 707: character maps to

Mike Menders

Having trouble getting the TTS RVC WebUI installed getting this error: ERROR: Cannot install -r requirements.txt (line 1), -r requirements.txt (line 12), -r requirements.txt (line 3), -r requirements.txt (line 4), -r requirements.txt (line 7), -r requirements.txt (line 9) and numpy==1.22.0 because these package versions have conflicting dependencies. The conflict is caused by: The user requested numpy==1.22.0 fairseq 0.12.2 depends on numpy; python_version >= "3.7" gradio 4.7.1 depends on numpy~=1.0 librosa 0.10.0 depends on numpy>=1.20.3 pyworld 0.3.4 depends on numpy scipy 1.11.4 depends on numpy<1.28.0 and >=1.21.6 tts 0.21.1 depends on numpy>=1.24.3; python_version > "3.10" To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Austin Hartt

I receive error: Could not find a version that satisfies the requirement torch==2.1.0 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118)

Devin Taylor

Having issues with torch requirements. I have even tried manual command: pip install torch==2.1.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu118

Devin Taylor


Related Creators