stable-diffusion-webui 安装

stable-diffusion-webui 安装

    正在检查是否收录...

一、安装

https://blog.csdn.net/weixin_72056722/article/details/126651703

卸载cpu版本的torch并离线安装对应的gpu版本

1、安装gpu ,速度从一小时加速到3分钟
torch 下载 https://download.pytorch.org/whl/torch_stable.html

E:\AI\stable-diffusion-webui\venv\Scripts>pip3.10.exe install https://download.pytorch.org/whl/cu118/torch-2.0.0%2Bcu118-cp310-cp310-win_amd64.whl 

二、问题

1、 No matching distribution found for clip
国内没有,网路

2、WARNING: Ignoring invalid distribution -ip

找到提示目录下前缀为“~”的文件夹,删除掉。

3、No matching distribution found for open_clip

4、RuntimeError: Couldn't clone Taming Transformers.

RuntimeError: Couldn't clone Taming Transformers. Command: "git" clone "https://github.com/CompVis/taming-transformers.git" "E:\AI\stable-diffusion-webui-master\repositories\taming-transformers" Error code: 128 stderr: Cloning into 'E:\AI\stable-diffusion-webui-master\repositories\taming-transformers'... fatal: unable to access 'https://github.com/CompVis/taming-transformers.git/': Recv failure: Connection was reset 

国内没有,网路

5、python setup.py egg_info did not run successfully.
升级pip包:
pip install --upgrade pip
pip install --upgrade setuptools
pip install ez_setup
https://zhuanlan.zhihu.com/p/581112365

6、RuntimeError: Couldn’t clone Taming Transformers.

Command: "git" clone "https://github.com/CompVis/taming-transformers.git" "E:\AI\stable-diffusion-webui\repositories\taming-transformers" Error code: 128 stderr: Cloning into 'E:\AI\stable-diffusion-webui\repositories\taming-transformers'... fatal: unable to access 'https://github.com/CompVis/taming-transformers.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 

解决:git config --global http.sslBackend "openssl"
·

7、ERROR: Could not find a version that satisfies the requirement tb-nightly (from gfpgan) (from versions: none)

pip3.10.exe install torch==2.0.0 torch-directml 

8、Not a git repository (or any of the parent directories): .git

E:\AI\stable-diffusion-webui>git init Initialized empty Git repository in E:/AI/stable-diffusion-webui/.git/ E:\AI\stable-diffusion-webui>git remote add origin https://github.com/AUTOMATIC1111/stable-diffusion-webui E:\AI\stable-diffusion-webui> 

9、ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'E:\\AI\\stable-diffusion-webui\\venv\\Lib\\site-packages\\~-rch\\lib\\asmjit.dll' Check the permissions.

以管理员权限运行cmd

10、Couldn’t find Lora with name koreanDollLikeness_v15

三、绘制技巧

https://ki6j1b0d92h.feishu.cn/wiki/wikcnA89UF8N78ZlgKudMq0hhyb
服饰技巧:https://zhuanlan.zhihu.com/p/625288689
controlnet: https://www.uisdc.com/controlnet

codegitwebuitransformerswebtransformerdiffusiongithubclonecontrolnetcligpuclippytorchpythonurlscriptcpuwine文件夹管理员satganhtmlcto
  • 本文作者:李琛
  • 本文链接: https://wapzz.net/post-2874.html
  • 版权声明:本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议。
本站部分内容来源于网络转载,仅供学习交流使用。如涉及版权问题,请及时联系我们,我们将第一时间处理。
文章很赞!支持一下吧 还没有人为TA充电
为TA充电
还没有人为TA充电
0
  • 支付宝打赏
    支付宝扫一扫
  • 微信打赏
    微信扫一扫
感谢支持
文章很赞!支持一下吧
关于作者
2.3W+
5
0
1
WAP站长官方

弥合化学反应预训练和条件分子生成之间的差距,北大&望石智慧提出「统一」模型

上一篇

人均6万美元:2024英伟达奖学金名单公布,五位华人入选

下一篇
  • 复制图片
按住ctrl可打开默认菜单