Stable Diffusion——Adetailer面部处理

这篇具有很好参考价值的文章主要介绍了Stable Diffusion——Adetailer面部处理。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

下载地址:

GitHub - Bing-su/adetailer: Auto detecting, masking and inpainting with detection model. 

修复介绍:

stable diffusion 图片人脸失真,人工智能

具体的得根据实际情况进行选择。 

模型 适用对象
face_yolov8n.pt 2D / 真实人脸
face_yolov8s.pt 2D / 真实人脸
hand_yolov8n.pt 2D / 真实人手
person_yolov8n-seg.pt 2D / 真实全身
person_yolov8s-seg.pt 2D/真实全身
mediapipe_face_full 真实人脸
mediapipe_face_short 真实人脸
mediapipe_face_mesh 真实人脸

测试语句:

正向:

Star face,long black hair,beauty,wearing a white shirt,upper body frontal photo,ultra-clear,cute,lolita,natural black pupils,bright eyes,Chinese style,well-proportioned,regular facial features,no stretching,first love,light blue Color background,tie,campus,desks and chairs,school uniform,long hair to waist,smile,dimples,

反向:

(semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4),text,close up,cropped,out of frame,worst quality,low quality,jpeg artifacts,pgly,duplicate,morbid,mutilated,extra fingers,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,dehydrated,bad anatomy,bad proportions,extra limbs,cloned face,disfigured,gross proportions,malformed limbs,missing arms,missing legs,extra arms,extra legs,fused fingers,too many fingers,long neck,

正向和反向提示词设置,和SD的提示词设置成一样就可以了。

stable diffusion 图片人脸失真,人工智能

可以保留种子,更换一下模型来重新生成一下:全身的效果太僵硬了。

stable diffusion 图片人脸失真,人工智能

动一动的效果:

种子号码:1210515140

stable diffusion 图片人脸失真,人工智能

所有参数:

Star face,long black hair,beauty,wearing a white shirt,upper body frontal photo,ultra-clear,cute,lolita,natural black pupils,bright eyes,Chinese style,well-proportioned,regular facial features,no stretching,first love,light blue Color background,tie,campus,desks and chairs,school uniform,long hair to waist,smile,dimples,
Negative prompt: (semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4),text,close up,cropped,out of frame,worst quality,low quality,jpeg artifacts,pgly,duplicate,morbid,mutilated,extra fingers,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,dehydrated,bad anatomy,bad proportions,extra limbs,cloned face,disfigured,gross proportions,malformed limbs,missing arms,missing legs,extra arms,extra legs,fused fingers,too many fingers,long neck,
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 1210515140, Size: 512x512, Model hash: 18ed2b6c48, Model: xxmix9realistic_v40, AnimateDiff: "enable: True, model: mm_sd_v15_v2.ckpt, video_length: 16, fps: 8, loop_number: 0, closed_loop: R-P, batch_size: 16, stride: 1, overlap: 4, interp: Off, interp_x: 10, mm_hash: 69ed0f5f", ADetailer model: mediapipe_face_full, ADetailer prompt: "Star face,long black hair,beauty,wearing a white shirt,upper body frontal photo,ultra-clear,cute,lolita,natural black pupils,bright eyes,Chinese style,well-proportioned,regular facial features,no stretching,first love,light blue Color background,tie,campus,desks and chairs,school uniform,long hair to waist,smile,dimples,", ADetailer negative prompt: "(semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4),text,close up,cropped,out of frame,worst quality,low quality,jpeg artifacts,pgly,duplicate,morbid,mutilated,extra fingers,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,dehydrated,bad anatomy,bad proportions,extra limbs,cloned face,disfigured,gross proportions,malformed limbs,missing arms,missing legs,extra arms,extra legs,fused fingers,too many fingers,long neck,", 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.11.1, Version: v1.6.0-2-g4afaaf8a

Time taken: 1 min. 36.3 sec.

A: 5.02 GB, R: 5.58 GB, Sys: 5.7/14.5791 GB (39.3%)文章来源地址https://www.toymoban.com/news/detail-773313.html

