GPT-SoVITS icon indicating copy to clipboard operation
GPT-SoVITS copied to clipboard

一键三连报错

Open Watsonwater opened this issue 1 year ago • 7 comments

"D:\software\GPT-SoVITS-beta\GPT-SoVITS-beta0128\runtime\python.exe" GPT_SoVITS/prepare_datasets/1-get-text.py "D:\software\GPT-SoVITS-beta\GPT-SoVITS-beta0128\runtime\python.exe" GPT_SoVITS/prepare_datasets/1-get-text.py Traceback (most recent call last): Traceback (most recent call last): File "D:\software\GPT-SoVITS-beta\GPT-SoVITS-beta0128\GPT_SoVITS\prepare_datasets\1-get-text.py", line 10, in File "D:\software\GPT-SoVITS-beta\GPT-SoVITS-beta0128\GPT_SoVITS\prepare_datasets\1-get-text.py", line 10, in os.environ["CUDA_VISIBLE_DEVICES"] = os.environ.get("_CUDA_VISIBLE_DEVICES") os.environ["CUDA_VISIBLE_DEVICES"] = os.environ.get("_CUDA_VISIBLE_DEVICES") File "os.py", line 684, in setitem File "os.py", line 684, in setitem File "os.py", line 742, in check_str File "os.py", line 742, in check_str TypeError: str expected, not NoneType TypeError: str expected, not NoneType Traceback (most recent call last): File "D:\software\GPT-SoVITS-beta\GPT-SoVITS-beta0128\webui.py", line 533, in open1abc with open(txt_path, "r",encoding="utf8") as f: FileNotFoundError: [Errno 2] No such file or directory: 'logs/QiuQiu/2-name2text-0.txt' 错误: 没有找到进程 "22816"。 错误: 没有找到进程 "13856"。

非常感谢大佬orz

Watsonwater avatar Jan 29 '24 00:01 Watsonwater

我也是 image

yang208115 avatar Jan 29 '24 14:01 yang208115

我也是大家解决了吗? image

Polaristime2026 avatar Jan 30 '24 05:01 Polaristime2026

1我解决了,但2和3又报错了

yang208115 avatar Jan 30 '24 05:01 yang208115

1的解决办法: 去https://huggingface.co/spaces/XzJosh/Taffy-GPT-SoVITS/tree/main/pretrained_models/chinese-roberta-wwm-ext-large下载模型 放在 image

yang208115 avatar Jan 30 '24 05:01 yang208115

谢谢我去试一下

------------------ 原始邮件 ------------------ 发件人: "RVC-Boss/GPT-SoVITS" @.>; 发送时间: 2024年1月30日(星期二) 中午1:34 @.>; @.@.>; 主题: Re: [RVC-Boss/GPT-SoVITS] 一键三连报错 (Issue #270)

1的解决办法: 去https://huggingface.co/spaces/XzJosh/Taffy-GPT-SoVITS/tree/main/pretrained_models/chinese-roberta-wwm-ext-large下载模型 放在 image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Polaristime2026 avatar Jan 30 '24 05:01 Polaristime2026

这个我解决了,你看你截图报错的这一段:

os.environ["CUDA_VISIBLE_DEVICES"] = os.environ.get("_CUDA_VISIBLE_DEVICES")
os.environ["CUDA_VISIBLE_DEVICES"] = os.environ.get("_CUDA_VISIBLE_DEVICES")
File "os.py", line 684, in setitem
File "os.py", line 684, in setitem
File "os.py", line 742, in check_str
File "os.py", line 742, in check_str
TypeError: str expected, not NoneType
TypeError: str expected, not NoneType

这是一段获取显卡id的报错,表示你os.environ.get("_CUDA_VISIBLE_DEVICES")没有获取到显卡列表,可以找到**“D:\software\GPT-SoVITS-beta\GPT-SoVITS-beta0128\GPT_SoVITS\prepare_datasets\1-get-text.py**”这个文件,把这一行的os.environ["CUDA_VISIBLE_DEVICES"] = os.environ.get("_CUDA_VISIBLE_DEVICES")改成os.environ["CUDA_VISIBLE_DEVICES"] = ’0‘,代表你指定了代号为0的主显卡。后面应该还会遇到这样的错误,按照这个办法改一下试试吧。前提是你有显卡,并且cuda和torch都是对应版本且可用的。我的卡:quadro rtx 6000。仅供参考。

yoko-penta avatar Jan 31 '24 02:01 yoko-penta

不好意思,我刚刚看到邮件。好的谢谢大佬,我去试一下

------------------ 原始邮件 ------------------ 发件人: "RVC-Boss/GPT-SoVITS" @.>; 发送时间: 2024年1月31日(星期三) 上午10:26 @.>; @.@.>; 主题: Re: [RVC-Boss/GPT-SoVITS] 一键三连报错 (Issue #270)

这个我解决了,你看你截图报错的这一段: os.environ["CUDA_VISIBLE_DEVICES"] = os.environ.get("_CUDA_VISIBLE_DEVICES") os.environ["CUDA_VISIBLE_DEVICES"] = os.environ.get("_CUDA_VISIBLE_DEVICES") File "os.py", line 684, in setitem File "os.py", line 684, in setitem File "os.py", line 742, in check_str File "os.py", line 742, in check_str TypeError: str expected, not NoneType TypeError: str expected, not NoneType
这是一段获取显卡id的报错,表示你os.environ.get("_CUDA_VISIBLE_DEVICES")没有获取到显卡列表,可以找到**“D:\software\GPT-SoVITS-beta\GPT-SoVITS-beta0128\GPT_SoVITS\prepare_datasets\1-get-text.py**”这个文件,把这一行的os.environ["CUDA_VISIBLE_DEVICES"] = os.environ.get("_CUDA_VISIBLE_DEVICES")改成os.environ["CUDA_VISIBLE_DEVICES"] = ’0‘,代表你指定了代号为0的主显卡。后面应该还会遇到这样的错误,按照这个办法改一下试试吧。前提是你有显卡,并且cuda和torch都是对应版本且可用的。我的卡:quadro rtx 6000。仅供参考。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Polaristime2026 avatar Feb 01 '24 11:02 Polaristime2026

Traceback (most recent call last): File "E:\yuyin\GPT-SoVITS-beta0217fix2\tools\subfix_webui.py", line 310, in set_global(args.load_json, args.load_list, args.json_key_text, args.json_key_path, args.g_batch) File "E:\yuyin\GPT-SoVITS-beta0217fix2\tools\subfix_webui.py", line 295, in set_global b_load_file() File "E:\yuyin\GPT-SoVITS-beta0217fix2\tools\subfix_webui.py", line 274, in b_load_file b_load_list() File "E:\yuyin\GPT-SoVITS-beta0217fix2\tools\subfix_webui.py", line 244, in b_load_list with open(g_load_file, 'r', encoding="utf-8") as source: PermissionError: [Errno 13] Permission denied: 'E:\yuyin\GPT-SoVITS-beta0217fix2\output\asr_opt' 大佬这个是啥情况

linwankeji avatar Jun 18 '24 16:06 linwankeji

以管理员身份运行go-webui.bat试试

yang208115 avatar Jun 23 '24 08:06 yang208115

好的謝謝大佬

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年6月23日(星期天) 下午4:23 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [RVC-Boss/GPT-SoVITS] 一键三连报错 (Issue #270)

以管理员身份运行go-webui.bat试试

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Polaristime2026 avatar Jun 23 '24 09:06 Polaristime2026