Upload 4 files
Browse filesAdd diffusers version of consistency models ct_imagenet64.pt checkpoint.
- model_index.json +12 -0
- scheduler/scheduler_config.json +11 -0
- unet/config.json +40 -0
- unet/diffusion_pytorch_model.bin +3 -0
model_index.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "ConsistencyModelPipeline",
|
3 |
+
"_diffusers_version": "0.17.0.dev0",
|
4 |
+
"scheduler": [
|
5 |
+
"diffusers",
|
6 |
+
"CMStochasticIterativeScheduler"
|
7 |
+
],
|
8 |
+
"unet": [
|
9 |
+
"diffusers",
|
10 |
+
"UNet2DModel"
|
11 |
+
]
|
12 |
+
}
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "CMStochasticIterativeScheduler",
|
3 |
+
"_diffusers_version": "0.17.0.dev0",
|
4 |
+
"clip_denoised": true,
|
5 |
+
"num_train_timesteps": 201,
|
6 |
+
"rho": 7.0,
|
7 |
+
"s_noise": 1.0,
|
8 |
+
"sigma_data": 0.5,
|
9 |
+
"sigma_max": 80.0,
|
10 |
+
"sigma_min": 0.002
|
11 |
+
}
|
unet/config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DModel",
|
3 |
+
"_diffusers_version": "0.17.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"add_attention": true,
|
6 |
+
"attention_head_dim": 64,
|
7 |
+
"block_out_channels": [
|
8 |
+
192,
|
9 |
+
384,
|
10 |
+
576,
|
11 |
+
768
|
12 |
+
],
|
13 |
+
"center_input_sample": false,
|
14 |
+
"class_embed_type": null,
|
15 |
+
"down_block_types": [
|
16 |
+
"ResnetDownsampleBlock2D",
|
17 |
+
"AttnDownsampleBlock2D",
|
18 |
+
"AttnDownsampleBlock2D",
|
19 |
+
"AttnDownsampleBlock2D"
|
20 |
+
],
|
21 |
+
"downsample_padding": 1,
|
22 |
+
"flip_sin_to_cos": true,
|
23 |
+
"freq_shift": 0,
|
24 |
+
"in_channels": 3,
|
25 |
+
"layers_per_block": 3,
|
26 |
+
"mid_block_scale_factor": 1,
|
27 |
+
"norm_eps": 1e-05,
|
28 |
+
"norm_num_groups": 32,
|
29 |
+
"num_class_embeds": 1000,
|
30 |
+
"out_channels": 3,
|
31 |
+
"resnet_time_scale_shift": "scale_shift",
|
32 |
+
"sample_size": 64,
|
33 |
+
"time_embedding_type": "positional",
|
34 |
+
"up_block_types": [
|
35 |
+
"AttnUpsampleBlock2D",
|
36 |
+
"AttnUpsampleBlock2D",
|
37 |
+
"AttnUpsampleBlock2D",
|
38 |
+
"ResnetUpsampleBlock2D"
|
39 |
+
]
|
40 |
+
}
|
unet/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d9b49667a9997fd6b8e30d14f78872a71165b2a0ae63b31f4741971992fc0eb
|
3 |
+
size 1183833415
|