lavinal712 commited on
Commit
2d22998
·
verified ·
1 Parent(s): c3d9431

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +38 -3
README.md CHANGED
@@ -1,3 +1,38 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+ # Transfusion - VAE
6
+
7
+ ## How to use with 🧨 diffusers
8
+
9
+ ```py
10
+ from diffusers.models import AutoencoderKL
11
+ vae = AutoencoderKL.from_pretrained("lavinal712/transfusion-vae")
12
+ ```
13
+
14
+ ## Model
15
+
16
+ This model was trained for 7 epochs on ImageNet, with training parameters following the original Transfusion paper.
17
+
18
+ $\mathcal{L}_{\mathrm{VAE}} = \mathcal{L}_1 + \mathcal{L}_{\mathrm{LPIPS}} + 0.5\mathcal{L}_{\mathrm{GAN}} + 0.2\mathcal{L}_{\mathrm{ID}} + 0.000001\mathcal{L}_{\mathrm{KL}}$
19
+
20
+ ## Evaluation
21
+
22
+ ImageNet 2012 (256x256, val, 50000 images)
23
+
24
+ | Model | rFID | PSNR | SSIM | LPIPS |
25
+ |-----------------|-------|--------|-------|-------|
26
+ | Transfusion-VAE | 0.567 | 28.195 | 0.829 | 0.100 |
27
+ | SD-VAE | 0.692 | 26.910 | 0.772 | 0.130 |
28
+
29
+ PSNR: 28.19461106581366 ± 4.319437641910872
30
+ SSIM: 0.8292981386184692 ± 0.10117273032665253
31
+ LPIPS: 0.10047737887922209 ± 0.04119070588416227
32
+ rFID: 0.5673381146947349
33
+
34
+ Paper: [Transfusion: Predict the Next Token and Diffuse Images with One Multi-Modal Model](https://arxiv.org/abs/2408.11039)
35
+
36
+ Dataset: [ImageNet](https://image-net.org/)
37
+
38
+ Base Code: [lavinal712/AutoencoderKL](https://github.com/lavinal712/AutoencoderKL)