Stable Diffusion 本地部署教程不完全指南

2023-05-16

ChatGPT免费体验入口网址

http://chat.xutongbao.top

参考链接:

ERROR: Could not find a version that satisfies the requirement torch==1.7.0 ERROR: No matching……_congcongiii的博客-CSDN博客

 

下载链接:

https://download.pytorch.org/whl/cu117/torch-1.13.1%2Bcu117-cp310-cp310-win_amd64.whl

pip install torch -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

设置Python装包镜像源:

https://zhuanlan.zhihu.com/p/573955401

pip install -i https://pypi.douban.com/simple torchvision==0.14.0
.\python.exe -m pip install .\torch-1.13.1+cu117-cp310-cp310-win_amd64.whl

参考链接:

https://blog.csdn.net/jinnaluo0/article/details/129907577

.\python.exe -m pip install gfpgan -i https://pypi.douban.com/simple

.\python.exe -m pip install clip -i https://pypi.douban.com/simple

.\python.exe -m pip install git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b --prefer-binary -i https://pypi.douban.com/simple --trusted-host pypi.douban.com

参考链接:

https://blog.csdn.net/qq_41234663/article/details/129783216

https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors

 

https://huggingface.co/runwayml/stable-diffusion-v1-5

 

 

a photo of an astronaut riding a horse on mars

参考链接:

https://blog.csdn.net/snans/article/details/130208216

 

high quality, photorealistic, icon, 
white background,
(1cabbage),(wheat),(grains),(1tomato),(1ham),(1yellow_tomato),(3meat:1.4),(1eggplant) 

nvidia-smi

https://developer.nvidia.com/cuda-toolkit-archive

 

nvcc -V

 参考链接:

https://blog.csdn.net/Elon15/article/details/125678410

(masterpiece:1,2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2), drawing, paintbrush,looking at viewer, close-up, upper body,
NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),

 

https://cn.download.nvidia.com/Windows/531.68/531.68-desktop-win10-win11-64bit-international-dch-whql.exe

 

 

https://blog.csdn.net/leelitian3/article/details/120448129?ops_request_misc=&request_id=&biz_id=102&utm_term=gpu%E4%BD%BF%E7%94%A8%E7%8E%87%E4%B8%BA0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-1-120448129.142^v86^wechat,239^v2^insert_chatgpt&spm=1018.2226.3001.4187

 

 

 

 

-----> !!!! The file is most likely corrupted !!!! <-----
You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you.

解决办法:

set COMMANDLINE_ARGS= --lowvram --precision full --no-half --disable-safe-unpickle

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

 参考链接:

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory · Issue #1861 · AUTOMATIC1111/stable-diffusion-webui · GitHub

Txt2img with "restore faces" option gives an error · Issue #1513 · AUTOMATIC1111/stable-diffusion-webui · GitHub

github页面, 可以下载需要的文件:

https://github.com/sczhou/CodeFormer/releases/tag/v0.1.0

 

 

 删除这个文件:

 

 

英文汉语解释
Prompt正向提示词
negative prompt反向提示词
Sampling steps生成迭代步数
CFG Scale画家自由度
Extras优化

 

案例一

正向提示词:

A girl, looking at viewer, close-up, upper body,in the forest, the sun fell on her body, (masterpiece:1,2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2), drawing, paintbrush,

反向提示词:

Negative prompt: NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),

配置:

 

案例二

正:

A girl, looking at me, close-up, upper body,in the forest, the sun fell on her body, (masterpiece:1,2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2), drawing, paintbrush,

反:

NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),

 

案例三

 

 案例四-图生图

 

 

 

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Stable Diffusion 本地部署教程不完全指南 的相关文章

