Stable diffusion 3.0

Esser P, Kulal S, Blattmann A, et al. Scaling rectified flow transformers for high-resolution image synthesis[C]//Forty-first International Conference on Machine Learning. 2024.

https://github.com/huggingface/diffusers/releases/tag/v0.29.0

https://huggingface.co/stabilityai/stable-diffusion-3-medium-diffusers

https://huggingface.co/docs/diffusers/main/en/api/pipelines/stable_diffusion/stable_diffusion_3

实验过程

  1. 安装依赖:

    bash 复制代码
    pip install -U diffusers
    pip install transformers
    pip install sentencepiece
  2. 在 huggingface 上申请 SD3 并创建 Token,然后在终端进行登录:

  3. 随后就可以使用 demo 进行推理,第一次下载模型较慢,以后每次调用可以直接加载模型进行推理:

    需要注意的是,预训练模型会下载到 cache 文件夹下,如果想要更改位置,可以提前设置 HF_HOMEHUGGINFACE_HUB_CACHE 环境变量 [1](#1)

实验结果

a photo of an astronaut riding a horse on mars:

a photo of a Lamborghini racing on the track:

a photo of the night scenery of Chongqing:

a photo of the Great Wall:

A poster of Ferrari:

A wallpaper of NBA stars:


  1. Diffusers ↩︎
相关推荐
weiwei228444 天前
文生图模型Stable Diffusion使用详解
stable diffusion·文生图
Hello123网站4 天前
DreamStudio-Stable Diffusion官方绘画工具
stable diffusion·ai工具
如若1234 天前
CompVis Stable Diffusion 正确安装与运行指南
stable diffusion
全息数据10 天前
DDPM代码讲解【详细!!!】
深度学习·stable diffusion·多模态·ddpm
scott19851213 天前
GSFix3D
扩散模型·生成式·世界模型
老鱼说AI19 天前
当自回归模型遇上扩散模型:下一代序列预测模型详解与Pytorch实现
人工智能·pytorch·深度学习·神经网络·语言模型·自然语言处理·stable diffusion
我希望的一路生花24 天前
Nik Collection 6.2全新版Nik降噪锐化调色PS/LR插件
人工智能·计算机视觉·设计模式·stable diffusion·aigc
GetcharZp24 天前
玩转AI绘画,你只差一个节点式“魔法”工具——ComfyUI 保姆级入门指南
人工智能·stable diffusion
Seeklike1 个月前
diffuxers学习--AutoPipeline
人工智能·python·stable diffusion·diffusers
游戏AI研究所1 个月前
ComfyUI 里的 Prompt 插值器(prompt interpolation / text encoder 插值方式)的含义和作用!
人工智能·游戏·机器学习·stable diffusion·prompt·aigc