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. 遇見(jiàn)sdkit module not found
錯(cuò)誤
??
sdkit
包未成功安裝搭盾,在Stable-diffusion創(chuàng)建的conda環(huán)境中手動(dòng)安裝sdkit
包
cd xxxx/easy-diffusion/installer_files
conda activate ./env
pip install sdkit
4. 模型下載慢
?? 科學(xué)加速下載后放入對(duì)應(yīng)文件夾
5. 設(shè)置端口并允許同網(wǎng)段內(nèi)其他PC訪問(wèn)
- 打開(kāi)Easy Diffusion網(wǎng)頁(yè)(默認(rèn)localhost:9000)
- 進(jìn)入Settings罪塔,設(shè)置端口
- 設(shè)置允許同網(wǎng)段內(nèi)其他PC訪問(wèn)