Commit
•
e543fce
0
Parent(s):
Duplicate from dg845/consistency-models-test
Browse filesCo-authored-by: Daniel Gu <dg845@users.noreply.huggingface.co>
- .gitattributes +34 -0
- README.md +7 -0
- test_unet/config.json +34 -0
- test_unet/diffusion_pytorch_model.bin +3 -0
- test_unet_class_cond/config.json +34 -0
- test_unet_class_cond/diffusion_pytorch_model.bin +3 -0
.gitattributes
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
duplicated_from: dg845/consistency-models-test
|
4 |
+
---
|
5 |
+
These `UNet2DModel` checkpoints are small randomly-initialized U-Nets which accept 32x32 images for use in testing consistency models.
|
6 |
+
"test_unet_class_cond" is class-conditional (e.g. contains a class label embedding), while "test_unet" is not.
|
7 |
+
Please refer to the [original model card](https://github.com/openai/consistency_models/blob/main/model-card.md) for more information about consistency models.
|
test_unet/config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DModel",
|
3 |
+
"_diffusers_version": "0.17.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"add_attention": true,
|
6 |
+
"attention_head_dim": 8,
|
7 |
+
"block_out_channels": [
|
8 |
+
32,
|
9 |
+
64
|
10 |
+
],
|
11 |
+
"center_input_sample": false,
|
12 |
+
"class_embed_type": null,
|
13 |
+
"down_block_types": [
|
14 |
+
"ResnetDownsampleBlock2D",
|
15 |
+
"AttnDownsampleBlock2D"
|
16 |
+
],
|
17 |
+
"downsample_padding": 1,
|
18 |
+
"flip_sin_to_cos": true,
|
19 |
+
"freq_shift": 0,
|
20 |
+
"in_channels": 3,
|
21 |
+
"layers_per_block": 2,
|
22 |
+
"mid_block_scale_factor": 1,
|
23 |
+
"norm_eps": 1e-05,
|
24 |
+
"norm_num_groups": 32,
|
25 |
+
"num_class_embeds": null,
|
26 |
+
"out_channels": 3,
|
27 |
+
"resnet_time_scale_shift": "scale_shift",
|
28 |
+
"sample_size": 32,
|
29 |
+
"time_embedding_type": "positional",
|
30 |
+
"up_block_types": [
|
31 |
+
"AttnUpsampleBlock2D",
|
32 |
+
"ResnetUpsampleBlock2D"
|
33 |
+
]
|
34 |
+
}
|
test_unet/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:130d7d2411512729458e88732487b16872e579dbe274e1012d3e32ccd8394d76
|
3 |
+
size 4693857
|
test_unet_class_cond/config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DModel",
|
3 |
+
"_diffusers_version": "0.17.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"add_attention": true,
|
6 |
+
"attention_head_dim": 8,
|
7 |
+
"block_out_channels": [
|
8 |
+
32,
|
9 |
+
64
|
10 |
+
],
|
11 |
+
"center_input_sample": false,
|
12 |
+
"class_embed_type": null,
|
13 |
+
"down_block_types": [
|
14 |
+
"ResnetDownsampleBlock2D",
|
15 |
+
"AttnDownsampleBlock2D"
|
16 |
+
],
|
17 |
+
"downsample_padding": 1,
|
18 |
+
"flip_sin_to_cos": true,
|
19 |
+
"freq_shift": 0,
|
20 |
+
"in_channels": 3,
|
21 |
+
"layers_per_block": 2,
|
22 |
+
"mid_block_scale_factor": 1,
|
23 |
+
"norm_eps": 1e-05,
|
24 |
+
"norm_num_groups": 32,
|
25 |
+
"num_class_embeds": 1000,
|
26 |
+
"out_channels": 3,
|
27 |
+
"resnet_time_scale_shift": "scale_shift",
|
28 |
+
"sample_size": 32,
|
29 |
+
"time_embedding_type": "positional",
|
30 |
+
"up_block_types": [
|
31 |
+
"AttnUpsampleBlock2D",
|
32 |
+
"ResnetUpsampleBlock2D"
|
33 |
+
]
|
34 |
+
}
|
test_unet_class_cond/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27edc6ceac7e3418ff11ddcf828cd37f24b3055417be343f6cd9e1720d9f2054
|
3 |
+
size 5206191
|