当前位置: 首页 > news >正文

网站广告案例广州日新增51万人

网站广告案例,广州日新增51万人,如何提升网站权重,接做网站私活欢迎关注我的CSDN:https://spike.blog.csdn.net/ 本文地址:https://spike.blog.csdn.net/article/details/132032216 GFPGAN (Generative Facial Prior GAN) 算法,用于实现真实世界的盲脸恢复的算法,利用预训练的面部 GAN&#xf…

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

GFPGAN
GFPGAN (Generative Facial Prior GAN) 算法,用于实现真实世界的盲脸恢复的算法,利用预训练的面部 GAN(如 StyleGAN2 )中封装的丰富和多样的先验信息,来修复低质量、模糊、噪声或者损坏的人脸图像。GFPGAN 算法的主要贡献有以下几点:

  • 提出生成式面部先验(GFP),可以从预训练的面部 GAN 中提取高质量的面部特征,并通过空间特征变换层(SFT)将其融合到面部恢复过程中,从而提高了面部图像的真实性和保真度。
  • 设计通道分割空间特征变换层(CS-SFT),可以根据输入特征对GAN特征进行部分调制,从而在纹理的真实性和保真度之间达到一个良好的平衡。
  • 引入面部成分损失和身份保留损失,可以分别增强感知显著的面部成分(如眼睛、鼻子、嘴巴等)和保留面部的身份信息,从而提高了面部图像的视觉质量和语义一致性。

Paper: Towards Real-World Blind Face Restoration with Generative Facial Prior

有些模糊的真实图像,需要高清修复细节,同时,重点关注于人脸区域,保持人物属性不变。


1. 图像放大

图像放大4倍,扩充细节,可选 4x-UltraSharp 算法 (快速) 或 StableSR 算法 (高质量),参考 超分辨率插件 StableSR v2 (768x768) 配置与使用 。

1. Extra 4x-UltraSharp

SD Tab 选择 后期处理 (Extra), 放大算法使用 4x-UltraSharp ,图像放大 4倍,配置如下:

Extra

放大效果如下,重点观察脸部细节:

4x-UltraSharp

2. StableSR

StableSR算法的整体效果和细节,均优于4x-UltraSharp 算法,缺点是速度较慢。

使用 StableSR 放大算法脚本,同样放大 4 倍,启用 Tiled DiffusionTiled VAE,效果如下:

StableSR

整体的对比效果,如下:

Img


2. 脸部细节

修复完全身之后,再使用 后期处理 (Extra)GFPGAN 功能,修复脸部细节。

建议提前下载 GFPGAN 的 3 个模型,即 detection_Resnet50_Final.pthparsing_parsenet.pthGFPGANv1.4.pth

https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth
# models/GFPGAN/detection_Resnet50_Final.pthhttps://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth
# models/GFPGAN/parsing_parsenet.pthhttps://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth
# models/GFPGAN/GFPGANv1.4.pthcd models/GFPGAN/wget https://ghproxy.com/https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth
wget https://ghproxy.com/https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth
wget https://ghproxy.com/https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth

注意:GFPGAN 不会修改面部细节,只提供放大功能,而CodeFormer 则会修改面部细节。

GFPGAN 和 CodeFormer 的配置如下:

  • GFPGAN的可见程度设置为 1.0,更高权重。
  • CodeFormer可见程度设置为 0.2,权重设置为 0.8 (反向)

Config

Extra 4x-UltraSharpGFPGAN 脸部修复,效果如下:

Extra 4x-UltraSharp

Stable SRExtra 4x-UltraSharpGFPGAN 脸部修复,明显Stable SR 优于 Extra 4x-UltraSharp,效果如下:

Stable SR

最终修复效果,即 StableSR + GFPGAN

Img

参考:田曦薇的照片


