深度学习的最新进展!三行代码实现AI绘画!

近期关于多模态方向的研究进展非常火热,尤其是文生图方向,国内外ERNIE-ViLG、Stable-Diffusion、Disco-Diffusion相继开源开放,对于想要快速尝试学术界最新成果的同学,不防试一试开源的工具PaddleHub,只需三行代码就可以生成高质量图片,效果非常惊艳~ 是时候发挥自己想象力的时候了~

传送门GitHub Code: https://github.com/PaddlePadd...

Huggingface Space: https://huggingface.co/spaces...

import paddlehub as hub 
module = hub.Module(name=" stable_diffusion ") 
results = module.generate_image(text_prompts=[" close-up maximalist illustration of lion, by makoto shinkai, akihiko yoshida, yoshitaka amano, super detailed "])
作者:nepeplwu原文地址:https://segmentfault.com/a/1190000042529124

%s 个评论

要回复文章请先登录注册