Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portable version fail #115

Open
kalle07 opened this issue Dec 14, 2024 · 1 comment
Open

portable version fail #115

kalle07 opened this issue Dec 14, 2024 · 1 comment

Comments

@kalle07
Copy link

kalle07 commented Dec 14, 2024

windows10, rtx4060

iv downloaded unpackt
type run

d:\XTTS_webui_daswer123>run
Start running xtts-webui, this may take a while....
d:\XTTS_webui_daswer123\webui\venv\lib\site-packages\transformers\utils\hub.py:123: FutureWarning: Using TRANSFORMERS_CACHE is deprecated and will be removed in v5 of Transformers. Use HF_HOME instead.
warnings.warn(
2024-12-14 11:22:43.235 | SUCCESS | silero_tts.silero_tts:load_models_config:52 - Models config loaded from: d:\XTTS_webui_daswer123\webui\venv\lib\site-packages\silero_tts\latest_silero_models.yml
2024-12-14 11:22:43.235 | INFO | silero_tts.silero_tts:init_model:152 - Initializing model
Using cache found in C:\Users\kallemst/.cache\torch\hub\snakers4_silero-models_master
Traceback (most recent call last):
File "d:\XTTS_webui_daswer123\webui\app.py", line 67, in
from xtts_webui import demo
File "d:\XTTS_webui_daswer123\webui\xtts_webui.py", line 60, in
SILERO = SileroTTS(language="ru", model_id="v4_ru")
File "d:\XTTS_webui_daswer123\webui\venv\lib\site-packages\silero_tts\silero_tts.py", line 29, in init
self.tts_model, _= self.init_model()
File "d:\XTTS_webui_daswer123\webui\venv\lib\site-packages\silero_tts\silero_tts.py", line 167, in init_model
tts_model, _= torch.hub.load(repo_or_dir='snakers4/silero-models',
File "d:\XTTS_webui_daswer123\webui\venv\lib\site-packages\torch\hub.py", line 566, in load
model = _load_local(repo_or_dir, model, *args, **kwargs)
File "d:\XTTS_webui_daswer123\webui\venv\lib\site-packages\torch\hub.py", line 595, in _load_local
model = entry(*args, **kwargs)
File "C:\Users\kallemst/.cache\torch\hub\snakers4_silero-models_master\src\silero\silero.py", line 73, in silero_tts
assert speaker in available_speakers, f'Speaker not in the supported list {available_speakers}'
AssertionError: Speaker not in the supported list ['v3_1_ru', 'ru_v3', 'aidar_v2', 'aidar_8khz', 'aidar_16khz', 'baya_v2', 'baya_8khz', 'baya_16khz', 'irina_v2', 'irina_8khz', 'irina_16khz', 'kseniya_v2', 'kseniya_8khz', 'kseniya_16khz', 'natasha_v2', 'natasha_8khz', 'natasha_16khz', 'ruslan_v2', 'ruslan_8khz', 'ruslan_16khz', 'v3_en', 'v3_en_indic', 'lj_v2', 'lj_8khz', 'lj_16khz', 'v3_de', 'thorsten_v2', 'thorsten_8khz', 'thorsten_16khz', 'v3_es', 'tux_v2', 'tux_8khz', 'tux_16khz', 'v3_fr', 'gilles_v2', 'gilles_8khz', 'gilles_16khz', 'aigul_v2', 'v3_xal', 'erdni_v2', 'v3_tt', 'dilyara_v2', 'v3_uz', 'dilnavoz_v2', 'v3_ua', 'mykyta_v2', 'v3_indic', 'multi_v2']
. . .

@nscottlittlefield
Copy link

nscottlittlefield commented Dec 16, 2024

C:\Users\kallemst/.cache\torch\hub\snakers4_silero-models_master\src\silero\silero.py", line 73, in silero_tts
assert speaker in available_speakers, f'Speaker not in the supported list {available_speakers}'

The issue is its using your cached torch files, which may have incompatible data. Delete the cached torch folder and let the portable rebuild it. Worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants