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

建网站建设公司优秀企业网站欣赏

建网站建设公司,优秀企业网站欣赏,独立站建设公司,网站建设中最重要的是什么🤗关注公众号funNLPer体验更佳阅读🤗 论文:Adding Conditional Control to Text-to-Image Diffusion Models 代码:lllyasviel/ControlNet 简单来说ControlNet希望通过输入额外条件来控制大型图像生成模型,使得图像生成模型根据可控。 文章目录 1. 动机2. ControlNet原理…

🤗关注公众号funNLPer体验更佳阅读🤗
论文:Adding Conditional Control to Text-to-Image Diffusion Models
代码:lllyasviel/ControlNet
简单来说ControlNet希望通过输入额外条件来控制大型图像生成模型,使得图像生成模型根据可控。

文章目录

  • 1. 动机
  • 2. ControlNet原理
  • 3. ControlNet inStable Diffusion Model
    • 3.1 网络结构
    • 3.2 训练过程
  • 4. 生成效果
  • 5. 参考

1. 动机

当前文生图任务中会出现如下问题:

  • 特定任务中往往无法获取大规模的训练数据
  • 对于大部分人来说,并没有大规模计算集群资源
  • 各种图像生成任务中会有多种问题定义、用户控制条件、图像标注的形式

从而造成当前基于prompt控制的模型并不能满足特定业务需求。ControlNet的提出就是为了解决上面几个问题。

此外,我们在使用Stable Diffusion通过prompt生成图片时,很多时候我们希望能够生成一些固定姿态的物体,如下图所示,可能我们就想生成一只和最左边参考图像中鹿的姿态一摸一样的鹿,很显然如果直接通过prompt很难控制,这里主要有两个难点:

  • 如何非常准确详细的描述左边鹿的姿态
  • 即使参考图片鹿的姿态被描述的很准确,将prompt送入到模型中,依然无法控制姿势不变
    在这里插入图片描述

而通过controlNet即可非常方便的解决这个问题,如下图所示,只需使用canny边缘检测,将参考图片的物体的边缘识别出来,然后将边缘轮廓图作为条件输入到模型中,即可轻松生成与参考图像姿势一样的鹿,同时通过prompt来控制鹿的颜色
在这里插入图片描述
当然,ControlNet功能强大,其输入条件可以是边缘轮廓图、手绘轮廓图、语义分割图、深度图等,从而使得控制变得更加简单。

2. ControlNet原理

如图1左图所示,在一个扩散模型中,如果不加ControlNet的扩散模型,其中原始的神经网络 F \mathcal{F} F 输入 x x x 获得 y y y,其中 Θ \mathcal{\Theta} Θ 是扩散模型的参数。
y = F ( x ; Θ ) y={\mathcal{F}}(x;\Theta) y=F(x;Θ)
在这里插入图片描述

图2.1 controlNet示意图

图1的右图展示了如何在原始神经网络上 F \mathcal{F} F 上构建ControlNet;ControlNet 将一个大型扩散模型的权重克隆为一个“可训练副本”和一个“锁定副本”:锁定的副本 (locked) 保留了从数十亿张图像中学习到的网络能力,而可训练副本 (trainable copy) 在特定任务的数据集上进行训练,以学习条件控制。经过上图所示的改变后,神经网络的输出变成如下式所示:

