JingyeChen
commited on
Commit
•
8bb5f70
1
Parent(s):
4174c3a
upload textdiffuser2 ckpt
Browse files- random_states_0.pkl +3 -0
- scaler.pt +3 -0
- scheduler.bin +3 -0
- text_encoder/config.json +25 -0
- text_encoder/pytorch_model.bin +3 -0
- unet/config.json +64 -0
- unet/diffusion_pytorch_model.safetensors +3 -0
random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0827f1abef6217b1c6f988db067c391b0513d5b206649da5fb195e84fcea3a29
|
3 |
+
size 21795
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52c6c7e844087fcad1116ded8427150e776621aeb561c4274a2bb9d0e3c70bc8
|
3 |
+
size 557
|
scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad234661410f5ffbb6e05544a6e9bbd54ffc03c17eefad50670e2529e02f7d8f
|
3 |
+
size 627
|
text_encoder/config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
3 |
+
"architectures": [
|
4 |
+
"CLIPTextModel"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"dropout": 0.0,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "quick_gelu",
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_factor": 1.0,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 3072,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 77,
|
17 |
+
"model_type": "clip_text_model",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"projection_dim": 768,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.28.0",
|
24 |
+
"vocab_size": 51583
|
25 |
+
}
|
text_encoder/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac2be640c85bdfc4b75c41386539d819128f071e1e6bb3be15c109bd0eab96b3
|
3 |
+
size 498991393
|
unet/config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.18.0.dev0",
|
4 |
+
"_name_or_path": "default",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"addition_embed_type": null,
|
7 |
+
"addition_embed_type_num_heads": 64,
|
8 |
+
"attention_head_dim": 8,
|
9 |
+
"block_out_channels": [
|
10 |
+
320,
|
11 |
+
640,
|
12 |
+
1280,
|
13 |
+
1280
|
14 |
+
],
|
15 |
+
"center_input_sample": false,
|
16 |
+
"class_embed_type": null,
|
17 |
+
"class_embeddings_concat": false,
|
18 |
+
"conv_in_kernel": 3,
|
19 |
+
"conv_out_kernel": 3,
|
20 |
+
"cross_attention_dim": 768,
|
21 |
+
"cross_attention_norm": null,
|
22 |
+
"down_block_types": [
|
23 |
+
"CrossAttnDownBlock2D",
|
24 |
+
"CrossAttnDownBlock2D",
|
25 |
+
"CrossAttnDownBlock2D",
|
26 |
+
"DownBlock2D"
|
27 |
+
],
|
28 |
+
"downsample_padding": 1,
|
29 |
+
"dual_cross_attention": false,
|
30 |
+
"encoder_hid_dim": null,
|
31 |
+
"encoder_hid_dim_type": null,
|
32 |
+
"flip_sin_to_cos": true,
|
33 |
+
"freq_shift": 0,
|
34 |
+
"in_channels": 4,
|
35 |
+
"layers_per_block": 2,
|
36 |
+
"mid_block_only_cross_attention": null,
|
37 |
+
"mid_block_scale_factor": 1,
|
38 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
39 |
+
"norm_eps": 1e-05,
|
40 |
+
"norm_num_groups": 32,
|
41 |
+
"num_attention_heads": null,
|
42 |
+
"num_class_embeds": null,
|
43 |
+
"only_cross_attention": false,
|
44 |
+
"out_channels": 4,
|
45 |
+
"projection_class_embeddings_input_dim": null,
|
46 |
+
"resnet_out_scale_factor": 1.0,
|
47 |
+
"resnet_skip_time_act": false,
|
48 |
+
"resnet_time_scale_shift": "default",
|
49 |
+
"sample_size": 64,
|
50 |
+
"time_cond_proj_dim": null,
|
51 |
+
"time_embedding_act_fn": null,
|
52 |
+
"time_embedding_dim": null,
|
53 |
+
"time_embedding_type": "positional",
|
54 |
+
"timestep_post_act": null,
|
55 |
+
"up_block_types": [
|
56 |
+
"UpBlock2D",
|
57 |
+
"CrossAttnUpBlock2D",
|
58 |
+
"CrossAttnUpBlock2D",
|
59 |
+
"CrossAttnUpBlock2D"
|
60 |
+
],
|
61 |
+
"upcast_attention": false,
|
62 |
+
"use_linear_projection": false
|
63 |
+
}
|
64 |
+
|
unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:04cdf880f4aed7572f1ff639f1506e0ed4b2f76aa52d2cbbd1f44b29ae61077c
|
3 |
+
size 3438167536
|