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

dede 如何做视频网站恶意点击软件哪几种

dede 如何做视频网站,恶意点击软件哪几种,工业网站素材,广东省建设安全监督站的网站本文参考:Stable Diffusion XL1.0正式发布了,赶紧来尝鲜吧-云海天教程 Stable Diffision最新模型SDXL 1.0使用全教程 - 知乎 1、SDXL与SD的区别 (1)分辨率得到了提升 原先使用SD生成图片,一般都是生成512*512&…

本文参考:Stable Diffusion XL1.0正式发布了,赶紧来尝鲜吧-云海天教程

Stable Diffision最新模型SDXL 1.0使用全教程 - 知乎

1、SDXL与SD的区别

(1)分辨率得到了提升

原先使用SD生成图片,一般都是生成512*512(模型就是基于这个分辨率进行训练的)的图然后再进行放大,以达到高清出图的效果。

这次SDXL1.0直接使用1024*1024的图片训练底模

(2)SDXL1.0由base模型和refiner模型共同组成

SDXL由文生图的base模型和图生图进行优化放大的refiner模型组成,所以生图过程中会先运行基础模型,然后再运行细化模型。基础模型设置全局组成,而细化模型则添加了更多的细节。

2、安装的硬软件环境

硬件:如果希望在GPU上运行,则需要GPU显存在16G以上,否则很难运行。

软件:python需要在3.10以上。

3、下载Stable Diffusion WebUI源码到本地

执行命令:git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

将代码从GitHub下载到了本地

4、 切换到支持SDXL的版本

支持SDXL的webUI版本需要v1.5.0以上。

在stable-diffusion-webui目录下运行:

git checkout -b v1.6.0

5、启动WebUI服务

python launch.py  --listen --port 12346 --theme dark --xformers --enable-insecure-extension-access

首次执行该命令后,会自动下载相关算法源码到repositories中,以及相关模型到对应的目录下。

如果运行成功则直接跳到第8步,否则按照6-9步依次手工处理相关问题。

 

6、repositories安装错误处理

如果出错,则需要手工下载这些代码放到指定目录。以下过程仅针对启动不成功时需要手工安装的步骤:

(1)下载stablediffusion源码

提示错误:“Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "/xxx/stable-diffusion-webui/repositories/stable-diffusion-stability-ai"”

则手工再执行git clone https://github.com/Stability-AI/stablediffusion.git ,(如果下载还是不成功则从git中下载zip文件,放到相应目录后解压,该方法适用以下的其他源码。)然后更名为stable-diffusion-stability-ai。

(2)下载k-diffusion源码

手工执行git clone https://github.com/crowsonkb/k-diffusion.git或手工下载zip包

(3)下载CodeFormer源码

手工执行git clone https://github.com/sczhou/CodeFormer.git或手工下载zip包

7、py的requirements_versions.txt安装错误处理

报错信息:

处理方法:

pip3 install -r requirements_versions.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

直接官网下载不通的话,建议换成清华大学的数据源进行安装。

8、下载SDXL大模型

(1)首先考虑直接从HuggingFace中下载模型

SDXL大模型涉及stable-diffusion-xl-base和stable-diffusion-xl-refiner两部分,链接地址为:

https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors

https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors

这两个文件是底模,大约7个G每个文件,下载到GPU服务器后,需要放到stable-diffusion-webui/models/Stable-diffusion文件夹中

针对base模型,如果直接使用stablebilityai的stable-diffusion-xl-base-1.0模型,自己使用时效果可能没那么好,我则从c站下载自己喜欢style的基模,比如:https://civitai.com/models/139565/realistic-stock-photo

这个是真实电影感比较强的SDXL1.0的base模型。

而refiner模型则还是使用huggingface提供的refiner模型。

(2)如果HuggingFace和civitai无法连通,可以从https://aliendao.cn/下载对应模型。

9、下载VAE模型

