-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Description
我之前已经部署过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,但还是同样的报错,无法打开推理的界面。