Ojimi commited on
Commit
dc0e31c
1 Parent(s): 8d888dc

Upload Kawai Diffusion

Browse files
model_index.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
- "_diffusers_version": "0.10.2",
4
  "feature_extractor": [
5
  "transformers",
6
- "CLIPImageProcessor"
7
  ],
8
  "requires_safety_checker": true,
9
  "safety_checker": [
@@ -12,7 +12,7 @@
12
  ],
13
  "scheduler": [
14
  "diffusers",
15
- "EulerAncestralDiscreteScheduler"
16
  ],
17
  "text_encoder": [
18
  "transformers",
 
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.15.0.dev0",
4
  "feature_extractor": [
5
  "transformers",
6
+ "CLIPFeatureExtractor"
7
  ],
8
  "requires_safety_checker": true,
9
  "safety_checker": [
 
12
  ],
13
  "scheduler": [
14
  "diffusers",
15
+ "DDIMScheduler"
16
  ],
17
  "text_encoder": [
18
  "transformers",
scheduler/scheduler_config.json CHANGED
@@ -1,13 +1,17 @@
1
  {
2
- "_class_name": "EulerAncestralDiscreteScheduler",
3
- "_diffusers_version": "0.10.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
  "steps_offset": 1,
 
12
  "trained_betas": null
13
  }
 
1
  {
2
+ "_class_name": "DDIMScheduler",
3
+ "_diffusers_version": "0.15.0.dev0",
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
+ "sample_max_value": 1.0,
13
  "set_alpha_to_one": false,
14
  "steps_offset": 1,
15
+ "thresholding": false,
16
  "trained_betas": null
17
  }
text_encoder/config.json CHANGED
@@ -20,6 +20,6 @@
20
  "pad_token_id": 1,
21
  "projection_dim": 768,
22
  "torch_dtype": "float32",
23
- "transformers_version": "4.25.1",
24
  "vocab_size": 49408
25
  }
 
20
  "pad_token_id": 1,
21
  "projection_dim": 768,
22
  "torch_dtype": "float32",
23
+ "transformers_version": "4.26.1",
24
  "vocab_size": 49408
25
  }
text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:180c897d4c12afb44895fcb22e6789d1164b1fd2cac65907ea5d34202d59f998
3
+ size 492265874
unet/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
- "_diffusers_version": "0.10.2",
4
  "act_fn": "silu",
5
  "attention_head_dim": 8,
6
  "block_out_channels": [
@@ -10,6 +10,9 @@
10
  1280
11
  ],
12
  "center_input_sample": false,
 
 
 
13
  "cross_attention_dim": 768,
14
  "down_block_types": [
15
  "CrossAttnDownBlock2D",
@@ -24,12 +27,18 @@
24
  "in_channels": 4,
25
  "layers_per_block": 2,
26
  "mid_block_scale_factor": 1,
 
27
  "norm_eps": 1e-05,
28
  "norm_num_groups": 32,
29
  "num_class_embeds": null,
30
  "only_cross_attention": false,
31
  "out_channels": 4,
 
 
32
  "sample_size": 64,
 
 
 
33
  "up_block_types": [
34
  "UpBlock2D",
35
  "CrossAttnUpBlock2D",
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.15.0.dev0",
4
  "act_fn": "silu",
5
  "attention_head_dim": 8,
6
  "block_out_channels": [
 
10
  1280
11
  ],
12
  "center_input_sample": false,
13
+ "class_embed_type": null,
14
+ "conv_in_kernel": 3,
15
+ "conv_out_kernel": 3,
16
  "cross_attention_dim": 768,
17
  "down_block_types": [
18
  "CrossAttnDownBlock2D",
 
27
  "in_channels": 4,
28
  "layers_per_block": 2,
29
  "mid_block_scale_factor": 1,
30
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
31
  "norm_eps": 1e-05,
32
  "norm_num_groups": 32,
33
  "num_class_embeds": null,
34
  "only_cross_attention": false,
35
  "out_channels": 4,
36
+ "projection_class_embeddings_input_dim": null,
37
+ "resnet_time_scale_shift": "default",
38
  "sample_size": 64,
39
+ "time_cond_proj_dim": null,
40
+ "time_embedding_type": "positional",
41
+ "timestep_post_act": null,
42
  "up_block_types": [
43
  "UpBlock2D",
44
  "CrossAttnUpBlock2D",
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d13530a9ff30fcf50fdddd32d7f66efe72058358117e13948f843017a907acee
3
+ size 3438167540
vae/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
- "_diffusers_version": "0.10.2",
4
  "act_fn": "silu",
5
  "block_out_channels": [
6
  128,
@@ -20,6 +20,7 @@
20
  "norm_num_groups": 32,
21
  "out_channels": 3,
22
  "sample_size": 512,
 
23
  "up_block_types": [
24
  "UpDecoderBlock2D",
25
  "UpDecoderBlock2D",
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.15.0.dev0",
4
  "act_fn": "silu",
5
  "block_out_channels": [
6
  128,
 
20
  "norm_num_groups": 32,
21
  "out_channels": 3,
22
  "sample_size": 512,
23
+ "scaling_factor": 0.18215,
24
  "up_block_types": [
25
  "UpDecoderBlock2D",
26
  "UpDecoderBlock2D",
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a16aadd9501c371b6ef94257a01596e461b13637fd984588175821c77c5a74df
3
+ size 334643276