GithubHelp home page GithubHelp logo

xuancheg / stable-diffusion-webui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from automatic1111/stable-diffusion-webui

0.0 0.0 0.0 31 MB

Stable Diffusion web UI 教程

License: GNU Affero General Public License v3.0

Shell 0.59% JavaScript 7.57% Python 88.33% CSS 1.15% HTML 2.23% Batchfile 0.13%

stable-diffusion-webui's Introduction

环境依赖配置

  1. Python3.10 安装时记得配置环境变量
  2. git 安装时记得配置环境变量
  3. cuda

查看适用cuda版本:在cmd中输入

nvidia-smi
  1. 觉得下载慢可以开代理/VPN

换源

  1. pip换源

经测试,此处使用阿里源,清华源有缺失。

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
python -m pip install --upgrade pip
  1. git使用代理

(加速下载,此步可以不做)详见

stable diffusion webui安装

  1. git clone项目文件
% 此步为切换盘符,若想安装在C盘无需执行 %
cd D:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

等待git clone结束即可,命令行别关,后面还有用😎。

  1. 下载基础模型

以下任选一个

  1. 创建并开启环境 之前不关cmd是方便接下来操作
cd stable-diffusion-webui
webui-user.bat

之后等执行结束,在浏览器中打开 127.0.0.1:7860

启用xformers(可选)

用记事本编辑stable-diffusion-webui下的webui-user.bat

@echo off

set PYTHON=
set GIT=
set VENV_DIR=
% 此处添加--xformers即可 %
set COMMANDLINE_ARGS=--xformers

call webui.bat

stable-diffusion-webui's People

Contributors

36db avatar akx avatar aria1th avatar automatic1111 avatar batvbs avatar brkirch avatar c43h66n12o12s2 avatar catboxanon avatar d8ahazard avatar daswer123 avatar dfaker avatar discus0434 avatar dtlnor avatar ellangok avatar guaneec avatar innovaciones avatar kohakublueleaf avatar malumadev avatar mezotaken avatar missionfloyd avatar orionaskatu avatar papuspartan avatar r-n avatar random-thoughtss avatar sakura-luna avatar space-nuko avatar timntorres avatar vladmandic avatar w-e-w avatar yfszzx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.