随机推荐

  • Clearwater IMS All-in-one环境搭建指导书

    xunknown 64 163 com 2015 01 13 一 前言 Clearwater IMS 是一个开源的 IMS 项目 提供 VoIP SIP 电话等功能 Clearwater IMS 主页 http www projectcle
  • Clearwater IMS All-in-one环境搭建指导书

    xunknown 64 163 com 2015 01 13 一 前言 Clearwater IMS 是一个开源的 IMS 项目 提供 VoIP SIP 电话等功能 Clearwater IMS 主页 http www projectcle
  • Sublime Text3注册码(亲测可用 2019-11-19)

    转自博客中的朋友的 xff0c 用于保存 适用于Sublime Text2同时也适用于Sublime Text3 1 打开本地hosts文件 Windows路径是C Windows System32 drivers etc MacOS路径是
  • H3C配置多区域OSPF实验

    一 先上拓扑 xff1a 二 实验环境 xff1a Windows 10 xff08 21H1 xff09 xff0c HCL版本 xff1a V3 0 1 xff08 华三模拟器 xff09 三 实验需求 xff1a SWA SWB SW
  • 配置mysql使用ssl连接,配置java连接mysql使用ssl

    查看mysql是否支持ssl连接 show variables like 39 ssl 39 生成服务器端 openssl genrsa 2048 gt ca key pem openssl req sha1 new x509 nodes
  • Python中的命名规范

    变量命名准则 您应当尽量使自己的变量命名含义清晰 xff0c 不要使用混乱的字母 数字 表情等意义不明的字符来命名变量一般来说 xff0c 您不应当使自己的风格频发变换 如果可能 xff0c 请将整个项目保持统一风格此文章根据本人习惯与编码
  • Linux下达梦数据库的安装与卸载

    文章目录 Linux下达梦数据库的安装与卸载1 安装前准备工作1 1 下载安装包1 2 检查Linux Unix 系统信息1 3 创建安装用户1 4 Linux Unix 下检查操作系统限制1 5 设置JAVA环境 2 安装DM2 1 解压
  • 递归算法实现角谷定理

    问题重述 xff1a 角谷定理 输入一个自然数 xff0c 若为偶数 xff0c 则把它除以 2 xff0c 若为奇数 xff0c 则把它乘以 3 加 1 经过如此有限次运算后 xff0c 总可以得到自然数值 1 求经过多少次可得到自然数
  • windows系统关闭node进程

    taskkill f t im node exe Node js是一个开源的 跨平台的JavaScript运行时环境 xff0c 它允许开发者在服务器端使用JavaScript进行编程 Node js的诞生极大地扩展了JavaScript的
  • 我的GPT-4 API 接入之旅

    3月15日open ai推出GPT 4 https platform openai com docs models gpt 4 chatgpt免费体验入口 xff1a http chat xutongbao top 需要排队 28号加入等候
  • IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

    git exe pull progress v no rebase 34 origin 34 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 64 6
  • 制作高清chatgpt logo

    lt DOCTYPE html gt lt html lang 61 34 en 34 gt lt head gt lt meta charset 61 34 UTF 8 34 gt lt meta http equiv 61 34 X U
  • react开发前端登录、注册、找回密码页面的详细教程

    登录 注册 找回密码是前端项目经常遇到的需求 光标自动定位到输入框 回车登录 图形验证码 邮箱验证码 60秒倒计时 字段校验 字段提示语 上传头像 密码显示隐藏这些功能都会在本文中详细介绍 xff0c 注意 使用的ui库是antd 目录 光
  • azure windows服务器,远程桌面链接,ftp文件上传下载

    解决方案 xff1a FTP 安装filezilla 打开21端口 参考链接 xff1a Windows11 10 使用RDP远程桌面时提示 您的凭据不工作 登录没有成功可能的一种原因 CSDN博客 使用 SSH 连接到运行 Windows
  • LED的使用纯汇编和C语言的点亮

    概述 我们通过观察原理图可以发现LED灯有四个分别连接在GPM4 1 GPM4 2 GPM4 3 GPM4 4上面 xff0c 这时候我们去查询我们板子4412的说明书 xff0c 去寻址寄存器的配置 初始化的时候我们需要将他配置为输出模式
  • Promise异步编程

    目录 一 Promise的含义 二 基本用法 三 reject的用法 四 执行顺序 五 项目中使用promise获取后端数据 六 catch的用法 七 finally的用法 八 Promise all 九 Promise all 有一个是失
  • 介绍一下ES6 promise

    ES6 Promise 是 ECMAScript 2015 xff08 简称 ES6 xff09 引入的一种处理异步操作的编程模式 Promise 可以简化异步编程 xff0c 并使代码更易于维护 一个 Promise 对象代表一个尚未完成
  • ChatGPT的N种用法(持续更新中。。。)

    目录 前言 一 写代码 二 给软件系统命名 三 查询发展历史 四 写英语短文 五 入党申请报告指导 国企员工思想汇报 六 给小孩起名字 七 给小说写推荐阅读 八 根据小说生成剧本 九 写离婚协议 十 翻译 十一 润色文章 十二 用英文撰写电
  • ChatGPT资料汇总学习

    x1f9e0 Awesome ChatGPT ChatGPT资料汇总学习 xff0c 持续更新 ChatGPT再一次掀起了AI的热潮 xff0c 是否还会像BERT一样成为AI进程上的里程碑事件 xff0c 还是噱头炒作 xff0c 持续关
  • Stable Diffusion 本地部署教程不完全指南

    ChatGPT免费体验入口网址 http chat xutongbao top 参考链接 xff1a ERROR Could not find a version that satisfies the requirement torch 6