Skip to content

V4版本推理界面无法正常打开 #2317

New issue

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

By clicking “No 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? No Sign in to your account

Open
zjhcnyn opened this issue Apr 23, 2025 · 1 comment
Open

V4版本推理界面无法正常打开 #2317

zjhcnyn opened this issue Apr 23, 2025 · 1 comment

Comments

@zjhcnyn
Copy link

zjhcnyn commented Apr 23, 2025

我之前已经部署过v2版本,我是直接把v4整合包复制到了原来v2包的目录中。
训练界面 http://localhost:9874/ 能够正常打开,我直接使用了教材中提供的声音模型文件。点击开启TTS推理Webui后,提示:TTS推理WebUI已开启。
命令行里的信息如下:
"D:\GPT-SoVITS-v2-240821\runtime\python.exe" GPT_SoVITS/inference_webui_fast.py "zh_CN"
但没有新窗口打开,所以我手动输入了localhost:9872,命令行报错如下:
Traceback (most recent call last):
File "D:\GPT-SoVITS-v2-240821\GPT_SoVITS\inference_webui_fast.py", line 53, in
from TTS_infer_pack.text_segmentation_method import get_method
File "D:\GPT-SoVITS-v2-240821\GPT_SoVITS\TTS_infer_pack_init_.py", line 1, in
from . import TTS, text_segmentation_method
File "D:\GPT-SoVITS-v2-240821\GPT_SoVITS\TTS_infer_pack\TTS.py", line 26, in
from feature_extractor.cnhubert import CNHubert
File "D:\GPT-SoVITS-v2-240821\GPT_SoVITS\feature_extractor_init_.py", line 1, in
from . import cnhubert, whisper_enc
File "D:\GPT-SoVITS-v2-240821\GPT_SoVITS\feature_extractor\cnhubert.py", line 3, in
from transformers import logging as tf_logging
File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\transformers_init_.py", line 26, in
from . import dependency_versions_check
File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\transformers\dependency_versions_check.py", line 57, in
require_version_core(deps[pkg])
File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\transformers\utils\versions.py", line 117, in require_version_core
return require_version(requirement, hint)
File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\transformers\utils\versions.py", line 111, in require_version
_compare_versions(op, got_ver, want_ver, requirement, pkg, hint)
File "D:\GPT-SoVITS-v2-240821\runtime\lib\site-packages\transformers\utils\versions.py", line 44, in _compare_versions
raise ImportError(
ImportError: tokenizers>=0.19,<0.20 is required for a normal functioning of this module, but found tokenizers==0.15.0.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main

我尝试按照提示在命令行里执行 pip install transformers -U,但还是同样的报错,无法打开推理的界面。

@XXXXRT666
Copy link
Contributor

Download the latest version

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

No branches or pull requests

2 participants