【无标题】

问题描述

出现包括且不限于

fatal: unable to access 'https://github.com/Stability-AI/stablediffusion.git/': OpenSSL SSL_read: Connection was reset, errno 10054

解决思路

肯定是bat文件指向的某个文件中使用git下载该仓库,所以到文件中修改这里,从gitee等路径手动下载然后替换即可

修改位置

使用python搜索了下所有bat和py文件的关键字可知:
Stability-AI/stablediffusion有一处:

find line
stable_diffusion_repo = os.environ.get(‘STABLE_DIFFUSION_REPO’, “https://github.com/Stability-AI/stablediffusion.git”)
in file D:\Tools\gitBash\stable-diffusion-webui-master\modules\launch_utils.py
=================================================================

具体修改

关闭下载

这五句话注释掉

    # git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
    # git_clone(taming_transformers_repo, repo_dir('taming-transformers'), "Taming Transformers", taming_transformers_commit_hash)
    # git_clone(k_diffusion_repo, repo_dir('k-diffusion'), "K-diffusion", k_diffusion_commit_hash)
    # git_clone(codeformer_repo, repo_dir('CodeFormer'), "CodeFormer", codeformer_commit_hash)
    # git_clone(blip_repo, repo_dir('BLIP'), "BLIP", blip_commit_hash)

找个地方下载

我找的是gitee,把上面的路径复制进去就有,下载到本地
在这里插入图片描述

替换到本地

从launch_utils.py文件看,是本地repositories目录下
在这里插入图片描述

然后重新跑就ok了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值