stable-diffusion-webui 推荐版本是 Python 3.10 ,如果电脑中安装了其他版本到Python,会警告推荐使用Python 3.10版本。 官方安装教程 Automatic Installation on Windows 1.Install Python 3.10.6 (Newer version of Python does not support torch), checking “Add Python to PATH”. 2.Install git. 3.Download th...
最后运行webui-user.bat可能遇到python版本不符合运行torch的情况,如下: PS E:\aigc\stable-diffusion-webui> venv/Scripts/activate (venv) PS E:\aigc\stable-diffusion-webui> webui-user.bat webui-user.bat: The term 'webui-user.bat' is not recognized as a name of a cmdlet, function, scri...
链接:AUTOMATIC1111/stable-diffusion-webui: Stable Diffusion web UI (github.com) 查看python版本: 安装完python之后,打开工程,配置虚拟环境 下载安装对应的依赖库,其中的torch相关三个库选择与自己cuda相关的版本安装,我的pytorch选的是2.1.2,下载网址:download.pytorch.org/whl/torch_stable.html 然后就是pip安装...
一、前置软件安装1、Python目前 Stable Diffusion 官方推荐安装 Python 3.10.6版本。 GitHub - AUTOMATIC1111/stable-diffusion-webui: Stable Diffusion web UIPython 下载地址: https://www.python.org/downloa…
如果系统之前安装过Python3.10或者使用过Pytorch深度学习框架,那么推荐直接本地安装Stable-Diffusion-Webui,因为Stable-Diffusion的核心依赖库也是Pytorch。 首先拉取官方的项目: 随后进入项目的目录: 官方文档建议直接在目录中运行shell脚本: 但事实上,shell脚本很容易在过程中报错,该项目的核心代码其实是launch.py,所以理论...
1、python环境安装【官网】 下载Stable Diffusion-webUI推荐的版本3.10.6 按下图操作之后直接默认安装就行 2、Git 安装【https://git-scm.com/】,进入官网直接下载安装即可。 二、项目安装 上面环境安装完毕之后,打开控制台命令框,输入如下命令,从Github拉取Stable Diffusion-webUI项目,存放到你的磁盘中 ...
安装Python:Stable Diffusion Web UI的运行需要依赖Python环境。读者可以从Python官网下载并安装Python 3.10.6版本。请确保安装过程中勾选了“Add Python 3.10 to PATH”选项,以便在命令行中直接使用Python命令。 二、安装与部署 完成了上述准备工作后,我们就可以开始安装与部署Stable Diffusion Web UI了。具体步骤如下...
背景:我电脑原本是 Python 3.8 ,当时安装 stable-diffusion-webui 没留意,推荐版本是 Python 3.10 。由于担心会出现一些 bug ,于是乎决定更换使用的 Python 版本。但发现网上并没有这方面的教程,于是就有了这…
python利用stable-diffusion-webui进行AI画图 先把源码,克隆到本地,conda创建一个虚拟环境 gitclonehttps://github.com/AUTOMATIC1111/stable-diffusion-webui.git conda create -n stableDiffusionWebui python=3.10.6 conda activate stableDiffusionWebui 下载大模型,可以去https://hf-mirror.com/...