赞
踩
检查软件和硬件是否满足配置
在系统命令行移动至指定安装目录后调用【默认C盘,可指定到其他盘,如d:】
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
指令调用后将在指定目录下创建一个新的目录stable-diffusion-webui,在系统命令行移动至此目录并执行webui.bat文件
cd stable-diffusion-webuid:
webui.bat
等待程序加载虚拟安装环境并执行安装
安装完成后会自动在浏览器打开127.0.0.1:端口界面
汉化双语,点击UI界面内Extensions如图输入URL地址后点击install,之后点击installed界面加载后重启UI界面。
>curl: (7) Failed connect to raw.githubusercontent.com:443;
>curl: (35) OpenSSL SSL_connect: Connection was reset in connection to gitforwindows.org:443
>网络代理变更或者是网络连接问题
1.|git config --global http.proxy
2.|git config --global --unset http.proxy
3.|git config --global --unset https.proxy
tip:代理使用查询和取消代理
4.|git config--global user.name"name"
5.|git config--global user.email"email"
tip:对git进行重新配置(取消代理没有解决问题再尝试取消代理后进行重新配置)
6.|git update-git-for-windows
tip:解决版本更新引起的连接重置
fatal: unable to access 'https://github.com/AUTOMATIC1111/stable-diffusion-webui.git/': Failed to connect to github.com port 443: Timed out
网络连接超时问题,安装过程中可能会有多次Runtimeerror警告及各类由于超时引起的安装失败报错问题,多次尝试重连,最好选择在网络流量较低的时间段进行。
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
COMMANDLINE_ARGS= --lowvram --precision full --no-half --skip-torch-cuda-test
修改文件wei-user.bat内变量的变量值,执行程序后再重新继续执行wei.bat
Stable diffusion model failed to load
可以手动下载v1-5-pruned-emaonly.safetensors至指定根目录:\stable-diffusion-webui\models\Stable-diffusion内刷新加载
OSError: Can't load tokenizer for 'openai/clip-vit-large-patch14'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'openai/clip-vit-large-patch14' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer.
官方网站huggingface无法连接(故障?)
Stable-diffusion配合从非官方渠道下载models加载的配置文件
openai\clip-vit-large-patch14需要提前在指定根目录:\stable-diffusion-webui\下新建。
配置文件下载后放入,指定根目录:\stable-diffusion-webui\openai\clip-vit-large-patch14
提示:以上是个人本地部署过程中简单的总结,仅供参考。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。