File size: 296 Bytes
5f8e0eb 363feb0 8fa8700 5f8e0eb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
---
license: mit
tags:
- pytorch
- diffusers
- unconditional-image-generation
- diffusion-models-class
---
# 扩散模型生成蝴蝶图像
python
from diffusers import DDPMPipeline
pipeline = DDPMPipeline.from_pretrained('hairu00/ddpm-class-butterflies-00')
image = pipeline().images[0]
image
|