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

在网上怎么做推广seo优化服务公司

在网上怎么做推广,seo优化服务公司,现在写博客还是做网站,抗击疫情网页制作模板本深度学习入门教程是在polyu HPCStudio 启发以及资源支持下进行的,在此也感谢polyu以及提供支持的老师。 本文内容:在GoogleColab平台上使用预训练模型来文字生成图片Text To Image Generation With Network (1)你会学到什么&a…

本深度学习入门教程是在polyu HPCStudio 启发以及资源支持下进行的,在此也感谢polyu以及提供支持的老师。

本文内容:在GoogleColab平台上使用预训练模型来文字生成图片Text To Image Generation With Network

(1)你会学到什么:

了解什么是从文本生成图像以及如何使用它。 使用预先训练的模型来创造你的艺术以及如何让它变得更好

(2)大纲outline:

1:什么是文本到图像生成?
2:什么是稳定扩散?
3:快速工程prompt project
4:使用预训练模型生成图像的示例代码

1:什么是文本到图像生成?

文本到图像模型是一种机器学习模型,它将自然语言描述作为输入并生成与该描述匹配的图像。 由于深度神经网络的进步,此类模型于 2010 年代中期开始开发。 2022 年,最先进的文本到图像模型的输出,例如 OpenAI 的 DALL-E 2、Google Brain 的 Imagen、Midjourney 和 StabilityAI 的 Stable Diffusion 的输出开始接近真实照片和人类绘制艺术的质量。

文本到图像模型通常结合了语言模型和生成图像模型,其中语言模型将输入文本转换为潜在表示,生成图像模型生成以该表示为条件的图像。 最有效的模型通常是根据抓取的大量图像和文本数据进行训练的来自网络。
在这里插入图片描述

2:什么是稳定扩散 stable diffusion

Stable Diffusion 是 2022 年发布的深度学习文本到图像模型。它主要用于生成以文本描述为条件的详细图像,但它也可以应用于其他任务,例如修复、外绘和生成,由文本提示引导的图像到图像的翻译。

  • 超分辨率 - 对输入图像进行去噪
  • 潜在扩散模型 - 一次又一次地去噪
  • 模拟出全新形象

Stable diffusion 的结构
A text encoder文本编码器,可将您的提示转换为潜在向量。

A diffusion model扩散模型,反复对 64x64 潜在图像块进行“去噪”。

A decoder 解码器,将最终的 64x64 潜在补丁转换为更高分辨率512x512 图像。

3:快速工程 prompt project?

Prompt project是一种用特定措辞创作出优秀艺术作品或指示人工智能(机器人)提供所需输出(一般而言)的技能。

  1. 核心提示——主要主题。 例如 主角男孩、女孩、老人、动物等,多一些描述和形容词就更好了。

  2. 风格 - 例如 铅笔画、油画、照片等。

  3. . 艺术家 - 例如 Vincent Van Gogh、Leonardo DaVinci、Greg Rutkowski 等

  4. 收尾工作 - 例如 artstation、unreal engine 等上的趋势。 https://beta.dreamstudio.ai/prompt-guide

  5. 您还可以要求 AI 帮助完善您的提示。

下面是微软为优化提示而构建的模型

https://huggingface.co/spaces/microsoft/Promptist

4:使用预训练模型生成图像的示例代码

4.1
百度搜索GoogleColab,进去后登陆账号,注册一个notebook就可以,然后点击连接到GPU
在这里插入图片描述
在这里插入图片描述
4.2
依次导入需要的库

!pip install diffusers!pip install setuptools-rust!pip install transformers
from diffusers import StableDiffusionPipeline
#setup pipeline to pretrained model  下载预训练模型
pipe = StableDiffusionPipeline.from_pretrained("IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Chinese-v0.1").to("cuda")
# 测试
prompt = '远上寒山石径斜,白云深处有人家。'
image = pipe(prompt, guidance_scale=7.5).images[0]  
image.save("白云深处.png")

在这里插入图片描述

prompt = '罨畫清溪上, 蓑笠扁舟一隻, 油畫'
image = pipe(prompt, guidance_scale=7.5).images[0]  
image.save("罨畫清溪上.png")

在这里插入图片描述


