merge
Browse files
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
33 |
ckpt_00560000-kat-ema-pruned.ckpt filter=lfs diff=lfs merge=lfs -text
|
34 |
ckpt_00840000-kat-ema-pruned.ckpt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
33 |
ckpt_00560000-kat-ema-pruned.ckpt filter=lfs diff=lfs merge=lfs -text
|
34 |
ckpt_00840000-kat-ema-pruned.ckpt filter=lfs diff=lfs merge=lfs -text
|
35 |
+
vae-ft-ema-560000-ema-pruned.ckpt filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,4 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Improved Autoencoders
|
|
|
|
|
|
|
|
|
2 |
## Decoder Finetuning
|
3 |
We publish two kl-f8 autoencoder versions, finetuned from the original [kl-f8 autoencoder](https://github.com/CompVis/latent-diffusion#pretrained-autoencoding-models).
|
4 |
The first, _ft-EMA_, was resumed from the original checkpoint, trained for 313198 steps and uses EMA weights.
|
@@ -14,8 +26,8 @@ _Original kl-f8 VAE vs f8-ft-EMA vs f8-ft-MSE_
|
|
14 |
|----------|---------|------|--------------|---------------|---------------|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|
|
15 |
| | | | | | | | |
|
16 |
| original | 246803 | 4.99 | 23.4 +/- 3.8 | 0.69 +/- 0.14 | 1.01 +/- 0.28 | https://ommer-lab.com/files/latent-diffusion/kl-f8.zip | as used in SD |
|
17 |
-
| ft-EMA | 560001 | 4.42 | 23.8 +/- 3.9 | 0.69 +/- 0.13 | 0.96 +/- 0.27 | https://huggingface.co/stabilityai/
|
18 |
-
| ft-MSE | 840001 | 4.70 | 24.5 +/- 3.7 | 0.71 +/- 0.13 | 0.92 +/- 0.27 | https://huggingface.co/stabilityai/
|
19 |
|
20 |
|
21 |
### LAION-Aesthetics 5+ (256x256, subset, 10000 images)
|
@@ -23,8 +35,8 @@ _Original kl-f8 VAE vs f8-ft-EMA vs f8-ft-MSE_
|
|
23 |
|----------|-----------|------|--------------|---------------|---------------|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|
|
24 |
| | | | | | | | |
|
25 |
| original | 246803 | 2.61 | 26.0 +/- 4.4 | 0.81 +/- 0.12 | 0.75 +/- 0.36 | https://ommer-lab.com/files/latent-diffusion/kl-f8.zip | as used in SD |
|
26 |
-
| ft-EMA | 560001 | 1.77 | 26.7 +/- 4.8 | 0.82 +/- 0.12 | 0.67 +/- 0.34 | https://huggingface.co/stabilityai/
|
27 |
-
| ft-MSE | 840001 | 1.88 | 27.3 +/- 4.7 | 0.83 +/- 0.11 | 0.65 +/- 0.34 | https://huggingface.co/stabilityai/
|
28 |
|
29 |
|
30 |
### Visual
|
@@ -37,25 +49,25 @@ _Visualization of reconstructions on 256x256 images from the COCO2017 validatio
|
|
37 |
</p>
|
38 |
|
39 |
<p align="center">
|
40 |
-
<img src=eval/ae-decoder-tuning-reconstructions/merged/00025_merged.png />
|
41 |
</p>
|
42 |
|
43 |
<p align="center">
|
44 |
-
<img src=eval/ae-decoder-tuning-reconstructions/merged/00011_merged.png />
|
45 |
</p>
|
46 |
|
47 |
<p align="center">
|
48 |
-
<img src=eval/ae-decoder-tuning-reconstructions/merged/00037_merged.png />
|
49 |
</p>
|
50 |
|
51 |
<p align="center">
|
52 |
-
<img src=eval/ae-decoder-tuning-reconstructions/merged/00043_merged.png />
|
53 |
</p>
|
54 |
|
55 |
<p align="center">
|
56 |
-
<img src=eval/ae-decoder-tuning-reconstructions/merged/00053_merged.png />
|
57 |
</p>
|
58 |
|
59 |
<p align="center">
|
60 |
-
<img src=eval/ae-decoder-tuning-reconstructions/merged/00029_merged.png />
|
61 |
</p>
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- stable-diffusion
|
5 |
+
- stable-diffusion-diffusers
|
6 |
+
- text-to-image
|
7 |
+
inference: false
|
8 |
+
---
|
9 |
# Improved Autoencoders
|
10 |
+
|
11 |
+
## Utilizing
|
12 |
+
These weights are intended to be used with the original [CompVis Stable Diffusion codebase](https://github.com/CompVis/stable-diffusion). If you are looking for the model to use with the D🧨iffusers library, [come here](https://huggingface.co/CompVis/stabilityai/sd-vae-ft-ema).
|
13 |
+
|
14 |
## Decoder Finetuning
|
15 |
We publish two kl-f8 autoencoder versions, finetuned from the original [kl-f8 autoencoder](https://github.com/CompVis/latent-diffusion#pretrained-autoencoding-models).
|
16 |
The first, _ft-EMA_, was resumed from the original checkpoint, trained for 313198 steps and uses EMA weights.
|
|
|
26 |
|----------|---------|------|--------------|---------------|---------------|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|
|
27 |
| | | | | | | | |
|
28 |
| original | 246803 | 4.99 | 23.4 +/- 3.8 | 0.69 +/- 0.14 | 1.01 +/- 0.28 | https://ommer-lab.com/files/latent-diffusion/kl-f8.zip | as used in SD |
|
29 |
+
| ft-EMA | 560001 | 4.42 | 23.8 +/- 3.9 | 0.69 +/- 0.13 | 0.96 +/- 0.27 | https://huggingface.co/stabilityai/sd-vae-ft-ema-original/resolve/main/vae-ft-ema-560000-ema-pruned.ckpt | slightly better overall, with EMA |
|
30 |
+
| ft-MSE | 840001 | 4.70 | 24.5 +/- 3.7 | 0.71 +/- 0.13 | 0.92 +/- 0.27 | https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt | resumed with EMA from ft-EMA, emphasis on MSE (rec. loss = MSE + 0.1 * LPIPS), smoother outputs |
|
31 |
|
32 |
|
33 |
### LAION-Aesthetics 5+ (256x256, subset, 10000 images)
|
|
|
35 |
|----------|-----------|------|--------------|---------------|---------------|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|
|
36 |
| | | | | | | | |
|
37 |
| original | 246803 | 2.61 | 26.0 +/- 4.4 | 0.81 +/- 0.12 | 0.75 +/- 0.36 | https://ommer-lab.com/files/latent-diffusion/kl-f8.zip | as used in SD |
|
38 |
+
| ft-EMA | 560001 | 1.77 | 26.7 +/- 4.8 | 0.82 +/- 0.12 | 0.67 +/- 0.34 | https://huggingface.co/stabilityai/sd-vae-ft-ema-original/resolve/main/vae-ft-ema-560000-ema-pruned.ckpt | slightly better overall, with EMA |
|
39 |
+
| ft-MSE | 840001 | 1.88 | 27.3 +/- 4.7 | 0.83 +/- 0.11 | 0.65 +/- 0.34 | https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt | resumed with EMA from ft-EMA, emphasis on MSE (rec. loss = MSE + 0.1 * LPIPS), smoother outputs |
|
40 |
|
41 |
|
42 |
### Visual
|
|
|
49 |
</p>
|
50 |
|
51 |
<p align="center">
|
52 |
+
<img src=https://huggingface.co/stabilityai/stable-diffusion-decoder-finetune/resolve/main/eval/ae-decoder-tuning-reconstructions/merged/00025_merged.png />
|
53 |
</p>
|
54 |
|
55 |
<p align="center">
|
56 |
+
<img src=https://huggingface.co/stabilityai/stable-diffusion-decoder-finetune/resolve/main/eval/ae-decoder-tuning-reconstructions/merged/00011_merged.png />
|
57 |
</p>
|
58 |
|
59 |
<p align="center">
|
60 |
+
<img src=https://huggingface.co/stabilityai/stable-diffusion-decoder-finetune/resolve/main/eval/ae-decoder-tuning-reconstructions/merged/00037_merged.png />
|
61 |
</p>
|
62 |
|
63 |
<p align="center">
|
64 |
+
<img src=https://huggingface.co/stabilityai/stable-diffusion-decoder-finetune/resolve/main/eval/ae-decoder-tuning-reconstructions/merged/00043_merged.png />
|
65 |
</p>
|
66 |
|
67 |
<p align="center">
|
68 |
+
<img src=https://huggingface.co/stabilityai/stable-diffusion-decoder-finetune/resolve/main/eval/ae-decoder-tuning-reconstructions/merged/00053_merged.png />
|
69 |
</p>
|
70 |
|
71 |
<p align="center">
|
72 |
+
<img src=https://huggingface.co/stabilityai/stable-diffusion-decoder-finetune/resolve/main/eval/ae-decoder-tuning-reconstructions/merged/00029_merged.png />
|
73 |
</p>
|
ckpt_00840000-kat-ema-pruned.ckpt
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:c6a580b13a5bc05a5e16e4dbb80608ff2ec251a162311590c1f34c013d7f3dab
|
3 |
-
size 334695179
|
|
|
|
|
|
|
|
ckpt_00560000-kat-ema-pruned.ckpt → vae-ft-ema-560000-ema-pruned.ckpt
RENAMED
File without changes
|