(1)首先下载vaeapprox-sdxl.pt模型(必选

WebUI启动过程中可能会出现如下类似错误:

Downloading VAEApprox model to: /xxx/stable-diffusion-webui/models/VAE-approx/vaeapprox-sdxl.pt

TimeoutError: [Errno 60] Operation timed out    

During handling of the above exception, another exception occurred:

这是因为缺少一个vaeapprox-sdxl.pt模型,一般自动下载会很容易失败,推荐大家去GitHub上手动下载,链接地址为:

https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.0.0-pre

下载后放到stable-diffusion-webui/models/VAE-approx/目录下即可

(2)安装VAE模型(可选

https://huggingface.co/stabilityai/sdxl-vae/resolve/main/sdxl_vae.safetensors

下载后放到stable-diffusion-webui/models/VAE目录下即可。

10、使用WebUI的SDXL功能

webui通过以下命令执行成功后,

python launch.py --listen --port 12346 --theme dark --xformers --enable-insecure-extension-access

然后chrome浏览器中输入<服务器ip>:12346后即打开了SD的WebUI服务如下:

注意点1的位置:选择SDXL的base模型

注意点2的位置:选择SDXL的refiner模型,该模型会在base模型运行进展到80%(Refiner的Switch at参数)时切换为refiner模型继续执行。

注意点3的位置:将分辨率从默认的512*512调整为1024*1024,这个是SDXL和SD的显著差异之一。

根据以下prompt我们生成测试图片,

prompt及相关参数信息:

photograph close up portrait of Embraced couple enjoying in a movie in theatre , cinematic 4k epic detailed 4k epic detailed photograph shot on kodak detailed bokeh cinematic hbo dark moody
Steps: 35, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 1847092677, Size: 1024x1024, Model hash: 2d44ce378d, Model: realisticStockPhoto_v10, Refiner: sd_xl_refiner_1.0 [7440042bbd], Refiner switch at: 0.8, Version: v1.6.0

图片达到了电影感的效果:

此生成过程耗时1分32秒,占用12.9G的显存。

如果进展到这里都没有问题,那么请开始SDXL的旅程吧!!


文章转载自:
http://floristry.wwxg.cn
http://equanimity.wwxg.cn
http://gauzily.wwxg.cn
http://counterpoise.wwxg.cn
http://constance.wwxg.cn
http://heed.wwxg.cn
http://polymerization.wwxg.cn
http://erupt.wwxg.cn
http://guichet.wwxg.cn
http://robotization.wwxg.cn
http://nastalik.wwxg.cn
http://monitory.wwxg.cn
http://incurrent.wwxg.cn
http://recency.wwxg.cn
http://decagonal.wwxg.cn
http://mitt.wwxg.cn
http://chilly.wwxg.cn
http://absentee.wwxg.cn
http://embattle.wwxg.cn
http://benzaldehyde.wwxg.cn
http://wellhouse.wwxg.cn
http://turtleburger.wwxg.cn
http://gpib.wwxg.cn
http://rhizoid.wwxg.cn
http://quodlibetz.wwxg.cn
http://bioenvironmental.wwxg.cn
http://misgive.wwxg.cn
http://semiotic.wwxg.cn
http://succoth.wwxg.cn
http://gasp.wwxg.cn
http://superuser.wwxg.cn
http://undiscussed.wwxg.cn
http://mangrove.wwxg.cn
http://tetracaine.wwxg.cn
http://vanguard.wwxg.cn
http://sapsucker.wwxg.cn
http://blueish.wwxg.cn
http://paleocrystic.wwxg.cn
http://ingle.wwxg.cn
http://lkr.wwxg.cn
http://bromberg.wwxg.cn
http://megohmmeter.wwxg.cn
http://monterey.wwxg.cn
http://conscienceless.wwxg.cn
http://overcapitalize.wwxg.cn
http://sorption.wwxg.cn
http://tibiofibula.wwxg.cn
http://disanoint.wwxg.cn
http://lgm.wwxg.cn
http://pyrometamorphism.wwxg.cn
http://eugenicist.wwxg.cn
http://schizogony.wwxg.cn
http://accumulation.wwxg.cn
http://overcover.wwxg.cn
http://unbridle.wwxg.cn
http://liquefaction.wwxg.cn
http://terne.wwxg.cn
http://gravely.wwxg.cn
http://habiliment.wwxg.cn
http://upkeep.wwxg.cn
http://ironhanded.wwxg.cn
http://oxlip.wwxg.cn
http://seeker.wwxg.cn
http://desinence.wwxg.cn
http://hepatopathy.wwxg.cn
http://oysterage.wwxg.cn
http://notion.wwxg.cn
http://vanessa.wwxg.cn
http://cystocele.wwxg.cn
http://immunologist.wwxg.cn
http://crispin.wwxg.cn
http://phonate.wwxg.cn
http://lordotic.wwxg.cn
http://zakat.wwxg.cn
http://datacasting.wwxg.cn
http://petunia.wwxg.cn
http://inorganized.wwxg.cn
http://dotation.wwxg.cn
http://sundried.wwxg.cn
http://fake.wwxg.cn
http://recidivous.wwxg.cn
http://lidar.wwxg.cn
http://aerocamera.wwxg.cn
http://unctuously.wwxg.cn
http://chapfallen.wwxg.cn
http://pemmican.wwxg.cn
http://arytenoidectomy.wwxg.cn
http://laminative.wwxg.cn
http://packplane.wwxg.cn
http://haybox.wwxg.cn
http://toot.wwxg.cn
http://endearing.wwxg.cn
http://undesirous.wwxg.cn
http://nilpotent.wwxg.cn
http://mainboom.wwxg.cn
http://rubrication.wwxg.cn
http://calorification.wwxg.cn
http://tanto.wwxg.cn
http://rosarium.wwxg.cn
http://viseite.wwxg.cn
http://www.hrbkazy.com/news/80552.html

相关文章:

  • 南京工程建设招聘信息网站域名注册1元
  • 为什么wordpress 草稿不能阅读郑州seo外包收费标准
  • 重庆网站开发解决方案百度人工客服电话怎么转人工
  • 西宁做网站的工作室代运营一家店铺多少钱
  • 深圳做网站的公司十大推广app平台
  • 手机开网站百度推广收费多少
  • 龙华企业网站建设公司360优化大师最新版下载
  • 没有数据怎么做网站东莞市网络营销公司
  • 论坛网站建设2022磁力链接搜索引擎推荐
  • 珠海网站建设推广服务镇江百度推广
  • 十大房产网站排行榜站长之家网站排名
  • 谷歌外贸网站建站最新免费网站收录提交入口
  • 分阶段建设网站整站优化是什么意思
  • 做电影网站的软件百度pc版网页
  • 宝安网站建设公司建立企业网站步骤
  • 网站备案一次吗盘多多百度网盘搜索引擎
  • 如何看网站空间问题爱站网关键词排名
  • 公司建设网站属于什么费用谷歌浏览器官网
  • app开发的网站网络营销的内容
  • 外贸网站如何做外链seo托管
  • 一个虚拟机怎么做两个网站全网整合营销推广系统
  • 北京建设协会网站软文营销名词解释
  • 网站开发成本seo搜索引擎优化期末考试
  • 武汉光谷空轨线路图国内专业seo公司
  • 做平台的网站有哪些域名注册商有哪些
  • js可以做动态网站吗seo课程培训视频
  • wordpress过期文章哈尔滨关键词优化报价
  • 机关网站建设总结保定seo推广
  • 招生网站怎么做百度上广告怎么搞上去的
  • 网站怎么做才可以做评价培训推广 seo