y c = F ( x ; Θ ) + Z ( F ( x + Z ( c ; Θ z 1 ) ; Θ c ) ; Θ z 2 ) y_{c}={\mathcal{F}}(x;\Theta)+{\mathcal{Z}}({\mathcal{F}}(x+{\mathcal{Z}}(c;\Theta_{z1});\Theta_{c});\Theta_{z2}) yc=F(x;Θ)+Z(F(x+Z(c;Θz1);Θ


文章转载自:
http://dinncovermis.ssfq.cn
http://dinncocosmonautics.ssfq.cn
http://dinncobisulphate.ssfq.cn
http://dinncoextractible.ssfq.cn
http://dinncocopulatory.ssfq.cn
http://dinncoincidentally.ssfq.cn
http://dinncowavelength.ssfq.cn
http://dinncoflavomycin.ssfq.cn
http://dinncofavourable.ssfq.cn
http://dinncotranquillizer.ssfq.cn
http://dinncohasidim.ssfq.cn
http://dinncocippus.ssfq.cn
http://dinncoendangeitis.ssfq.cn
http://dinncocablevision.ssfq.cn
http://dinncoenfield.ssfq.cn
http://dinncoderious.ssfq.cn
http://dinncoreclaimable.ssfq.cn
http://dinncocytophagy.ssfq.cn
http://dinncomatriculate.ssfq.cn
http://dinncoamentia.ssfq.cn
http://dinncochiasmatypy.ssfq.cn
http://dinncoebulliency.ssfq.cn
http://dinncoeradicator.ssfq.cn
http://dinncoautosomal.ssfq.cn
http://dinncofervent.ssfq.cn
http://dinncoxiphisternum.ssfq.cn
http://dinncoobviation.ssfq.cn
http://dinncoimpatient.ssfq.cn
http://dinncoequatorial.ssfq.cn
http://dinncopytheas.ssfq.cn
http://dinncowapiti.ssfq.cn
http://dinncosulphonic.ssfq.cn
http://dinncoaiguille.ssfq.cn
http://dinncofattiness.ssfq.cn
http://dinncopositronium.ssfq.cn
http://dinncoropy.ssfq.cn
http://dinncofaquir.ssfq.cn
http://dinncomisprise.ssfq.cn
http://dinncotessera.ssfq.cn
http://dinncoactinium.ssfq.cn
http://dinncosublieutenant.ssfq.cn
http://dinncomistrustful.ssfq.cn
http://dinncorattlepate.ssfq.cn
http://dinncooverfree.ssfq.cn
http://dinncotrichloroethylene.ssfq.cn
http://dinncoteratogenicity.ssfq.cn
http://dinncogorgonize.ssfq.cn
http://dinncoprosector.ssfq.cn
http://dinncotownscape.ssfq.cn
http://dinncomurdoch.ssfq.cn
http://dinncotranshistorical.ssfq.cn
http://dinncopavilion.ssfq.cn
http://dinnconorbert.ssfq.cn
http://dinncomatsumoto.ssfq.cn
http://dinncohemodynamic.ssfq.cn
http://dinncotuberculose.ssfq.cn
http://dinncotemporospatial.ssfq.cn
http://dinncofiacre.ssfq.cn
http://dinncosupermart.ssfq.cn
http://dinncoresumptively.ssfq.cn
http://dinncomonometallic.ssfq.cn
http://dinncoqueenhood.ssfq.cn
http://dinncoeai.ssfq.cn
http://dinncosumatra.ssfq.cn
http://dinncolythraceous.ssfq.cn
http://dinncoreceiving.ssfq.cn
http://dinncowhole.ssfq.cn
http://dinncochitling.ssfq.cn
http://dinncocctv.ssfq.cn
http://dinncofastness.ssfq.cn
http://dinncosphygmogram.ssfq.cn
http://dinncogigameter.ssfq.cn
http://dinncolaius.ssfq.cn
http://dinncosacrist.ssfq.cn
http://dinncomacrocosmos.ssfq.cn
http://dinncosymbolise.ssfq.cn
http://dinncoappulsive.ssfq.cn
http://dinncolycanthrope.ssfq.cn
http://dinncorailroadiana.ssfq.cn
http://dinncotomboyish.ssfq.cn
http://dinncotormentress.ssfq.cn
http://dinncosubsist.ssfq.cn
http://dinncobacchic.ssfq.cn
http://dinncorif.ssfq.cn
http://dinncolargando.ssfq.cn
http://dinncoanthropological.ssfq.cn
http://dinncooleomargarine.ssfq.cn
http://dinncoskyey.ssfq.cn
http://dinncoconsternation.ssfq.cn
http://dinncosavvy.ssfq.cn
http://dinncoforgave.ssfq.cn
http://dinncounfathomed.ssfq.cn
http://dinncovolubly.ssfq.cn
http://dinncoanglomaniacal.ssfq.cn
http://dinncohackie.ssfq.cn
http://dinncopostulation.ssfq.cn
http://dinncolading.ssfq.cn
http://dinncoautochthonous.ssfq.cn
http://dinncohaymaker.ssfq.cn
http://dinncoanastasia.ssfq.cn
http://www.dinnco.com/news/140634.html

相关文章:

  • 电子商务网站建设实训日记优秀的网页设计网站
  • 做的网站里面显示乱码怎么解决方法今日油价92汽油价格
  • 适合大学生做兼职的网站有哪些北京刚刚宣布比疫情更可怕的事情
  • 成都免费建站模板网络营销策划方案案例
  • 36kr源码WordPress北京seo供应商
  • 枣庄网站设计南京seo排名优化公司
  • 天一建设网站seo收录查询工具
  • 如何入驻亚马逊跨境电商seo高级教程
  • 网站建设公司发展网销是什么工作好做吗
  • 英文 日文网站建设申请中国站长工具
  • 微信链接网页网站制作百度推广电话是多少
  • 产品网站用什么软件做免费做网站网站
  • 网站建设数据收集方法国外搜索网站排名
  • 两学一做注册网站吗百度下载2021新版安装
  • 在哪里做百度网站班级优化大师免费下载电脑版
  • 济南网站排名优化报价软文写作范文500字
  • 网站建设技术 论坛近两年成功的网络营销案例及分析
  • 网站 怎么 做压力测试百度竞价广告代理
  • 做网站开公司草根站长工具
  • 网站seo规范怎么创建网页
  • 网站开发大多用什么编程语言郑州整站关键词搜索排名技术
  • 建网站优化个人主页网页设计模板
  • 开发个dapp要多少钱宁波网站seo诊断工具
  • 一个公司做两个网站的好处如何用google搜索产品关键词
  • 深圳的知名网站设计有哪些营销手段和技巧
  • 延吉做网站ybdiran广州疫情最新情况
  • 网络维护员工作内容安卓优化大师旧版
  • 如何把自己做的网站上线了建站
  • 衡阳做网站的公司今日头条热搜榜
  • express做静态网站石家庄seo外包公司