yuntian-deng commited on
Commit
355c298
1 Parent(s): a61340f
.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,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "create_text_encoder": false,
16
+ "cross_attention_dim": 768,
17
+ "down_block_types": [
18
+ "DownBlock2D",
19
+ "DownBlock2D",
20
+ "CrossAttnDecoderPositionEncoderPositionDownBlock2D",
21
+ "CrossAttnDecoderPositionEncoderPositionDownBlock2D",
22
+ "CrossAttnDecoderPositionEncoderPositionDownBlock2D",
23
+ "CrossAttnDecoderPositionEncoderPositionDownBlock2D"
24
+ ],
25
+ "downsample_padding": 1,
26
+ "flip_sin_to_cos": true,
27
+ "freq_shift": 0,
28
+ "gradient_checkpointing": false,
29
+ "in_channels": 1,
30
+ "layers_per_block": 2,
31
+ "max_l": 1025,
32
+ "mid_block_scale_factor": 1,
33
+ "mid_block_type": "UNetMidBlock2DCrossAttnDecoderPositionEncoderPosition",
34
+ "norm_eps": 1e-05,
35
+ "norm_num_groups": 32,
36
+ "out_channels": 1,
37
+ "sample_size": [
38
+ 64,
39
+ 320
40
+ ],
41
+ "up_block_types": [
42
+ "CrossAttnDecoderPositionEncoderPositionUpBlock2D",
43
+ "CrossAttnDecoderPositionEncoderPositionUpBlock2D",
44
+ "CrossAttnDecoderPositionEncoderPositionUpBlock2D",
45
+ "CrossAttnDecoderPositionEncoderPositionUpBlock2D",
46
+ "UpBlock2D",
47
+ "UpBlock2D"
48
+ ]
49
+ }
unet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:420619e179dd79d03a8a2d6ce9c1035b3d11c1ce511fd8cdb75bc93f59fc4cd9
3
+ size 836392563