Yuntian Deng commited on
Commit
6ab2212
1 Parent(s): e68c42c
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
model_index.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMPipeline",
3
+ "_diffusers_version": "0.2.4",
4
+ "scheduler": [
5
+ "diffusers",
6
+ "DDPMScheduler"
7
+ ],
8
+ "unet": [
9
+ "diffusers",
10
+ "UNet2DConditionModel"
11
+ ]
12
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMScheduler",
3
+ "_diffusers_version": "0.2.4",
4
+ "beta_end": 0.02,
5
+ "beta_schedule": "linear",
6
+ "beta_start": 0.0001,
7
+ "clip_sample": true,
8
+ "num_train_timesteps": 1000,
9
+ "trained_betas": null,
10
+ "variance_type": "fixed_small"
11
+ }
unet/config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.2.4",
4
+ "act_fn": "silu",
5
+ "attention_head_dim": 8,
6
+ "block_out_channels": [
7
+ 128,
8
+ 128,
9
+ 256,
10
+ 256,
11
+ 512,
12
+ 512
13
+ ],
14
+ "center_input_sample": false,
15
+ "cross_attention_dim": 768,
16
+ "down_block_types": [
17
+ "DownBlock2D",
18
+ "DownBlock2D",
19
+ "CrossAttnDecoderPositionEncoderPositionDownBlock2D",
20
+ "CrossAttnDecoderPositionEncoderPositionDownBlock2D",
21
+ "CrossAttnDecoderPositionEncoderPositionDownBlock2D",
22
+ "CrossAttnDecoderPositionEncoderPositionDownBlock2D"
23
+ ],
24
+ "downsample_padding": 1,
25
+ "flip_sin_to_cos": true,
26
+ "freq_shift": 0,
27
+ "gradient_checkpointing": false,
28
+ "in_channels": 1,
29
+ "layers_per_block": 2,
30
+ "mid_block_scale_factor": 1,
31
+ "mid_block_type": "UNetMidBlock2DCrossAttnDecoderPositionEncoderPosition",
32
+ "norm_eps": 1e-05,
33
+ "norm_num_groups": 32,
34
+ "out_channels": 1,
35
+ "sample_size": [
36
+ 64,
37
+ 320
38
+ ],
39
+ "up_block_types": [
40
+ "CrossAttnDecoderPositionEncoderPositionUpBlock2D",
41
+ "CrossAttnDecoderPositionEncoderPositionUpBlock2D",
42
+ "CrossAttnDecoderPositionEncoderPositionUpBlock2D",
43
+ "CrossAttnDecoderPositionEncoderPositionUpBlock2D",
44
+ "UpBlock2D",
45
+ "UpBlock2D"
46
+ ]
47
+ }
unet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee9b1bf692a901b3ee4752a8c99719a06e7092fffcb055b33c3a14531b236760
3
+ size 803297907