Shiroi-max commited on
Commit
b8a916d
2 Parent(s): 9ed13ec 9cbb10c

Merge branch 'main' of https://huggingface.co./Shiroi-max/ddpm-mnist-32

Browse files
.gitattributes CHANGED
@@ -38,3 +38,5 @@ samples/0001.png filter=lfs diff=lfs merge=lfs -text
38
  samples/0002.png filter=lfs diff=lfs merge=lfs -text
39
  samples/0003.png filter=lfs diff=lfs merge=lfs -text
40
  samples/0004.png filter=lfs diff=lfs merge=lfs -text
 
 
 
38
  samples/0002.png filter=lfs diff=lfs merge=lfs -text
39
  samples/0003.png filter=lfs diff=lfs merge=lfs -text
40
  samples/0004.png filter=lfs diff=lfs merge=lfs -text
41
+ samples/0005.png filter=lfs diff=lfs merge=lfs -text
42
+ samples/0006.png filter=lfs diff=lfs merge=lfs -text
logs/train_example/events.out.tfevents.1717361253.federatedlearning.2059772.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7605362f336f3c3efc95e5ffd57bfac5ad54d81059c92296db1e25492321b9cf
3
+ size 833580
model_index.json CHANGED
@@ -1,12 +1,12 @@
1
- {
2
- "_class_name": "DDPMPipeline",
3
- "_diffusers_version": "0.27.2",
4
- "scheduler": [
5
- "diffusers",
6
- "DDPMScheduler"
7
- ],
8
- "unet": [
9
- "diffusers",
10
- "UNet2DModel"
11
- ]
12
- }
 
1
+ {
2
+ "_class_name": "DDPMPipeline",
3
+ "_diffusers_version": "0.28.0",
4
+ "scheduler": [
5
+ "diffusers",
6
+ "DDPMScheduler"
7
+ ],
8
+ "unet": [
9
+ "diffusers",
10
+ "UNet2DModel"
11
+ ]
12
+ }
samples/0000.png CHANGED

Git LFS Details

  • SHA256: 07a7a500091fe00a0c975bee2ab36771c0f3d24288d56b7825a8c5908ad44a4f
  • Pointer size: 128 Bytes
  • Size of remote file: 994 Bytes

Git LFS Details

  • SHA256: 848bf0a99adde5de2a4deb814ff47d4e9884b08a9781f57c0ec9bb993c10145b
  • Pointer size: 128 Bytes
  • Size of remote file: 903 Bytes
samples/0001.png CHANGED

Git LFS Details

  • SHA256: e848665663a2112e7eb4413de6b6cac9f5db962adf2080fdc6c17d3f522d5c40
  • Pointer size: 128 Bytes
  • Size of remote file: 956 Bytes

Git LFS Details

  • SHA256: 1500157de5229248e9693d08c8bce76e06e7d4256b299d3b8ca8e90054bcbc44
  • Pointer size: 128 Bytes
  • Size of remote file: 915 Bytes
samples/0002.png CHANGED

Git LFS Details

  • SHA256: 8b24a78643d81f98090f75464baf9bdf69dee9220e0f83ee89e68d19df594830
  • Pointer size: 128 Bytes
  • Size of remote file: 989 Bytes

Git LFS Details

  • SHA256: bc64367666a443c500386f81d6a7bdf637b141486c68f6f92660a046029cde12
  • Pointer size: 128 Bytes
  • Size of remote file: 963 Bytes
samples/0003.png CHANGED

Git LFS Details

  • SHA256: 00630349b0dcb83fc207f3bf8351afdac3210b128e8cc0df33a90c212b2c18ea
  • Pointer size: 128 Bytes
  • Size of remote file: 914 Bytes

Git LFS Details

  • SHA256: 2078611b58225a71ff27d094826dc3a664e5d6b89c7f154325f1d573b23849a1
  • Pointer size: 128 Bytes
  • Size of remote file: 943 Bytes
samples/0004.png CHANGED

Git LFS Details

  • SHA256: 03193d7a67a3006e7f4ee07ed6fea5b33cec1527ecae498978c870e2672e455d
  • Pointer size: 128 Bytes
  • Size of remote file: 845 Bytes

Git LFS Details

  • SHA256: aba2501cda1598e2fb927fc384cfeba6b2de63dfd45362db62d2bd9e0582a852
  • Pointer size: 128 Bytes
  • Size of remote file: 931 Bytes
samples/0005.png ADDED

Git LFS Details

  • SHA256: 97a8f8dee0eaa78b2ed0d464c200ad4a4a474dcb1f43ad88781281c1bc26b303
  • Pointer size: 128 Bytes
  • Size of remote file: 956 Bytes
samples/0006.png ADDED

Git LFS Details

  • SHA256: 5fd30ed8400a474819e1ece1ab183221c7ceda2e3654174f99926e8061d05558
  • Pointer size: 128 Bytes
  • Size of remote file: 913 Bytes