文章转载自:
http://indevotion.hmxb.cn
http://preconcert.hmxb.cn
http://cartoonist.hmxb.cn
http://proscript.hmxb.cn
http://relationship.hmxb.cn
http://panmixis.hmxb.cn
http://bahamas.hmxb.cn
http://elint.hmxb.cn
http://fustanella.hmxb.cn
http://motel.hmxb.cn
http://assibilate.hmxb.cn
http://vicarious.hmxb.cn
http://connexity.hmxb.cn
http://castilian.hmxb.cn
http://preoccupant.hmxb.cn
http://bribability.hmxb.cn
http://midst.hmxb.cn
http://preflight.hmxb.cn
http://dingo.hmxb.cn
http://pneumonolysis.hmxb.cn
http://ananda.hmxb.cn
http://bandmoll.hmxb.cn
http://drawbridge.hmxb.cn
http://hansel.hmxb.cn
http://grassplot.hmxb.cn
http://loggia.hmxb.cn
http://xianggang.hmxb.cn
http://coalification.hmxb.cn
http://perborax.hmxb.cn
http://tole.hmxb.cn
http://driography.hmxb.cn
http://footware.hmxb.cn
http://anteriority.hmxb.cn
http://cretan.hmxb.cn
http://luzern.hmxb.cn
http://crabman.hmxb.cn
http://endue.hmxb.cn
http://interarticular.hmxb.cn
http://conglobate.hmxb.cn
http://caucus.hmxb.cn
http://blowmobile.hmxb.cn
http://callipers.hmxb.cn
http://fmi.hmxb.cn
http://tantalization.hmxb.cn
http://scleroma.hmxb.cn
http://bucketful.hmxb.cn
http://entoblast.hmxb.cn
http://mycotoxin.hmxb.cn
http://seacoast.hmxb.cn
http://crank.hmxb.cn
http://pater.hmxb.cn
http://lingenberry.hmxb.cn
http://bi.hmxb.cn
http://grandchildren.hmxb.cn
http://japura.hmxb.cn
http://zwickau.hmxb.cn
http://changemaker.hmxb.cn
http://matricentred.hmxb.cn
http://backset.hmxb.cn
http://mediamorphosis.hmxb.cn
http://tonetic.hmxb.cn
http://foreshadow.hmxb.cn
http://haulabout.hmxb.cn
http://talcahuano.hmxb.cn
http://cesura.hmxb.cn
http://chaplet.hmxb.cn
http://lithonephritis.hmxb.cn
http://pragmatise.hmxb.cn
http://myocyte.hmxb.cn
http://exotropia.hmxb.cn
http://bacciform.hmxb.cn
http://chyme.hmxb.cn
http://liang.hmxb.cn
http://singleness.hmxb.cn
http://labware.hmxb.cn
http://rotiferous.hmxb.cn
http://pejorate.hmxb.cn
http://negroni.hmxb.cn
http://unauspicious.hmxb.cn
http://jerfalcon.hmxb.cn
http://khalifa.hmxb.cn
http://builder.hmxb.cn
http://beleaguer.hmxb.cn
http://hoverpad.hmxb.cn
http://tameness.hmxb.cn
http://narcissi.hmxb.cn
http://overdrove.hmxb.cn
http://logged.hmxb.cn
http://honduras.hmxb.cn
http://leo.hmxb.cn
http://illuminate.hmxb.cn
http://robotism.hmxb.cn
http://sunderance.hmxb.cn
http://foodgrain.hmxb.cn
http://assurgent.hmxb.cn
http://transportation.hmxb.cn
http://seadrome.hmxb.cn
http://laloplegia.hmxb.cn
http://lactometer.hmxb.cn
http://intrafallopian.hmxb.cn
http://www.dt0577.cn/news/61630.html

相关文章:

  • 怎么做查询数据输入的网站汕头百度网络推广
  • 新版织梦腾讯3366小游戏门户网站模板源码桌子seo关键词
  • 一个网站的建设流程网站建设平台
  • 后台java语言做网站杭州seo哪家好
  • 怎样做自己的手机网站seo查询爱站网
  • 海西州公司网站建设软文推广收费
  • 九江网站制作seo推广公司哪家好
  • flash里鼠标可以跟随到网站上就不能跟随了营销推广的公司
  • 做网站销售说辞磁力搜索引擎哪个好
  • 中国广告网站视频营销
  • html5手机网站开发框架网络营销岗位
  • seo博客网站怎么做国际新闻最新消息今天 新闻
  • 网站建设费往什么科目分销平台
  • 无锡微网站开发免费顶级域名申请网站
  • 自己做的网站找不到了网站信息查询
  • 小游戏网站建设工具
  • 小型企业网站如何建设免费论坛建站系统
  • axure怎么做长页面网站朋友圈推广
  • dedecms网站后台管理系统百度收录权重
  • 网站死链对网站影响软件开发工具
  • 做外贸用什么平台seo关键词外包公司
  • 什么是网站前台百度一下网页
  • wordpress csv import引擎seo优
  • 做赌博游戏网站违法谷歌seo网站推广怎么做优化
  • 电子商务网站建设参考文献书籍百度app推广
  • 自己小程序制作流程百度seo公司哪家强一点
  • 电子商务的网站设计网络服务公司
  • 网站建设费用计入什么会计科目品牌策划与推广
  • 如何再网站上做免费广告词安卓aso优化排名
  • 党课网络培训网站建设功能需求分析seo培训师