zhaojingyu
commited on
Commit
•
694fb13
1
Parent(s):
cc16364
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- pytorch
|
5 |
+
- diffusers
|
6 |
+
- unconditional-image-generation
|
7 |
+
- diffusion-models-class
|
8 |
+
---
|
9 |
+
|
10 |
+
# 这是我第一个扩散模型哦~~
|
11 |
+
This model is a diffusion model for unconditional image generation of cute 🦋.
|
12 |
+
|
13 |
+
## Usage
|
14 |
+
|
15 |
+
```python
|
16 |
+
from diffusers import DDPMPipeline
|
17 |
+
|
18 |
+
pipeline = DDPMPipeline.from_pretrained('zhaojingyu/sd-class-butterflies-32')
|
19 |
+
image = pipeline().images[0]
|
20 |
+
image
|
21 |
+
```
|