scheduler/scheduler_config.json CHANGED
@@ -1,19 +1,19 @@
1
- {
2
- "_class_name": "DDPMScheduler",
3
- "_diffusers_version": "0.27.2",
4
- "beta_end": 0.02,
5
- "beta_schedule": "linear",
6
- "beta_start": 0.0001,
7
- "clip_sample": true,
8
- "clip_sample_range": 1.0,
9
- "dynamic_thresholding_ratio": 0.995,
10
- "num_train_timesteps": 1000,
11
- "prediction_type": "epsilon",
12
- "rescale_betas_zero_snr": false,
13
- "sample_max_value": 1.0,
14
- "steps_offset": 0,
15
- "thresholding": false,
16
- "timestep_spacing": "leading",
17
- "trained_betas": null,
18
- "variance_type": "fixed_small"
19
- }
 
1
+ {
2
+ "_class_name": "DDPMScheduler",
3
+ "_diffusers_version": "0.28.0",
4
+ "beta_end": 0.02,
5
+ "beta_schedule": "linear",
6
+ "beta_start": 0.0001,
7
+ "clip_sample": true,
8
+ "clip_sample_range": 1.0,
9
+ "dynamic_thresholding_ratio": 0.995,
10
+ "num_train_timesteps": 1000,
11
+ "prediction_type": "epsilon",
12
+ "rescale_betas_zero_snr": false,
13
+ "sample_max_value": 1.0,
14
+ "steps_offset": 0,
15
+ "thresholding": false,
16
+ "timestep_spacing": "leading",
17
+ "trained_betas": null,
18
+ "variance_type": "fixed_small"
19
+ }
unet/config.json CHANGED
@@ -1,45 +1,45 @@
1
- {
2
- "_class_name": "UNet2DModel",
3
- "_diffusers_version": "0.27.2",
4
- "act_fn": "silu",
5
- "add_attention": true,
6
- "attention_head_dim": 8,
7
- "attn_norm_num_groups": null,
8
- "block_out_channels": [
9
- 128,
10
- 128,
11
- 256,
12
- 512
13
- ],
14
- "center_input_sample": false,
15
- "class_embed_type": null,
16
- "down_block_types": [
17
- "DownBlock2D",
18
- "DownBlock2D",
19
- "AttnDownBlock2D",
20
- "DownBlock2D"
21
- ],
22
- "downsample_padding": 1,
23
- "downsample_type": "conv",
24
- "dropout": 0.0,
25
- "flip_sin_to_cos": true,
26
- "freq_shift": 0,
27
- "in_channels": 1,
28
- "layers_per_block": 2,
29
- "mid_block_scale_factor": 1,
30
- "norm_eps": 1e-05,
31
- "norm_num_groups": 32,
32
- "num_class_embeds": null,
33
- "num_train_timesteps": null,
34
- "out_channels": 1,
35
- "resnet_time_scale_shift": "default",
36
- "sample_size": 32,
37
- "time_embedding_type": "positional",
38
- "up_block_types": [
39
- "UpBlock2D",
40
- "AttnUpBlock2D",
41
- "UpBlock2D",
42
- "UpBlock2D"
43
- ],
44
- "upsample_type": "conv"
45
- }
 
1
+ {
2
+ "_class_name": "UNet2DModel",
3
+ "_diffusers_version": "0.28.0",
4
+ "act_fn": "silu",
5
+ "add_attention": true,
6
+ "attention_head_dim": 8,
7
+ "attn_norm_num_groups": null,
8
+ "block_out_channels": [
9
+ 128,
10
+ 128,
11
+ 256,
12
+ 512
13
+ ],
14
+ "center_input_sample": false,
15
+ "class_embed_type": null,
16
+ "down_block_types": [
17
+ "DownBlock2D",
18
+ "DownBlock2D",
19
+ "AttnDownBlock2D",
20
+ "DownBlock2D"
21
+ ],
22
+ "downsample_padding": 1,
23
+ "downsample_type": "conv",
24
+ "dropout": 0.0,
25
+ "flip_sin_to_cos": true,
26
+ "freq_shift": 0,
27
+ "in_channels": 1,
28
+ "layers_per_block": 2,
29
+ "mid_block_scale_factor": 1,
30
+ "norm_eps": 1e-05,
31
+ "norm_num_groups": 32,
32
+ "num_class_embeds": null,
33
+ "num_train_timesteps": null,
34
+ "out_channels": 1,
35
+ "resnet_time_scale_shift": "default",
36
+ "sample_size": 32,
37
+ "time_embedding_type": "positional",
38
+ "up_block_types": [
39
+ "UpBlock2D",
40
+ "AttnUpBlock2D",
41
+ "UpBlock2D",
42
+ "UpBlock2D"
43
+ ],
44
+ "upsample_type": "conv"
45
+ }
unet/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:09d0930ab90a0b17aa1c1c8291c334ccf8862b29df43c1502109113823915dbc
3
  size 246133084
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07ba12ae028f76d42edc4d9f675e1f507f2af89238099ee558d88b8054479d1f
3
  size 246133084