環(huán)境
win10
conda
Anaconda+PyTorch環(huán)境搭建
git
基礎(chǔ)環(huán)境準備
conda create --name stable-diffusion-webui python=3.10.6
conda activate stable-diffusion-webui
# 給pip換源 可以下載的更快
python -m pip install --upgrade pip
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
下載新版的stable-diffusion-webui
https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases
這里用的v1.1.0
下載后解壓
安裝
在conda虛擬環(huán)境下進入剛剛解壓的目錄
webui-user.bat
也可以修改一下啟動腳本,自動調(diào)用conda啟動環(huán)境文章來源:http://www.zghlxwxcb.cn/news/detail-585290.html
@echo off
REM 設(shè)置conda的執(zhí)行路徑
set PATH=C:\ProgramData\miniconda3;C:\ProgramData\miniconda3\Scripts;C:\ProgramData\miniconda3\Library\bin;%PATH%
REM 激活環(huán)境
CALL conda.bat activate stable-diffusion-webui
set PYTHON=
set GIT=
set VENV_DIR=
REM 加一個參數(shù),會自動打開瀏覽器
set COMMANDLINE_ARGS=--autolaunch
call webui.bat
啟動
參考文章
https://github.com/AUTOMATIC1111/stable-diffusion-webui
https://zhuanlan.zhihu.com/p/616411275
https://mirrors.tuna.tsinghua.edu.cn/help/pypi/文章來源地址http://www.zghlxwxcb.cn/news/detail-585290.html
到了這里,關(guān)于windows10 stable-diffusion-webui的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!