美文网首页
828.【AI绘画】Stable Diffusion 客户端搭建

828.【AI绘画】Stable Diffusion 客户端搭建

作者: 七镜 | 来源:发表于2023-10-20 07:06 被阅读0次

一、环境准备

  1. 自行准备git环境。
  2. 自行准备python3.10.6环境。

PS:以上环境比较基础,但如果不知道怎么配置,也可以问我。

二、下载git仓库

D:\v4_workspace_ai>git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git sd_20231008
Cloning into 'sd_20231008'...
remote: Enumerating objects: 27619, done.
remote: Total 27619 (delta 0), reused 0 (delta 0), pack-reused 27619
Receiving objects: 100% (27619/27619), 32.36 MiB | 207.00 KiB/s, done.
Resolving deltas: 100% (19332/19332), done.

三、启动

  1. 执行启动脚本webui-user.bat(切记:不要修改脚本内的任何内容)
D:\v4_workspace_ai\sd_20231008>webui-user.bat
venv "D:\v4_workspace_ai\sd_20231008\venv\Scripts\Python.exe"
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
Collecting torch==2.0.1
  Downloading https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-win_amd64.whl (2619.1 MB)
     ━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.4/2.6 GB 11.7 MB/s eta 0:03:09
  1. 启动完成


  • 可以看到第一次启动累计花了1443,大概24分钟(主要是下载的文件有点大)。

四、安装几个重要的插件

五、开始使用

  • 哈哈,很酷的男冷。

相关文章

网友评论

      本文标题:828.【AI绘画】Stable Diffusion 客户端搭建

      本文链接:https://www.haomeiwen.com/subject/gxbdbdtx.html