!
也想出现在这里? 联系我们
信息

修脸修手adetailer

原链接:Bing-su/adetailer:自动检测,遮罩和修复与检测模型。 (github.com)

以下内容直接复制github:

!After Detailer

!After Detailer is a extension for stable diffusion webui, similar to Detection Detailer, except it uses ultralytics instead of the mmdet.

Install

(from Mikubill/sd-webui-controlnet)

  1. Open “Extensions” tab.
  2. Open “Install from URL” tab in the tab.
  3. Enter to “URL for extension’s git repository”.https://github.com/Bing-su/adetailer.git
  4. Press “Install” button.
  5. Wait 5 seconds, and you will see the message “Installed into stable-diffusion-webui\extensions\adetailer. Use Installed tab to restart”.
  6. Go to “Installed” tab, click “Check for updates”, and then click “Apply and restart UI”. (The next time you can also use this method to update extensions.)
  7. Completely restart A1111 webui including your terminal. (If you do not know what is a “terminal”, you can reboot your computer: turn your computer off and turn it on again.)

You can now install it directly from the Extensions tab.

image

You DON’T need to download any model from huggingface.

Options

Model, Prompts
ADetailer model Determine what to detect. None = disable
ADetailer prompt, negative prompt Prompts and negative prompts to apply If left blank, it will use the same as the input.
Detection
Detection model confidence threshold Only objects with a detection model confidence above this threshold are used for inpainting.
Mask min/max ratio Only use masks whose area is between those ratios for the area of the entire image.

If you want to exclude objects in the background, try setting the min ratio to around .0.01

Mask Preprocessing
Mask x, y offset Moves the mask horizontally and vertically by
Mask erosion (-) / dilation (+) Enlarge or reduce the detected mask. opencv example
Mask merge mode None: Inpaint each mask
: Merge all masks and inpaint
: Merge all masks and Invert, then inpaintMergeMerge and Invert

Applied in this order: x, y offset → erosion/dilation → merge/invert.

Inpainting

image

Each option corresponds to a corresponding option on the inpaint tab.

ControlNet Inpainting

You can use the ControlNet extension if you have ControlNet installed and ControlNet models.

Support controlnet models. Once you choose a model, the preprocessor is set automatically.inpaint, scribble, lineart, openpose, tile

Model

Model Target mAP 50 mAP 50-95
face_yolov8n.pt 2D / realistic face 0.660 0.366
face_yolov8s.pt 2D / realistic face 0.713 0.404
hand_yolov8n.pt 2D / realistic hand 0.767 0.505
person_yolov8n-seg.pt 2D / realistic person 0.782 (bbox)
0.761 (mask)
0.555 (bbox)
0.460 (mask)
person_yolov8s-seg.pt 2D / realistic person 0.824 (bbox)
0.809 (mask)
0.605 (bbox)
0.508 (mask)
mediapipe_face_full realistic face
mediapipe_face_short realistic face
mediapipe_face_mesh realistic face

The yolo models can be found on huggingface Bingsu/adetailer.

User Model

Put your ultralytics model in . The model name should end with or .webui/models/adetailer.pt.pth

It must be a bbox detection or segment model and use all label.

Dataset

Datasets used for training the yolo models are:

Face

Hand

Person

Example

image image

ko-fi

原文链接:https://cj.suclub.top/3567.html,转载请注明出处。

文章版权声明 1、本网站名称:C站插件站
2、本站永久网址:https://cj.suclub.top
3、本网站的文章部分内容可能来源于网络,仅供大家学习与参考,如有侵权,请联系站长进行删除处理。
4、本站一切资源不代表本站立场,并不代表本站赞同其观点和对其真实性负责。
5、本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报
6、本站资源大多存储在云盘,如发现链接失效,请联系我们我们会第一时间更新。
7、文章版权归作者所有,未经允许请勿转载。本站所有文章为网络资源转载或网友投稿,如有侵权,请携带相关证明联系站长。
8、 这些信息可能会帮助你: 下载帮助 | 报毒说明 | 进站必看| 图片异常| 图加载慢

评论0

请先

C站插件站 涉及设计类软件插件以及教程 经常更新 全站免费(除特殊商品外)。特别注意:C站插件站VIP教程查看方法

显示验证码
没有账号? 注册  忘记密码?

社交账号快速登录

微信扫一扫关注
如已关注,请回复“登录”二字获取验证码

C站资源站

su伴侣

c站资源站(suclub.top)拥有众多su资源,模型,材质,hdr,图片等!现包年vip为856!