WayBob commited on
Commit
f31f064
·
verified ·
1 Parent(s): f3d62ea

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ celeba_with_diff.png filter=lfs diff=lfs merge=lfs -text
37
+ cifar10_with_diff.png filter=lfs diff=lfs merge=lfs -text
38
+ mnist_with_diff.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,70 @@
1
- ---
2
- license: cc-by-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ tags:
4
+ - flow-matching
5
+ - generative-model
6
+ - image-generation
7
+ - pytorch
8
+ datasets:
9
+ - mnist
10
+ - cifar10
11
+ - celeba
12
+ ---
13
+
14
+ # UNet Flow Matching Models
15
+
16
+ Pre-trained UNet models for Flow Matching on image generation tasks.
17
+
18
+ ## Models
19
+
20
+ This repository contains three trained UNet Flow Matching models:
21
+
22
+ ### MNIST (28×28 Grayscale)
23
+ - **Checkpoint**: `mnist/ckpt.pth`
24
+ - **Parameters**: 6.2M
25
+ - **Configuration**: num_channels=64, num_res_blocks=2, class_cond=True
26
+ - **Training**: 10 epochs
27
+
28
+ ### CIFAR-10 (32×32 RGB)
29
+ - **Checkpoint**: `cifar10/ckpt.pth`
30
+ - **Parameters**: 9.0M
31
+ - **Configuration**: num_channels=64, num_res_blocks=2, class_cond=True
32
+ - **Training**: 20 epochs
33
+
34
+ ### CelebA (64×64 RGB)
35
+ - **Checkpoint**: `celeba64/ckpt.pth`
36
+ - **Parameters**: 83.0M
37
+ - **Configuration**: num_channels=128, num_res_blocks=2, class_cond=False
38
+ - **Training**: 50 epochs, final loss=0.114
39
+
40
+ ## Sample Results
41
+
42
+ ### MNIST
43
+ ![MNIST Samples](mnist_with_diff.png)
44
+
45
+ ### CIFAR-10
46
+ ![CIFAR-10 Samples](cifar10_with_diff.png)
47
+
48
+ ### CelebA 64×64
49
+ ![CelebA Samples](celeba_with_diff.png)
50
+
51
+ ## Usage
52
+
53
+ ```python
54
+ import torch
55
+ from huggingface_hub import hf_hub_download
56
+
57
+ # Download checkpoint
58
+ ckpt_path = hf_hub_download(
59
+ repo_id="WayBob/FlowMatching-Unet-Celeb-64x64",
60
+ filename="celeba64/ckpt.pth"
61
+ )
62
+
63
+ # Load model (requires the UNet implementation)
64
+ checkpoint = torch.load(ckpt_path, map_location="cuda")
65
+ # ... load into your UNet model
66
+ ```
67
+
68
+ ## License
69
+
70
+ CC BY-NC-SA 4.0
celeba_with_diff.png ADDED

Git LFS Details

  • SHA256: fdd2ceb0ec0f0305a69775384b43aa62edcaeb2d2b2ec947600c12807c3e0c2a
  • Pointer size: 131 Bytes
  • Size of remote file: 457 kB
cifar10_with_diff.png ADDED

Git LFS Details

  • SHA256: 470c6d65a4ed461564e9a194efd222a15575a91a90cc2cba27e05eaeb17ec545
  • Pointer size: 131 Bytes
  • Size of remote file: 184 kB
mnist_with_diff.png ADDED

Git LFS Details

  • SHA256: 785ef54116c67dc5fe94dc25b10954061b3cc89f68dd568c8327f5867251fa58
  • Pointer size: 131 Bytes
  • Size of remote file: 119 kB