到了这里,关于Stable Diffusion——Adetailer面部处理的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Stable Diffusion WebUI 附加功能/图片放大(Extras):单张图片/批量处理/从目录进行批量处理

    本文收录于《AI绘画从入门到精通》专栏,专栏总目录:点这里,订阅后可阅读专栏内所有文章。 大家好,我是水滴~~ 篇文章主要讲解 Stable Diffusion WebUI 的附加功能/图片放大(Extras)的使用,主要包括:单张图片、批量处理、从目录进行批量处理。文章中包含大量的图片和示

    2024年04月23日
    浏览(33)
  • 关于【Stable-Diffusion WEBUI】生成全身图:插件解决面部崩坏问题

    本篇主要介绍WEBUI的插件:SD Face Editor,虽然叫Editor实际上是Fixer,作用是修复脸部。 更多不断丰富的内容参考:🔗 《继续Stable-Diffusion WEBUI方方面面研究(内容索引)》 参考: 由于神经网络无法完全捕捉人脸的微妙细节和变化,导致产生了不自然或扭曲的结果…… 所以生成图

    2024年02月06日
    浏览(41)
  • Stable Diffusion使用“面部修复”时报TypeError: ‘NoneType‘ object is not subscriptable错

    Stable Diffusion使用“面部修复”时报TypeError: ‘NoneType’ object is not subscriptable错 下载【detection_Resnet50_Final.pth】和【parsing_parsenet.pth】到【repositoriesCodeFormerweightsfacelib】目录下,并重新运行项目即可。 https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth https:/

    2024年02月12日
    浏览(40)
  • 【AI绘画Stable Diffusion】高清图像放大+面部修复+一键抠图,谈谈你可能不知道的优化技巧!

    一提起后期处理,我猜你可能立马想到的就是图像放大。 今天,我要向你展示的后期处理手法,以及优化技巧。 如果你常用的是秋叶大佬的整合包,那么你对\\\"R-ESRGAN 4x+\\\"和\\\"R-ESRGAN 4x+ Anime6B\\\"应该不会陌生。 R-ESRGAN 4x+:写实图片 R-ESRGAN 4x+ Anime6B:二次元图片 然而,你是否曾在

    2024年02月16日
    浏览(40)
  • AI绘画——使用stable-diffusion生成图片时提示RuntimeError: CUDA out of memory处理方法

    RuntimeError: CUDA out of memory. Tried to allocate 1.50 GiB (GPU 0; 8.00 GiB total capacity; 5.62 GiB already allocated; 109.75 MiB free; 5.74 GiB reserved in total by PyTorch) If reserved memory is allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF 1、添加参数–n_

    2024年02月02日
    浏览(40)
  • Stable-diffusion-webui使用Auto focal point crop面部焦点裁切报错opencv(4.8.0)...getLayerData

    这里使用的是秋叶的启动器,实际上我在自己搭的webui环境下也有这个问题。 webui使用面部焦点裁切(Auto Focal Point Crop)控制台报错opencv(4.8.0)…getLayerData的可能和opencv版本有关,可能是新版本里改了什么函数导致webui的旧代码无法调用。opencv-python默认安装版本是4.8.0,参考原

    2024年01月25日
    浏览(21)
  • stable diffusion图片转图片(教程)

    一般我们有两种途径对图像进行修复: PS 和 InPaint ,使用方法也十分多样。 WebUI 使用  --gradio-img2img-tool color-sketch  启动会带入一个插件对图片进行颜色涂抹(这里不是 Inpaint) Just resize : 将图像调整为目标分辨率。除非高度和宽度完全匹配,否则图片会被挤压 Crop and resize:调

    2024年02月06日
    浏览(21)
  • Stable Diffusion生成图片

    画质 masterpiece,best quality,illustration,extremely detail CG unity 8k wallpaper,ultra-detailed,depth of field 杰作,最佳质量,插图,极度详细的8K壁纸,超高详细度,景深 画风 Chinese ink painting,water color,oil painting,sketch,realistic 中国水墨画,水彩,油画,素描,写实 人物 1girl,solo,upper body,black hair,

    2024年02月07日
    浏览(28)
  • Stable Diffusion 生成高清图片

    记录一下使用 Stable Diffusion 生成高清图片使用的插件和过程。 打开 Stable Diffusion,单击 “扩展” = “从网址安装”, 输入下面项目,单击 “安装”, 扩展的 git 仓库网址: https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 然后单击 “已安装\\\",确认 “ultimate-upscale-for-automatic1

    2024年02月08日
    浏览(91)
  • 使用stable diffusion生成图片

    requirements.txt 内容如下 保存为stable_diffusion.py并执行  

    2024年02月13日
    浏览(36)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包