Upload new ct_imagenet64 unet checkpoint (fix mid block attention group norm bug)
Browse files- model_index.json +13 -0
- scheduler/scheduler_config.json +1 -1
- unet/config.json +44 -0
- unet/diffusion_pytorch_model.safetensors +3 -0
model_index.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "ConsistencyModelPipeline",
|
| 3 |
+
"_diffusers_version": "0.21.0.dev0",
|
| 4 |
+
"_name_or_path": "ct_imagenet64",
|
| 5 |
+
"scheduler": [
|
| 6 |
+
"diffusers",
|
| 7 |
+
"CMStochasticIterativeScheduler"
|
| 8 |
+
],
|
| 9 |
+
"unet": [
|
| 10 |
+
"diffusers",
|
| 11 |
+
"UNet2DModel"
|
| 12 |
+
]
|
| 13 |
+
}
|
scheduler/scheduler_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "CMStochasticIterativeScheduler",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"clip_denoised": true,
|
| 5 |
"num_train_timesteps": 201,
|
| 6 |
"rho": 7.0,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "CMStochasticIterativeScheduler",
|
| 3 |
+
"_diffusers_version": "0.21.0.dev0",
|
| 4 |
"clip_denoised": true,
|
| 5 |
"num_train_timesteps": 201,
|
| 6 |
"rho": 7.0,
|
unet/config.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.21.0.dev0",
|
| 4 |
+
"_name_or_path": "ct_imagenet64/unet",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"add_attention": true,
|
| 7 |
+
"attention_head_dim": 64,
|
| 8 |
+
"attn_norm_num_groups": 32,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
192,
|
| 11 |
+
384,
|
| 12 |
+
576,
|
| 13 |
+
768
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"down_block_types": [
|
| 18 |
+
"ResnetDownsampleBlock2D",
|
| 19 |
+
"AttnDownBlock2D",
|
| 20 |
+
"AttnDownBlock2D",
|
| 21 |
+
"AttnDownBlock2D"
|
| 22 |
+
],
|
| 23 |
+
"downsample_padding": 1,
|
| 24 |
+
"downsample_type": "resnet",
|
| 25 |
+
"flip_sin_to_cos": true,
|
| 26 |
+
"freq_shift": 0,
|
| 27 |
+
"in_channels": 3,
|
| 28 |
+
"layers_per_block": 3,
|
| 29 |
+
"mid_block_scale_factor": 1,
|
| 30 |
+
"norm_eps": 1e-05,
|
| 31 |
+
"norm_num_groups": 32,
|
| 32 |
+
"num_class_embeds": 1000,
|
| 33 |
+
"out_channels": 3,
|
| 34 |
+
"resnet_time_scale_shift": "scale_shift",
|
| 35 |
+
"sample_size": 64,
|
| 36 |
+
"time_embedding_type": "positional",
|
| 37 |
+
"up_block_types": [
|
| 38 |
+
"AttnUpBlock2D",
|
| 39 |
+
"AttnUpBlock2D",
|
| 40 |
+
"AttnUpBlock2D",
|
| 41 |
+
"ResnetUpsampleBlock2D"
|
| 42 |
+
],
|
| 43 |
+
"upsample_type": "resnet"
|
| 44 |
+
}
|
unet/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf93ba5bd7a176927b78b55eec357bacc22f42940d262c401b4ed051b537c4f1
|
| 3 |
+
size 1183665484
|