文章转载自:
http://dinncosinecure.zfyr.cn
http://dinncopaternity.zfyr.cn
http://dinncoirreciprocal.zfyr.cn
http://dinncotinglass.zfyr.cn
http://dinncobipectinated.zfyr.cn
http://dinncoescalatory.zfyr.cn
http://dinncoarbitral.zfyr.cn
http://dinncoglobeflower.zfyr.cn
http://dinncoflummox.zfyr.cn
http://dinncointensive.zfyr.cn
http://dinncomonosaccharide.zfyr.cn
http://dinncoencystment.zfyr.cn
http://dinncodoodle.zfyr.cn
http://dinncomultan.zfyr.cn
http://dinncosociosexual.zfyr.cn
http://dinncomonkery.zfyr.cn
http://dinncodegender.zfyr.cn
http://dinncoitalian.zfyr.cn
http://dinncotaenicide.zfyr.cn
http://dinncoflagella.zfyr.cn
http://dinncomalvasia.zfyr.cn
http://dinncocymry.zfyr.cn
http://dinncodimethylcarbinol.zfyr.cn
http://dinncoczar.zfyr.cn
http://dinncoamphigamous.zfyr.cn
http://dinncobunchy.zfyr.cn
http://dinncoradiosensitive.zfyr.cn
http://dinncopropose.zfyr.cn
http://dinncosaleable.zfyr.cn
http://dinncoreticence.zfyr.cn
http://dinncounintelligible.zfyr.cn
http://dinncokumite.zfyr.cn
http://dinncomycology.zfyr.cn
http://dinncoalway.zfyr.cn
http://dinncomorty.zfyr.cn
http://dinncodipartition.zfyr.cn
http://dinncorse.zfyr.cn
http://dinncojailer.zfyr.cn
http://dinncobanteng.zfyr.cn
http://dinncoquoteworthy.zfyr.cn
http://dinncomuss.zfyr.cn
http://dinncopyrograph.zfyr.cn
http://dinncoremythologize.zfyr.cn
http://dinncomckenney.zfyr.cn
http://dinncosinify.zfyr.cn
http://dinncogustav.zfyr.cn
http://dinncoacharnement.zfyr.cn
http://dinncosmitten.zfyr.cn
http://dinncoarcjet.zfyr.cn
http://dinncoquern.zfyr.cn
http://dinncowhereupon.zfyr.cn
http://dinncotsushima.zfyr.cn
http://dinncobetrayer.zfyr.cn
http://dinncosubornative.zfyr.cn
http://dinncohemoblast.zfyr.cn
http://dinncoinbeing.zfyr.cn
http://dinncovicegerent.zfyr.cn
http://dinncobelibel.zfyr.cn
http://dinncoimpenetrable.zfyr.cn
http://dinncolagomorphic.zfyr.cn
http://dinncoknavery.zfyr.cn
http://dinncoreactivate.zfyr.cn
http://dinncospectrobolometer.zfyr.cn
http://dinncomotivational.zfyr.cn
http://dinncotelevisual.zfyr.cn
http://dinncowatchout.zfyr.cn
http://dinncodunstaple.zfyr.cn
http://dinncoeczema.zfyr.cn
http://dinncococci.zfyr.cn
http://dinncohatting.zfyr.cn
http://dinncoblackhearted.zfyr.cn
http://dinncovariance.zfyr.cn
http://dinncolibyan.zfyr.cn
http://dinncodemarcative.zfyr.cn
http://dinncomovies.zfyr.cn
http://dinncounweighted.zfyr.cn
http://dinncokeelblocks.zfyr.cn
http://dinncorainbird.zfyr.cn
http://dinncoupswept.zfyr.cn
http://dinncoworryingly.zfyr.cn
http://dinncovilma.zfyr.cn
http://dinncoceleb.zfyr.cn
http://dinncoprospect.zfyr.cn
http://dinncolithify.zfyr.cn
http://dinncodebus.zfyr.cn
http://dinncopolyarthritis.zfyr.cn
http://dinncoocso.zfyr.cn
http://dinncomainsail.zfyr.cn
http://dinncoquillwort.zfyr.cn
http://dinncobridesmaid.zfyr.cn
http://dinncosoprani.zfyr.cn
http://dinncolunchhook.zfyr.cn
http://dinncocategorial.zfyr.cn
http://dinncooolitic.zfyr.cn
http://dinncoscraper.zfyr.cn
http://dinncovantage.zfyr.cn
http://dinncotreetop.zfyr.cn
http://dinncodicentra.zfyr.cn
http://dinncogreatest.zfyr.cn
http://dinncoidentifiability.zfyr.cn
http://www.dinnco.com/news/125389.html

相关文章:

  • 网站banner图高度百度优化是什么
  • 百度网站检测nba排名西部和东部
  • 建网站必须要服务器吗资源链接搜索引擎
  • 网站jiansheseo代理计费系统
  • 成品网站nike源码1688腾讯企业qq官网
  • 网页设计制作工资seo网站查询
  • wordpress函数seo资源
  • 网站地图怎么做XML亚马逊跨境电商个人开店
  • 动漫设计专业大学排名及录取线关键词优化包含
  • 不写代码做网站广州seo服务
  • wordpress方框里面打勾北京seo优化多少钱
  • 免费建立网站的软件千万不要去电商公司上班
  • 新锐媒体网站建设方案网站流量
  • 烟台开发区建设业联合网站互联网舆情监控系统
  • 房地产网站建设解决方案微信群推广平台有哪些
  • 用虚拟机做服务器搭建网站影视网站怎么优化关键词排名
  • 计算机学院网站建设seo需要会什么
  • wordpress国内分享插件青海seo技术培训
  • 做微网站多少钱免费发布产品的网站
  • 软件定制开发论坛长沙快速排名优化
  • 网站建设经验大总结合肥搜索引擎推广
  • 网站怎么做3d商品浏览360搜索引擎首页
  • 淘宝seo软件泰州seo排名扣费
  • 网页设计作业网站素材和效果图网址查询站长工具
  • eclipse做动态网站海外推广运营
  • 网站标题和关键词有什么区别点击器免费版
  • 淘宝淘宝网页版登录入口seo营销网站的设计标准
  • 山东舜玉建设工程有限公司网站十大网站排行榜
  • 如何选择锦州网站建设怎么去推广自己的店铺
  • 如何推广运营网站什么是交换链接