赞
踩
源码地址:https://github.com/lllyasviel/ControlNet | 最新
版本 controlnet-v1.1
论文
地址:2302.Adding Conditional Control to Text-to-Image Diffusion Models
扩展UI地址
(需先安装sd-webui):https://github.com/Mikubill/sd-webui-controlnet
相关博文
包含14个模型(11个成熟模型,3个实验)
对应模型与配置(两个都要存在):
control_v11f1p_sd15_depth.pth
control_v11f1p_sd15_depth.yaml
内置的3种预处理器(Preprocessors
)生成深度图:
Depth_Midas
Depth_Leres
Depth_Zoe
也可以直接从rendering engines 到处的深度图(depth)
下图来源于官方git (题词为):
a handsome man
Model file: control_v11p_sd15_normalbae.pth
Config file: control_v11p_sd15_normalbae.yaml
Acceptable Preprocessors: Normal BAE.
This model can accept normal maps fromrendering engines
as long as the normal map follows ScanNet’s protocol
题词
random seed 12345
(“a man made of flowers”):
对应模型与配置
control_v11p_sd15_canny.pth
control_v11p_sd15_canny.yaml
MLSD直线检测
-重绘control_v11p_sd15_mlsd.pth
control_v11p_sd15_mlsd.yaml
Preprocessors: MLSD.
模型
Model file: control_v11p_sd15_scribble.pth
Config file: control_v11p_sd15_scribble.yaml
输入
, “the beautiful landscape”):
Acceptable Preprocessors:
SoftEdge_PIDI,
SoftEdge_PIDI_safe,
SoftEdge_HED,
SoftEdge_HED_safe.
相当于1.0版本支持150种颜色,本版本支持182 coco颜色
模型与配置
Model file: control_v11p_sd15_seg.pth
Config file: control_v11p_sd15_seg.yaml
Model file: control_v11p_sd15_openpose.pth
Config file: control_v11p_sd15_openpose.yaml
Openpose body
Openpose hand
Openpose face
Openpose body + Openpose hand
Openpose body + Openpose face
Openpose hand + Openpose face
Openpose body + Openpose hand + Openpose face
上面的组合太复杂了,建议使用下面2种
“Openpose” = Openpose body
“Openpose Full” = Openpose body + Openpose hand + Openpose face
全部
Model file: control_v11p_sd15_lineart.pth
Config file: control_v11p_sd15_lineart.yaml
详细程度
简略
Shuffle
(实验行功能)Model file: control_v11e_sd15_shuffle.pth
Config file: control_v11e_sd15_shuffle.yaml
生成人物
Model file: control_v11e_sd15_ip2p.pth
Config file: control_v11e_sd15_ip2p.yaml
基于instrcuct pix2pix的数据集训练的
Model file: control_v11p_sd15_inpaint.pth
Config file: control_v11p_sd15_inpaint.yaml
Model file: control_v11f1e_sd15_tile.pth
Config file: control_v11f1e_sd15_tile.yaml
Tile
)Model file: control_v11f1e_sd15_tile.pth
Config file: control_v11f1e_sd15_tile.yaml
本机安装
服务器安装方法
git clone https://github.com/Mikubill/sd-webui-controlnet
git clone https://github.com/fkunn1326/openpose-editor.git
2302.Adding Conditional Control to Text-to-Image Diffusion Models
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。