nroggendorff
commited on
Commit
•
ccd5772
1
Parent(s):
0843004
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,51 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
metrics:
|
4 |
+
- mse
|
5 |
+
library_name: diffusers
|
6 |
+
tags:
|
7 |
+
- diffusion
|
8 |
+
pipeline_tag: unconditional-image-generation
|
9 |
---
|
10 |
+
|
11 |
+
## Nebulae Model Card
|
12 |
+
|
13 |
+
DDPMCats is a latent noise-to-image diffusion model capable of generating images of nebulas. For more information about how Stable Diffusion functions, please have a look at 🤗's [Stable Diffusion blog](https://huggingface.co/blog/stable_diffusion).
|
14 |
+
|
15 |
+
You can use this with the 🧨Diffusers library from [Hugging Face](https://huggingface.co).
|
16 |
+
|
17 |
+
![So cool, right?](pipe.png)
|
18 |
+
|
19 |
+
### Diffusers
|
20 |
+
```py
|
21 |
+
from diffusers import DiffusionPipeline
|
22 |
+
|
23 |
+
pipeline = DiffusionPipeline.from_pretrained("nroggendorff/nebulae")
|
24 |
+
pipe = pipeline.to("cuda")
|
25 |
+
|
26 |
+
image = pipe().images[0]
|
27 |
+
|
28 |
+
image.save("nebula.png")
|
29 |
+
```
|
30 |
+
|
31 |
+
|
32 |
+
### Model Details
|
33 |
+
- `train_batch_size`: 16
|
34 |
+
- `eval_batch_size`: 16
|
35 |
+
- `num_epochs`: 50
|
36 |
+
- `gradient_accumulation_steps`: 1
|
37 |
+
- `learning_rate`: 1e-4
|
38 |
+
- `lr_warmup_steps`: 500
|
39 |
+
- `mixed_precision`: "fp16"
|
40 |
+
- `eval_metric`: "mean_squared_error"
|
41 |
+
|
42 |
+
### Limitations
|
43 |
+
|
44 |
+
- The model does not achieve perfect photorealism
|
45 |
+
- The model cannot render legible text
|
46 |
+
- The model was trained on a medium-to-large-scale dataset: [Nebulae](https://huggingface.co/datasets/nroggendorff/nebulae)
|
47 |
+
|
48 |
+
### Developed by
|
49 |
+
- Noa Linden Roggendorff
|
50 |
+
|
51 |
+
*This model card was written by Noa Roggendorff and is based on the [Stable Diffusion v1-5 Model Card](https://huggingface.co/runwayml/stable-diffusion-v1-5).*
|