【从零开始AI绘画5】StableDiffusionWebUI的clip skip以及ENSD设定


clip skip和ENSD

在初期本人并没有设定这两项,只是在不断的学习(copy)别人的提示词后发现,即使使用了相同的参数种子模型却生成不出来和别人相同的图;

后来深入研究发现有两项是没有单独设置过的

This is a slider in settings, and it controls how early the processing of prompt by CLIP network should be stopped.

A more detailed explanation:

CLIP is a very advanced neural network that transforms your prompt text into a numerical representation. Neural networks work very well with this numerical representation and that's why devs of SD chose CLIP as one of 3 models involved in stable diffusion's method of producing images. As CLIP is a neural network, it means that it has a lot of layers. Your prompt is digitized in a simple way, and then fed through layers. You get numerical representation of the prompt after the 1st layer, you feed that into the second layer, you feed the result of that into third, etc, until you get to the last layer, and that's the output of CLIP that is used in stable diffusion. This is the slider value of 1. But you can stop early, and use the output of the next to last layer - that's slider value of 2. The earlier you stop, the less layers of neural network have worked on the prompt.

Some models were trained with this kind of tweak, so setting this value helps produce better results on those models.

Note: All SDXL models are trained with the next to last (penultimate) layer. This is why Clip Skip intentionally does not change the result of the model, as it would simply make the result worse. The option is only provided due to the fact early SDv1 models do not provide any way to determine the correct layer to use.

clip skip设定为2,ensd设定为31337

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

  • 10
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在网络设备中,配置VLAN(Virtual Local Area Network)是种将物理网络划分为多个逻辑网络的方法。通过配置VLAN,可以实现不同的设备或用户之间的隔离和通信控制。下面是一般的VLAN配置步骤: 1. 创建VLAN:首先需要创建VLAN,可以使用命令或者图形界面进行配置。在命令行界面中,可以使用"vlan database"命令进入VLAN数据库模式,然后使用"vlan <vlan_id> name <vlan_name>"命令创建VLAN,并为其指定一个唯一的ID和名称。 2. 配置端口:接下来需要将端口与VLAN进行关联。可以使用命令或者图形界面进行配置。在命令行界面中,可以使用"interface <interface_name>"命令进入端口配置模式,然后使用"switchport mode access"命令将端口设置为访问模式,并使用"switchport access vlan <vlan_id>"命令将端口与指定的VLAN关联起来。 3. 配置Trunk端口(可选):如果需要在交换机之间传输多个VLAN的数据,可以使用Trunk端口。Trunk端口可以传输多个VLAN的数据帧,并使用特定的协议进行标记。可以使用命令或者图形界面进行配置。在命令行界面中,可以使用"interface <interface_name>"命令进入端口配置模式,然后使用"switchport mode trunk"命令将端口设置为Trunk模式。 4. 验证配置:配置完成后,可以使用命令或者图形界面进行验证。在命令行界面中,可以使用"show vlan"命令查看已创建的VLAN列表,并使用"show interfaces <interface_name> switchport"命令查看端口的VLAN配置情况。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值