upload weights, including cc_projection
Browse files- cc_projection/config.json +4 -0
- cc_projection/diffusion_pytorch_model.bin +3 -0
- feature_extractor/preprocessor_config.json +1 -1
- image_encoder/config.json +23 -0
- image_encoder/pytorch_model.bin +3 -0
- model_index.json +14 -14
- scheduler/scheduler_config.json +6 -2
- unet/config.json +2 -2
- vae/config.json +1 -1
cc_projection/config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "CCProjection",
|
3 |
+
"_diffusers_version": "0.18.2"
|
4 |
+
}
|
cc_projection/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9065a7f5c466c78ab12ab89f4325ef1e75c17500e77e420cf0648834e55930cc
|
3 |
+
size 2375911
|
feature_extractor/preprocessor_config.json
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
0.4578275,
|
15 |
0.40821073
|
16 |
],
|
17 |
-
"image_processor_type": "
|
18 |
"image_std": [
|
19 |
0.26862954,
|
20 |
0.26130258,
|
|
|
14 |
0.4578275,
|
15 |
0.40821073
|
16 |
],
|
17 |
+
"image_processor_type": "CLIPImageProcessor",
|
18 |
"image_std": [
|
19 |
0.26862954,
|
20 |
0.26130258,
|
image_encoder/config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "lambdalabs/sd-image-variations-diffusers",
|
3 |
+
"architectures": [
|
4 |
+
"CLIPVisionModelWithProjection"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"dropout": 0.0,
|
8 |
+
"hidden_act": "quick_gelu",
|
9 |
+
"hidden_size": 1024,
|
10 |
+
"image_size": 224,
|
11 |
+
"initializer_factor": 1.0,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 4096,
|
14 |
+
"layer_norm_eps": 1e-05,
|
15 |
+
"model_type": "clip_vision_model",
|
16 |
+
"num_attention_heads": 16,
|
17 |
+
"num_channels": 3,
|
18 |
+
"num_hidden_layers": 24,
|
19 |
+
"patch_size": 14,
|
20 |
+
"projection_dim": 768,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.30.2"
|
23 |
+
}
|
image_encoder/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c304e9a1c99835f6c2d355cbb5438e7e6204d4903b2f1b056120be4bd5050f1f
|
3 |
+
size 1215996977
|
model_index.json
CHANGED
@@ -1,26 +1,26 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.18.2",
|
|
|
|
|
|
|
|
|
4 |
"feature_extractor": [
|
5 |
"transformers",
|
6 |
-
"
|
|
|
|
|
|
|
|
|
7 |
],
|
8 |
-
"requires_safety_checker":
|
9 |
"safety_checker": [
|
10 |
-
|
11 |
-
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
-
"
|
16 |
-
],
|
17 |
-
"text_encoder": [
|
18 |
-
"transformers",
|
19 |
-
"CLIPTextModel"
|
20 |
-
],
|
21 |
-
"tokenizer": [
|
22 |
-
"transformers",
|
23 |
-
"CLIPTokenizer"
|
24 |
],
|
25 |
"unet": [
|
26 |
"diffusers",
|
|
|
1 |
{
|
2 |
+
"_class_name": "Zero1to3StableDiffusionPipeline",
|
3 |
"_diffusers_version": "0.18.2",
|
4 |
+
"cc_projection": [
|
5 |
+
"pipeline_zero1to3",
|
6 |
+
"CCProjection"
|
7 |
+
],
|
8 |
"feature_extractor": [
|
9 |
"transformers",
|
10 |
+
"CLIPImageProcessor"
|
11 |
+
],
|
12 |
+
"image_encoder": [
|
13 |
+
"transformers",
|
14 |
+
"CLIPVisionModelWithProjection"
|
15 |
],
|
16 |
+
"requires_safety_checker": false,
|
17 |
"safety_checker": [
|
18 |
+
null,
|
19 |
+
null
|
20 |
],
|
21 |
"scheduler": [
|
22 |
"diffusers",
|
23 |
+
"DDIMScheduler"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
],
|
25 |
"unet": [
|
26 |
"diffusers",
|
scheduler/scheduler_config.json
CHANGED
@@ -1,15 +1,19 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.18.2",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
|
|
|
|
8 |
"num_train_timesteps": 1000,
|
9 |
"prediction_type": "epsilon",
|
|
|
|
|
10 |
"set_alpha_to_one": false,
|
11 |
-
"skip_prk_steps": true,
|
12 |
"steps_offset": 1,
|
|
|
13 |
"timestep_spacing": "leading",
|
14 |
"trained_betas": null
|
15 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
"_diffusers_version": "0.18.2",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
8 |
+
"clip_sample_range": 1.0,
|
9 |
+
"dynamic_thresholding_ratio": 0.995,
|
10 |
"num_train_timesteps": 1000,
|
11 |
"prediction_type": "epsilon",
|
12 |
+
"rescale_betas_zero_snr": false,
|
13 |
+
"sample_max_value": 1.0,
|
14 |
"set_alpha_to_one": false,
|
|
|
15 |
"steps_offset": 1,
|
16 |
+
"thresholding": false,
|
17 |
"timestep_spacing": "leading",
|
18 |
"trained_betas": null
|
19 |
}
|
unet/config.json
CHANGED
@@ -46,7 +46,7 @@
|
|
46 |
"resnet_out_scale_factor": 1.0,
|
47 |
"resnet_skip_time_act": false,
|
48 |
"resnet_time_scale_shift": "default",
|
49 |
-
"sample_size":
|
50 |
"time_cond_proj_dim": null,
|
51 |
"time_embedding_act_fn": null,
|
52 |
"time_embedding_dim": null,
|
@@ -59,6 +59,6 @@
|
|
59 |
"CrossAttnUpBlock2D",
|
60 |
"CrossAttnUpBlock2D"
|
61 |
],
|
62 |
-
"upcast_attention":
|
63 |
"use_linear_projection": false
|
64 |
}
|
|
|
46 |
"resnet_out_scale_factor": 1.0,
|
47 |
"resnet_skip_time_act": false,
|
48 |
"resnet_time_scale_shift": "default",
|
49 |
+
"sample_size": 32,
|
50 |
"time_cond_proj_dim": null,
|
51 |
"time_embedding_act_fn": null,
|
52 |
"time_embedding_dim": null,
|
|
|
59 |
"CrossAttnUpBlock2D",
|
60 |
"CrossAttnUpBlock2D"
|
61 |
],
|
62 |
+
"upcast_attention": null,
|
63 |
"use_linear_projection": false
|
64 |
}
|
vae/config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
"layers_per_block": 2,
|
20 |
"norm_num_groups": 32,
|
21 |
"out_channels": 3,
|
22 |
-
"sample_size":
|
23 |
"scaling_factor": 0.18215,
|
24 |
"up_block_types": [
|
25 |
"UpDecoderBlock2D",
|
|
|
19 |
"layers_per_block": 2,
|
20 |
"norm_num_groups": 32,
|
21 |
"out_channels": 3,
|
22 |
+
"sample_size": 256,
|
23 |
"scaling_factor": 0.18215,
|
24 |
"up_block_types": [
|
25 |
"UpDecoderBlock2D",
|