xflxidian commited on
Commit
507a048
1 Parent(s): 53fee62
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step_*
2
+ epoch_*
model_index.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMPipeline",
3
+ "_diffusers_version": "0.12.1",
4
+ "scheduler": [
5
+ "diffusers",
6
+ "DDPMScheduler"
7
+ ],
8
+ "unet": [
9
+ "diffusers",
10
+ "UNet2DModel"
11
+ ]
12
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMScheduler",
3
+ "_diffusers_version": "0.12.1",
4
+ "beta_end": 0.02,
5
+ "beta_schedule": "linear",
6
+ "beta_start": 0.0001,
7
+ "clip_sample": true,
8
+ "num_train_timesteps": 1000,
9
+ "prediction_type": "epsilon",
10
+ "trained_betas": null,
11
+ "variance_type": "fixed_small"
12
+ }
unet/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DModel",
3
+ "_diffusers_version": "0.12.1",
4
+ "act_fn": "silu",
5
+ "add_attention": true,
6
+ "attention_head_dim": 8,
7
+ "block_out_channels": [
8
+ 128,
9
+ 128,
10
+ 256,
11
+ 256,
12
+ 512,
13
+ 512
14
+ ],
15
+ "center_input_sample": false,
16
+ "down_block_types": [
17
+ "DownBlock2D",
18
+ "DownBlock2D",
19
+ "DownBlock2D",
20
+ "DownBlock2D",
21
+ "AttnDownBlock2D",
22
+ "DownBlock2D"
23
+ ],
24
+ "downsample_padding": 1,
25
+ "flip_sin_to_cos": true,
26
+ "freq_shift": 0,
27
+ "in_channels": 3,
28
+ "layers_per_block": 2,
29
+ "mid_block_scale_factor": 1,
30
+ "norm_eps": 1e-05,
31
+ "norm_num_groups": 32,
32
+ "out_channels": 3,
33
+ "resnet_time_scale_shift": "default",
34
+ "sample_size": 32,
35
+ "time_embedding_type": "positional",
36
+ "up_block_types": [
37
+ "UpBlock2D",
38
+ "AttnUpBlock2D",
39
+ "UpBlock2D",
40
+ "UpBlock2D",
41
+ "UpBlock2D",
42
+ "UpBlock2D"
43
+ ]
44
+ }
unet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01b71ea0f0d055c376bafb0af164c26a7cd977c158264f3096d885ddfe093864
3
+ size 454864699