Commit
·
4d6b484
1
Parent(s):
162d79d
Upload KandinskyV22Pipeline
Browse files- model_index.json +16 -0
- movq/config.json +27 -0
- movq/diffusion_pytorch_model.safetensors +3 -0
- scheduler/scheduler_config.json +19 -0
- unet/config.json +59 -0
- unet/diffusion_pytorch_model.safetensors +3 -0
model_index.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "KandinskyV22Pipeline",
|
3 |
+
"_diffusers_version": "0.21.0.dev0",
|
4 |
+
"movq": [
|
5 |
+
"diffusers",
|
6 |
+
"VQModel"
|
7 |
+
],
|
8 |
+
"scheduler": [
|
9 |
+
"diffusers",
|
10 |
+
"DDIMScheduler"
|
11 |
+
],
|
12 |
+
"unet": [
|
13 |
+
"diffusers",
|
14 |
+
"UNet2DConditionModel"
|
15 |
+
]
|
16 |
+
}
|
movq/config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "VQModel",
|
3 |
+
"_diffusers_version": "0.21.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"block_out_channels": [
|
6 |
+
32,
|
7 |
+
64
|
8 |
+
],
|
9 |
+
"down_block_types": [
|
10 |
+
"DownEncoderBlock2D",
|
11 |
+
"AttnDownEncoderBlock2D"
|
12 |
+
],
|
13 |
+
"in_channels": 3,
|
14 |
+
"latent_channels": 4,
|
15 |
+
"layers_per_block": 1,
|
16 |
+
"norm_num_groups": 8,
|
17 |
+
"norm_type": "spatial",
|
18 |
+
"num_vq_embeddings": 12,
|
19 |
+
"out_channels": 3,
|
20 |
+
"sample_size": 32,
|
21 |
+
"scaling_factor": 0.18215,
|
22 |
+
"up_block_types": [
|
23 |
+
"AttnUpDecoderBlock2D",
|
24 |
+
"UpDecoderBlock2D"
|
25 |
+
],
|
26 |
+
"vq_embed_dim": 4
|
27 |
+
}
|
movq/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f75b3a46cb6fe3bff07e066a7bd04aa3e4adc3415bf03d2fd004032574b7f5aa
|
3 |
+
size 2885500
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
+
"_diffusers_version": "0.21.0.dev0",
|
4 |
+
"beta_end": 0.012,
|
5 |
+
"beta_schedule": "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
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.21.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"addition_embed_type": "image",
|
6 |
+
"addition_embed_type_num_heads": 64,
|
7 |
+
"addition_time_embed_dim": null,
|
8 |
+
"attention_head_dim": 4,
|
9 |
+
"attention_type": "default",
|
10 |
+
"block_out_channels": [
|
11 |
+
32,
|
12 |
+
64
|
13 |
+
],
|
14 |
+
"center_input_sample": false,
|
15 |
+
"class_embed_type": null,
|
16 |
+
"class_embeddings_concat": false,
|
17 |
+
"conv_in_kernel": 3,
|
18 |
+
"conv_out_kernel": 3,
|
19 |
+
"cross_attention_dim": 32,
|
20 |
+
"cross_attention_norm": null,
|
21 |
+
"down_block_types": [
|
22 |
+
"ResnetDownsampleBlock2D",
|
23 |
+
"SimpleCrossAttnDownBlock2D"
|
24 |
+
],
|
25 |
+
"downsample_padding": 1,
|
26 |
+
"dual_cross_attention": false,
|
27 |
+
"encoder_hid_dim": 32,
|
28 |
+
"encoder_hid_dim_type": "image_proj",
|
29 |
+
"flip_sin_to_cos": true,
|
30 |
+
"freq_shift": 0,
|
31 |
+
"in_channels": 4,
|
32 |
+
"layers_per_block": 1,
|
33 |
+
"mid_block_only_cross_attention": null,
|
34 |
+
"mid_block_scale_factor": 1,
|
35 |
+
"mid_block_type": "UNetMidBlock2DSimpleCrossAttn",
|
36 |
+
"norm_eps": 1e-05,
|
37 |
+
"norm_num_groups": 32,
|
38 |
+
"num_attention_heads": null,
|
39 |
+
"num_class_embeds": null,
|
40 |
+
"only_cross_attention": false,
|
41 |
+
"out_channels": 8,
|
42 |
+
"projection_class_embeddings_input_dim": null,
|
43 |
+
"resnet_out_scale_factor": 1.0,
|
44 |
+
"resnet_skip_time_act": false,
|
45 |
+
"resnet_time_scale_shift": "scale_shift",
|
46 |
+
"sample_size": null,
|
47 |
+
"time_cond_proj_dim": null,
|
48 |
+
"time_embedding_act_fn": null,
|
49 |
+
"time_embedding_dim": null,
|
50 |
+
"time_embedding_type": "positional",
|
51 |
+
"timestep_post_act": null,
|
52 |
+
"transformer_layers_per_block": 1,
|
53 |
+
"up_block_types": [
|
54 |
+
"SimpleCrossAttnUpBlock2D",
|
55 |
+
"ResnetUpsampleBlock2D"
|
56 |
+
],
|
57 |
+
"upcast_attention": false,
|
58 |
+
"use_linear_projection": false
|
59 |
+
}
|
unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc4a9badd87f7b7df2f5a0ef7815c76f0e47612b538f5ce399cb96fb2f4efa72
|
3 |
+
size 3556536
|