Stable Diffusion - StableDiffusion WebUI 软件升级与扩展兼容

欢迎关注我的CSDN:https://spike.blog.csdn.net/
本文地址:https://spike.blog.csdn.net/article/details/134463035

目前,StableDiffusion WebUI 的版本是 1.6.0,同步更新 controlnet、tagcomplete、roop、easy-prompt-selector等插件,解决启动时,遇到的 Warning 信息。

SD-WebUI

与当前工程同步:

Logs

更新 sd-webui-controlnet,将 controlnet 插件升级至最新版本,即:

cd workspace/stable_diffusion_webui/extensions/sd-webui-controlnet
git remote -v
# https://ghproxy.com/ 代理已经失效,需要重新设置
git remote set-url origin https://github.com/Mikubill/sd-webui-controlnet.git
git pull origin main

更新 a1111-sd-webui-tagcomplete 插件:

cd workspace/stable_diffusion_webui/extensions/a1111-sd-webui-tagcomplete
git remote -v
# https://ghproxy.com/ 代理已经失效,需要重新设置
# git remote set-url origin https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
git remote set-url origin git@github.com:DominikDoom/a1111-sd-webui-tagcomplete.git
git pull origin main

提示信息,不需考虑,参考 GitHub - Issues:

"Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu."
标签自动完成:无法定位模型关键字扩展,Lora 触发词补全,将仅限于通过额外网络菜单添加的内容。

更新 sd-webui-roop 插件:

cd workspace/stable_diffusion_webui/extensions/sd-webui-roop
git remote -v
# https://ghproxy.com/ 代理已经失效,需要重新设置
git remote set-url origin git@github.com:s0md3v/sd-webui-roop.git
git pull origin main

Warning 信息,修复参考 Deprecation Warning,替换文件 faceswap.py:

workspace/stable_diffusion_webui/extensions/sd-webui-roop/scripts/faceswap.py:38: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
  img = gr.inputs.Image(type="pil")
workspace/stable_diffusion_webui/modules/gradio_extensons.py:25: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect
  res = original_IOComponent_init(self, *args, **kwargs)
