当前位置:网站首页>AI 绘画极简教程
AI 绘画极简教程
2022-06-27 19:07:00 【Python数据之道】
来源:机器学习算法与Python实战
大家好
前几天在朋友圈发了几张我用AI绘画工具 Disco Diffusion 画的画


既然有同学问,就写个极简教程吧,画个图是足够了,想要深入了解还需自行百度,可以找到更详细的教程。
第 0 步:科学上网,注册Google账号
第 1 步:打开 colab
https://colab.research.google.com/github/alembics/disco-diffusion/blob/main/Disco_Diffusion.ipynb
第 2 步:修改Setting Prompts Diffuse
其实只修改text_prompts就行



第 3 步:菜单栏点Run all,

OK 或 allow
等待片刻(取决于你抽到了什么显卡,还有你的n_batches),生成的画儿也可以在Drive里找到,目录如下️️️

总结
其实最关键的就是修改text_prompts,大家可以多去看看优秀艺术家的创作,看他们是怎么写Prompts的,不熟悉之前可以只修改其中的关键字,比如我把灯塔改成了航母:
["A beautiful painting of a Aircraft Carrier,
shining its light across a tumultuous sea of blood
by greg rutkowski and thomas kinkade,
Trending on artstation."]
整个画作的描述词可拆解为五个维度理解——画种描述、内容描述、画家描述、参考渲染方式、颜色描述。
画种描述:A beautiful painting of
内容描述:a singular lighthouse, shining its light across a tumultuous sea of blood
画家描述:by greg rutkowski and thomas kinkade
参考渲染方式:Trending on artstation(全球最专业的CG艺术家社区,又称A站)
颜色描述:yellow color scheme。
边栏推荐
- 系统自带的karsonzhang/fastadmin-addons报错
- JPA踩坑系列之save方法
- 润迈德医疗开启招股:未有基石投资者参与,亏损金额翻倍增长
- 基于微信小程序的警局报案便民服务平台#毕业设计
- Practice of combining rook CEPH and rainbow, a cloud native storage solution
- 划重点!国产电脑上安装字体小技巧
- GFS distributed file system
- Record a failure caused by a custom redis distributed lock
- Ceph分布式存储
- Is it safe to open an account and buy stocks on the Internet? New to stocks, no guidance
猜你喜欢

基于微信小程序的高校毕业论文管理系统#毕业设计

释放开源数据库创新力量 | 【甘肃】openGauss Meetup圆满结束

At 19:00 on Tuesday evening, the 8th live broadcast of battle code Pioneer - how to participate in openharmony's open source contribution in multiple directions

Can Oracle's CTAs bring constraints and other attributes to the new table?

Modify large online games through CE modifier

Character interception triplets of data warehouse: substrb, substr, substring
![Unleash the innovative power of open source database | [Gansu] opengauss meetup has come to a successful conclusion](/img/21/9c5f5122270adea9444ff5f2d199ed.jpg)
Unleash the innovative power of open source database | [Gansu] opengauss meetup has come to a successful conclusion

动物养殖生产虚拟仿真教学系统|华锐互动

How dbeaver restores and backs up databases

GoLand永久激活
随机推荐
Tutorial | fNIRS data processing toolkit homer2 download and installation
系统自带的karsonzhang/fastadmin-addons报错
[STL programming] [common competition] [Part 2]
BTC and eth recapture the lost land! Leading the market recovery? Encryption will enter the "ice age"!
Cerebral cortex: predicting children's mathematical skills from task state and resting state brain function connections
VMware vSphere esxi 7.0 installation tutorial
squid代理服务器
农产品期货怎么做怎么开户,期货开户手续费多少,找谁能优惠手续费?
如何将队列里面的内容没秒钟执行一次优先级
Dictionary tree (review)
JPA踩坑系列之save方法
教程|fNIRS数据处理工具包Homer2下载与安装
Save method of JPA stepping pit series
NVIDIA three piece environment configuration
Flutter隐藏AppBar的返回按钮
爱数课实验 | 第九期-利用机器学习方法进行健康智能诊断
Galaxy Kirin system LAN file sharing tutorial
MySQL速成——第一天--基础入门
Is it safe to open an account and buy stocks on the Internet? New to stocks, no guidance
At 19:00 on Tuesday evening, the 8th live broadcast of battle code Pioneer - how to participate in openharmony's open source contribution in multiple directions