Stable-diffusion Ubuntu搭建记录
2023-09-10 本文已影响0人
橘子大虾
Stable-diffusion Ubuntu搭建记录
⚠️ 注意需要先安装Anaconda3! 注意硬件配置!
toonyou_beta3 绘制效果图

1. 下载Stable Diffusion UI v2源码包
2. 按如下步骤安装
💡 Linux
- Download for Linux
- Extract:
- Extract the file with your favourite file manager, or use
unzip Easy-Diffusion-Linux.zip
in a terminal.- After extracting the .zip file, please open a terminal, and go to the
easy-diffusion
directory.- Run:
- In the terminal, run
./start.sh
(orbash start.sh
)
This will automatically install Easy Diffusion, set it up, and start the interface. No additional steps are needed.
3. 遇见sdkit module not found
错误
💡
sdkit
包未成功安装,在Stable-diffusion创建的conda环境中手动安装sdkit
包
cd xxxx/easy-diffusion/installer_files
conda activate ./env
pip install sdkit
4. 模型下载慢
💡 科学加速下载后放入对应文件夹
5. 设置端口并允许同网段内其他PC访问
- 打开Easy Diffusion网页(默认localhost:9000)
- 进入Settings,设置端口
- 设置允许同网段内其他PC访问
6. 下载训练的插画模型放入easy-diffusion/models/stable-diffusion
文件夹
7. 推荐模型与配置
MeinaUnreal

majicMIX realistic

MeinaMix

ToonYou
