harveymannering commited on
Commit
31945ad
1 Parent(s): 5fa176b

Upload DDPMPipeline

Browse files
model_index.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMPipeline",
3
+ "_diffusers_version": "0.21.3",
4
+ "_name_or_path": "google/ddpm-celebahq-256",
5
+ "scheduler": [
6
+ "diffusers",
7
+ "DDPMScheduler"
8
+ ],
9
+ "unet": [
10
+ "diffusers",
11
+ "UNet2DModel"
12
+ ]
13
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMScheduler",
3
+ "_diffusers_version": "0.21.3",
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
+ "sample_max_value": 1.0,
13
+ "steps_offset": 0,
14
+ "thresholding": false,
15
+ "timestep_spacing": "leading",
16
+ "trained_betas": null,
17
+ "variance_type": "fixed_small"
18
+ }
unet/config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DModel",
3
+ "_diffusers_version": "0.21.3",
4
+ "_name_or_path": "/root/.cache/huggingface/hub/models--google--ddpm-celebahq-256/snapshots/cd5c944777ea2668051904ead6cc120739b86c4d",
5
+ "act_fn": "silu",
6
+ "add_attention": true,
7
+ "attention_head_dim": null,
8
+ "block_out_channels": [
9
+ 128,
10
+ 128,
11
+ 256,
12
+ 256,
13
+ 512,
14
+ 512
15
+ ],
16
+ "center_input_sample": false,
17
+ "class_embed_type": null,
18
+ "down_block_types": [
19
+ "DownBlock2D",
20
+ "DownBlock2D",
21
+ "DownBlock2D",
22
+ "DownBlock2D",
23
+ "AttnDownBlock2D",
24
+ "DownBlock2D"
25
+ ],
26
+ "downsample_padding": 0,
27
+ "downsample_type": "conv",
28
+ "dropout": 0.0,
29
+ "flip_sin_to_cos": false,
30
+ "freq_shift": 1,
31
+ "in_channels": 3,
32
+ "layers_per_block": 2,
33
+ "mid_block_scale_factor": 1,
34
+ "norm_eps": 1e-06,
35
+ "norm_num_groups": 32,
36
+ "num_class_embeds": null,
37
+ "out_channels": 3,
38
+ "resnet_time_scale_shift": "default",
39
+ "sample_size": 256,
40
+ "time_embedding_type": "positional",
41
+ "up_block_types": [
42
+ "UpBlock2D",
43
+ "AttnUpBlock2D",
44
+ "UpBlock2D",
45
+ "UpBlock2D",
46
+ "UpBlock2D",
47
+ "UpBlock2D"
48
+ ],
49
+ "upsample_type": "conv"
50
+ }
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b471f1fbb974ef8e14d9bbd2ceba3ec518da12427ac9a2ea1817b963ccc564e5
3
+ size 454753484