workspace/stable_diffusion_webui/extensions/sd-webui-roop/scripts/faceswap.py:55: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
  upscaler_name = gr.inputs.Dropdown(
workspace/stable_diffusion_webui/extensions/sd-webui-roop/scripts/faceswap.py:74: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
  model = gr.inputs.Dropdown(

更新 sdweb-easy-prompt-selector 插件:

cd workspace/stable_diffusion_webui/extensions
git clone git@github.com:blue-pen5805/sdweb-easy-prompt-selector.git

Warning 信息,参考 emove style() method:

workspace/stable_diffusion_webui/extensions/sdweb-easy-prompt-selector/scripts/easy_prompt_selector.py:97: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
reload_button.style(size='sm')

重新启动 sd-webui 工程:

top
nohup python -u launch.py --listen --port 9301 --xformers --no-half-vae --enable-insecure-extension-access --theme dark --gradio-queue > nohup.62.out &
tail -f nohup.62.out

启动日志:

Python 3.9.5 (default, Nov 23 2021, 15:27:38) 
[GCC 9.3.0]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Installing sd-webui-controlnet requirement: changing opencv-python version from 4.7.0.72 to 4.8.0
Checking roop requirements
Install insightface==0.7.3
Installing sd-webui-roop requirement: insightface==0.7.3
Install onnx==1.14.0
Installing sd-webui-roop requirement: onnx==1.14.0
Install onnxruntime==1.15.0
Installing sd-webui-roop requirement: onnxruntime==1.15.0
Install opencv-python==4.7.0.72
Installing sd-webui-roop requirement: opencv-python==4.7.0.72
Launching Web UI with arguments: --listen --port 9301 --xformers --no-half-vae --enable-insecure-extension-access --theme dark --gradio-queue
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
[-] ADetailer initialized. version: 23.9.2, num models: 12
dirname:  stable_diffusion_webui/localizations
localizations:  {'zh-Hans (Stable) [vladmandic]': 'stable_diffusion_webui/extensions/stable-diffusion-webui-localization-zh_Hans/localizations/zh-Hans (Stable) [vladmandic].json', 'zh-Hans (Stable)': 'stable_diffusion_webui/extensions/stable-diffusion-webui-localization-zh_Hans/localizations/zh-Hans (Stable).json', 'zh-Hans (Testing) [vladmandic]': 'stable_diffusion_webui/extensions/stable-diffusion-webui-localization-zh_Hans/localizations/zh-Hans (Testing) [vladmandic].json', 'zh-Hans (Testing)': 'stable_diffusion_webui/extensions/stable-diffusion-webui-localization-zh_Hans/localizations/zh-Hans (Testing).json'}
2023-11-16 14:36:48,609 - ControlNet - INFO - ControlNet v1.1.417
ControlNet preprocessor location: stable_diffusion_webui/extensions/sd-webui-controlnet/annotator/downloads
2023-11-16 14:36:48,887 - ControlNet - INFO - ControlNet v1.1.417
sd-webui-prompt-all-in-one background API service started successfully.
2023-11-16 14:36:50,866 - roop - INFO - roop v0.0.2
2023-11-16 14:36:50,941 - roop - INFO - roop v0.0.2
Loading weights [0f1b80cfe8] from stable_diffusion_webui/models/Stable-diffusion/DreamShaper_XL1.0_alpha2.safetensors
Creating model from config: stable_diffusion_webui/repositories/generative-models/configs/inference/sd_xl_base.yaml
Running on local URL:  http://0.0.0.0:9301
Applying attention optimization: xformers... done.
Model loaded in 9.0s (load weights from disk: 2.1s, create model: 0.9s, apply weights to model: 4.7s, apply half(): 0.1s, move model to device: 0.1s, load textual inversion embeddings: 0.3s, calculate empty prompt: 0.6s).
To create a public link, set `share=True` in `launch()`.
Startup time: 372.0s (prepare environment: 263.5s, import torch: 17.0s, import gradio: 3.6s, setup paths: 5.2s, initialize shared: 1.9s, other imports: 4.0s, setup codeformer: 0.7s, setup gfpgan: 0.2s, load scripts: 62.6s, create ui: 4.2s, gradio launch: 5.5s, app_started_callback: 3.7s).

测试图像:

Model

1 girl,(full body:1.3),(standing posture:1.2),portrait,(looking at the viewer:1.2),(asian girl:1.3),beautiful woman,(gothgal,lace,frills,choker,porcelain white skin,dress:1.3),gothgal leather boots,(turtleneck and crewneck:1.2),standing pose with legs apart,gothic style clothing,dark and mysterious and noble and romantic and decadent,combinations of red and black and white,cold and heavy and strong contrast effect,leather and PVC and rubber and latex and gloss and texture,silk and brocade and velvet and lace and luxury and vintage,embroidery and badges and crosses and skulls,tight fitting and poulaine pointed shoes and chausses leggings and hennin conical hat,religious and ornaments and jewelry and pointed shoes and veils and gloves,RAW,analog,Nikon Z 85mm,(best quality:1.2),(masterpiece:1.2),(realistic:1.2),4k,god rays,photorealistic,realistic,photorealism,photography,8k uhd,photography,
Negative prompt: (nsfw:1.2),naked,nipple,(out of frame:1.3),(3d, render, cgi, doll, painting, fake, cartoon, 3d modeling:1.4),(worst quality, low quality:1.4),monochrome,child,deformed,malformed,deformed face,bad teeth,bad hands,bad fingers,bad eyes,long body,blurry,duplicate,cloned,duplicate body parts,disfigured,extra limbs,fused fingers,extra fingers,twisted,distorted,malformed hands,mutated hands and fingers,mutated legs,extra legs,too many legs,conjoined,missing limbs,bad anatomy,bad proportions,logo,watermark,text,copyright,signature,lowres,mutated,mutilated,artifacts,gross,ugly,bad hands,bunch of peoples,lowres,tattoos,panties,bra,big hands,
Steps: 30, Sampler: DPM++ 3M SDE Karras, CFG scale: 7, Seed: 3147550502, Size: 768x1152, Model hash: 0f1b80cfe8, Model: DreamShaper_XL1.0_alpha2, Denoising strength: 0.25, ADetailer model: face_yolov8n.pt, ADetailer prompt: “asian girl,make up,beauty,”, ADetailer confidence: 0.3, ADetailer dilate/erode: 4, ADetailer mask blur: 4, ADetailer denoising strength: 0.4, ADetailer inpaint only masked: True, ADetailer inpaint padding: 32, ADetailer version: 23.9.2, Hires upscale: 2, Hires steps: 10, Hires upscaler: 4x-UltraSharp, Version: v1.6.0

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mfbz.cn/a/158224.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

openpyxl获取单元格的主题色的颜色值

📢作者: 小小明-代码实体 📢博客主页:https://blog.csdn.net/as604049322 📢欢迎点赞 👍 收藏 ⭐留言 📝 欢迎讨论! openpyxl 支持以下几种颜色类型: RGB (Red, Green, …

【漏洞复现】用友U8-Cloud 存在任意文件上传漏洞

漏洞描述 U8 cloud 聚焦成长型、创新型企业的云 ERP,基于全新的企业互联网应用设计理念,为企业提供集人财物客、产供销于一体的云 ERP 整体解决方案,全面支持多组织业务协同、智能财务,人力服务、构建产业链智造平台,融合用友云服务实现企业互联网资源连接、共享、协同。…

YOLO目标检测——PCB缺陷数据集下载分享【含对应voc、coco和yolo三种格式标签】

实际项目应用:电子制造过程的质量控制、生产线的自动化检测、以及产品可靠性验证等方面数据集说明:PCB缺陷检测数据集,真实场景的高质量图片数据,数据场景丰富标签说明:使用lableimg标注软件标注,标注框质量…

选择Amazon EC2,走进云端新时代

目录 前言 选择云服务器 / 海外服务器需要关注的重点 Amazon EC2 云服务器的优势所在 文末总结 前言 常言道,工欲善其事必先利其器,无论你是资深开发者,还是普通爱好者,在日常开发和学习生活中都需要用到云服务器提供的丰富的…

【978.最长湍流子数组】

目录 一、题目描述二、算法原理三、代码实现 一、题目描述 二、算法原理 三、代码实现 class Solution { public:int maxTurbulenceSize(vector<int>& arr) {int narr.size();vector<int> f(n),g(n);f[0]g[0]1;if(n1) return 1;int retmax(f[0],g[0]);for(int…

资深品酒师荆芳老师倾情力作,带你品酒选酒,读懂葡萄酒的世界

在美酒琳琅满目的今天&#xff0c;如何才能挑选到适合自己的葡萄酒&#xff1f;如何品鉴葡萄酒的独特魅力&#xff1f;资深品酒师荆芳老师的最新力作《葡萄酒爱好者》正式上线&#xff0c;带你走进葡萄酒的世界&#xff0c;领略品酒选酒的奥秘。作为一位资深的品酒师和教育工作…

微软宣布计划在 Windows 10 版本 22H2 中引入 AI 助手 Copilot

根据之前的传言&#xff0c;微软宣布计划在 Windows 10 版本 22H2 中引入 AI 助手 Copilot。Copilot 将包含在 Windows 10 家庭版和专业版中。该更新的发布日期尚未公布&#xff0c;但预计将在不久的将来发布。 在一份新闻稿中&#xff0c;微软表示在向 Windows 11 用户提供 Co…

物联网AI MicroPython学习之语法UART通用异步通信

学物联网&#xff0c;来万物简单IoT物联网&#xff01;&#xff01; UART 介绍 模块功能: UART通过串行异步收发通信 接口说明 UART - 构建UART对象 函数原型&#xff1a;UART(id, baudrate&#xff0c;bits, parity&#xff0c;stop, tx, rx)参数说明&#xff1a; 参数类…

WhatsApp账号被封?看看是不是你的原因!

WhatsApp经常封号是一个难题&#xff0c;这一篇将为你详细介绍WhatsApp封号原因&#xff0c;以及如何防封。 封号原因 首先我们分情况来判定封号原因&#xff0c;WhatsApp封号一般有以下几种情况&#xff1a; 1、一注册就封 许多小伙伴账号刚注册什么都没动&#xff0c;就遭…

Apifox 关于token的使用方式

前言&#xff0c;关于token的使用&#xff0c;仅做了简单的demo测试token效果。 1.手动登录获取token 顾名思义&#xff0c;因为只有登录之后才有token的信息&#xff0c;所以在调用其他接口前需要拥有token才能访问。 操作步骤 1)添加环境变量、全局参数 这里拿测试环境举…

PyTorch深度学习原理与实现

PyTorch深度学习原理与实现 1. 引言 深度学习发展历程 感知机网络&#xff08;解决线性可分问题&#xff0c;20世纪40年代&#xff09; BP神经网络&#xff08;解决线性不可分问题&#xff0c;20世纪80年代&#xff09; 深度神经网络&#xff08;海量图片分类&#xff0c;2…

SSH协议简介与使用

Secure Shell(SSH) 是由 IETF(The Internet Engineering Task Force) 制定的建立在应用层基础上的安全网络协议。它是专为远程登录会话(甚至可以用Windows远程登录Linux服务器进行文件互传)和其他网络服务提供安全性的协议&#xff0c;可有效弥补网络中的漏洞。通过SSH&#xf…

浙大恩特客户资源管理系统 SQL注入漏洞复现

0x01 产品简介 浙大恩特客户资源管理系统是一款针对企业客户资源管理的软件产品。该系统旨在帮助企业高效地管理和利用客户资源&#xff0c;提升销售和市场营销的效果。 0x02 漏洞概述 浙大恩特客户资源管理系统中T0140_editAction.entweb接口处存在SQL注入漏洞&#xff0c;未…

阿里云CentOS主机开启ipv6

目录 一、云主机开启和使用 ipv6 1、网络和交换机开启 ipv6 2、创建 / 编辑云主机&#xff0c;开启ipv6 3、安全组放行ipv6端口 二、使用 ipv6 地址进行 ssh 连接 三、ipv6 地址绑定域名 一、云主机开启和使用 ipv6 1、网络和交换机开启 ipv6 进入网络、交换机详情页面…

如何用AB测试完善产品激励体系

更多技术交流、求职机会&#xff0c;欢迎关注字节跳动数据平台微信公众号&#xff0c;回复【1】进入官方交流群 用户激励体系&#xff0c;也称用户激励机制&#xff0c;是为了让用户持续使用产品&#xff0c;而设计的一套对应规则。在用户激励体系建立过程中&#xff0c;产品可…

锐捷网络NBR700G 信息泄露漏洞复现 [附POC]

文章目录 锐捷网络NBR700G 信息泄露漏洞复现 [附POC]0x01 前言0x02 漏洞描述0x03 影响版本0x04 漏洞环境0x05 漏洞复现1.访问漏洞环境2.构造POC3.复现 0x06 修复建议 锐捷网络NBR700G 信息泄露漏洞复现 [附POC] 0x01 前言 免责声明&#xff1a;请勿利用文章内的相关技术从事非…

SQL 查询优化指南:SELECT、SELECT DISTINCT、WHERE 和 ORDER BY 详解

SELECT 关键字 SQL的SELECT语句用于从数据库中选择数据。SELECT语句的基本语法如下&#xff1a; SELECT column1, column2, ... FROM table_name;其中&#xff0c;column1, column2,等是您要从表中选择的字段名称&#xff0c;而table_name是您要选择数据的表的名称。 如果要…

JavaEE初阶 01 计算机是如何工作的

前言 今天开始进行对JavaEE的一些基本总结,希望大家能在阅读中有所收获,如有错误还望多多指正. 1.冯诺依曼体系结构 这个体系结构相信学计算机的同学都不陌生,但是你真的知道这个体系结构说的是什么嘛?请听我娓娓道来.首先我先给出一张冯诺依曼体系结构的简图 你可以理解为当前…

2023年腾讯云服务器限时特惠,2023年腾讯云服务器最新优惠汇总

亲爱的朋友们&#xff0c;如果你正在考虑购买腾讯云服务器&#xff0c;那么你一定需要了解近期腾讯云服务器的限时特惠活动。本文将为你提供2023年腾讯云服务器的最新优惠汇总&#xff0c;并详细介绍几款值得购买的优惠云服务器。 首先为大家介绍的是轻量2核2G3M服务器&#x…

Web前端—移动Web第一天(平面转换、渐变、综合案例--播客网页设计)

版本说明 当前版本号[20231117]。 版本修改说明20231117初版 目录 文章目录 版本说明目录移动 Web 第一天01-平面转换简介示例 平移定位居中案例-双开门旋转转换原点案例-时钟多重转换缩放案例-播放特效倾斜 02-渐变线性渐变案例-产品展示径向渐变 03-综合案例导航-频道箭头…