LOADING

Mac上通过HomeBrew安装Stable Diffusion

SD初级教程2023年5月17日 23:12发布 4个月前更新过 益丰AI
1.3K 0 0

步骤:

  1. 安装Home Brew
Homebrew
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”
  1. 打开一个新的终端窗口并运行
brew install cmake protobuf rust python@3.10 git wget
  1. 通过运行克隆 Web UI 存储库
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
  1. 下载Stable Diffusion模型
Stable Diffusion模型下载地址: https://civitai.com/把下载好的文件CKPT文件放入文件夹:
stable-diffusion-webui/models/Stable-diffusion
  1. 终端继续执行:
cd stable-diffusion-webui ./webui.sh
  1. 重新启动
./webui.sh
  1. 需要注意的问题,修改“webui-user.sh”文件,以下参数一项一项修改,没有错误提示,不要改:

第13行 export COMMANDLINE_ARGS=”–medvram –opt-split-attention –skip-torch-cuda-test –no-half –use-cpu all”

汉化

GitHub地址: https://github.com/VinsonLaro/stable-diffusion-webui-chinese
安装说明
方法1:通过WebUI拓展进行安装
1.打开stable diffusion webui,进入”Extensions”选项卡
2.点击”Install from URL”,注意”URL for extension’s git repository”下方的输入框3.粘贴或输入本Git仓库地址
https://github.com/VinsonLaro/stable-diffusion-webui-chinese
4.点击下方的黄色按钮”Install”即可完成安装,然后重启WebUI(点击”Install from URL”左方的”Installed”,然后点击黄色按钮”Apply and restart UI”网页下方的”Reload UI”完成重启)
5.点击”Settings”,左侧点击”User interface”界面,在界面里最下方的”Localization (requires restart)“,选择”Chinese-All”或者”Chinese-English”
6.点击界面最上方的黄色按钮”Apply settings”,再点击右侧的”Reload UI”即可完成汉化
方法2:直接复制翻译好的本地化模板1.在任意目录下使用
git clone https://github.com/VinsonLaro/stable-diffusion-webui-chinese
2.进入下载好的文件夹,把”localizations”文件夹内的”Chinese-All.json”和”Chinese-English.json”复制到”stable-diffusion-webuilocalizations”目录下
3.点击”Settings”,左侧点击”User interface”界面,在界面里最下方的”Localization (requires restart)“,选择”Chinese-All”或者”Chinese-English”
4.点击界面最上方的黄色按钮”Apply settings”,再点击右侧的”Reload UI”即可完成汉化

Lora

Japanese
Korean
TW
ChilloutMix-NI Google硬碟備份 https://drive.google.com/file/d/1EWHypuNNDbcF2qFaFhgvYxh4CCqOIvNR/edit
Korean Doll Likeness Google硬碟備份 https://drive.google.com/file/d/1hjhXJoC9G-6LofTLW3c8AZpscArnu1v2/edit
Taiwan Doll Likeness Google硬碟備份 https://drive.google.com/file/d/1VUy-lgSQ73H7ul1O3UOA4YSoir-Otke8/edit
Japanese Doll Likeness Google硬碟備份 https://drive.google.com/file/d/1b9Nd2BlhgB6SuHmKeIh0R_tnKxwr-k4d/edit
Lucy (Cyberpunk Edgerunners) LoRA Google硬碟備份 https://drive.google.com/file/d/1u5nVTreyl5JlVm9iRzekHmKcZZh4N66x/edit
EVA-Ayanami Rei LoRA Google硬碟備份 https://drive.google.com/file/d/1E0k9D_FSuuAFGNL5Ij5NsVCizM9JEDpJ/edit
EVA-Asuka LoRA Google硬碟備份 https://drive.google.com/file/d/1mxRQg6ox7Hh3oAiQ9ELxnRDIgyHp_gdH/edit

安装 ADDITIONAL NETWORKS

选择 Extension – Available – 点击 Load From – 搜索 kohya(kohya-ss Additional Networks script, models)- install
最后点击 Apply and restart UI
© 版权声明

相关文章

暂无评论

暂无评论...