yuntian-deng
commited on
Commit
•
ba9f6fd
1
Parent(s):
2b4748c
init
Browse files- .gitignore +1 -0
- model_index.json +12 -0
- scheduler/scheduler_config.json +11 -0
- unet/config.json +49 -0
- unet/diffusion_pytorch_model.bin +3 -0
.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": true,
|
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": 3,
|
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": 3,
|
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:cb9d6432fd4804fc6b02b568a89436cee2f8805c232260c0e5187a10e3b3d41d
|
3 |
+
size 1387608314
|