安装Stable Diffusion过程中卡住
运行webui-user.bat出现如下报错:
venv "D:\Stable Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI
Launching Web UI with arguments:
Traceback (most recent call last):
File "D:\Stable Diffusion\stable-diffusion-webui\launch.py", line 362, in
start()
File "D:\Stable Diffusion\stable-diffusion-webui\launch.py", line 353, in start
import webui
File "D:\Stable Diffusion\stable-diffusion-webui\webui.py", line 16, in
from modules import paths, timer, import_hook, errors
File "D:\Stable Diffusion\stable-diffusion-webui\modules\paths.py", line 19, in
assert sd_path is not None, "Couldn't find Stable Diffusion in any of: " + str(possible_sd_paths)
AssertionError: Couldn't find Stable Diffusion in any of: ['D:\\Stable Diffusion\\stable-diffusion-webui\\repositories/stable-diffusion-stability-ai', '.', 'D:\\Stable Diffusion']
**根据报错信息,Stable Diffusion在安装过程中无法找到安装路径。请尝试以下步骤:
想更快速实现 Stable Diffusion 模型的AI-Web应用,可以尝试云端资源进行部署。
云端部署的优势在于:
● 省心。不需要担心电脑配置,云上的资源就是你的资源。
● 简便。基于封装好的镜像直接拉起,省去繁琐的环境配置工作。
● 弹性。按需使用,弹性扩缩容。
最近,阿里云机器学习平PAI 推出了 Stable Diffusion 文生图模型 的系列教程,可以让感兴趣的开发者极简地体验到SD WebUI部署、SD微调训练的过程。
【入门:SD WebUI 低代码部署】https://help.aliyun.com/document_detail/610074.html
【入门:SD WebUI notebook 开发部署】https://help.aliyun.com/document_detail/2261127.htm?
【进阶:SD 文生图Lora模型微调实现虚拟上装】https://help.aliyun.com/document_detail/615220.htm?
最近有个福利,机器学习平台PAI推出了免费试用活动,这些实验都可以通过免费的云上GPU来实现。前往领取福利戳 👉🏻 https://free.aliyun.com/?product=9602825&tlog=0620csdnwz
不知道你这个问题是否已经解决, 如果还没有解决的话: