Lykon commited on
Commit
4a495dd
1 Parent(s): 87fadcc

DreamShaper 5 upload

Browse files

Add Diffusers weights converted from checkpoint

model_index.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
- "_diffusers_version": "0.14.0",
4
  "feature_extractor": [
5
  "transformers",
6
  "CLIPFeatureExtractor"
 
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.15.0",
4
  "feature_extractor": [
5
  "transformers",
6
  "CLIPFeatureExtractor"
safety_checker/config.json CHANGED
@@ -80,7 +80,7 @@
80
  "top_p": 1.0,
81
  "torch_dtype": null,
82
  "torchscript": false,
83
- "transformers_version": "4.27.1",
84
  "typical_p": 1.0,
85
  "use_bfloat16": false,
86
  "vocab_size": 49408
@@ -161,7 +161,7 @@
161
  "top_p": 1.0,
162
  "torch_dtype": null,
163
  "torchscript": false,
164
- "transformers_version": "4.27.1",
165
  "typical_p": 1.0,
166
  "use_bfloat16": false
167
  }
 
80
  "top_p": 1.0,
81
  "torch_dtype": null,
82
  "torchscript": false,
83
+ "transformers_version": "4.28.0",
84
  "typical_p": 1.0,
85
  "use_bfloat16": false,
86
  "vocab_size": 49408
 
161
  "top_p": 1.0,
162
  "torch_dtype": null,
163
  "torchscript": false,
164
+ "transformers_version": "4.28.0",
165
  "typical_p": 1.0,
166
  "use_bfloat16": false
167
  }
scheduler/scheduler_config.json CHANGED
@@ -1,14 +1,18 @@
1
  {
2
  "_class_name": "PNDMScheduler",
3
- "_diffusers_version": "0.14.0",
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
  "trained_betas": null
14
  }
 
1
  {
2
  "_class_name": "PNDMScheduler",
3
+ "_diffusers_version": "0.15.0",
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
  "skip_prk_steps": true,
15
  "steps_offset": 1,
16
+ "thresholding": false,
17
  "trained_betas": null
18
  }
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.27.1",
24
  "vocab_size": 49408
25
  }
 
20
  "pad_token_id": 1,
21
  "projection_dim": 768,
22
  "torch_dtype": "float32",
23
+ "transformers_version": "4.28.0",
24
  "vocab_size": 49408
25
  }
text_encoder/pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:07df4eeb529dbf274df592eba27a8faba2f91c23ce0cd9d59549f7e1f5eecbb6
3
  size 492307041
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f306f2f10a2262ecc87623e7f040ad3d1ed3dd65fa04c1960839f51e60a5ce4
3
  size 492307041
tokenizer/tokenizer_config.json CHANGED
@@ -8,6 +8,7 @@
8
  "rstrip": false,
9
  "single_word": false
10
  },
 
11
  "do_lower_case": true,
12
  "eos_token": {
13
  "__type": "AddedToken",
@@ -20,7 +21,6 @@
20
  "errors": "replace",
21
  "model_max_length": 77,
22
  "pad_token": "<|endoftext|>",
23
- "special_tokens_map_file": "./special_tokens_map.json",
24
  "tokenizer_class": "CLIPTokenizer",
25
  "unk_token": {
26
  "__type": "AddedToken",
 
8
  "rstrip": false,
9
  "single_word": false
10
  },
11
+ "clean_up_tokenization_spaces": true,
12
  "do_lower_case": true,
13
  "eos_token": {
14
  "__type": "AddedToken",
 
21
  "errors": "replace",
22
  "model_max_length": 77,
23
  "pad_token": "<|endoftext|>",
 
24
  "tokenizer_class": "CLIPTokenizer",
25
  "unk_token": {
26
  "__type": "AddedToken",
unet/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
- "_diffusers_version": "0.14.0",
4
  "act_fn": "silu",
5
  "attention_head_dim": 8,
6
  "block_out_channels": [
@@ -11,9 +11,11 @@
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",
19
  "CrossAttnDownBlock2D",
@@ -22,10 +24,12 @@
22
  ],
23
  "downsample_padding": 1,
24
  "dual_cross_attention": false,
 
25
  "flip_sin_to_cos": true,
26
  "freq_shift": 0,
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,
@@ -34,9 +38,12 @@
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": [
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.15.0",
4
  "act_fn": "silu",
5
  "attention_head_dim": 8,
6
  "block_out_channels": [
 
11
  ],
12
  "center_input_sample": false,
13
  "class_embed_type": null,
14
+ "class_embeddings_concat": false,
15
  "conv_in_kernel": 3,
16
  "conv_out_kernel": 3,
17
  "cross_attention_dim": 768,
18
+ "cross_attention_norm": null,
19
  "down_block_types": [
20
  "CrossAttnDownBlock2D",
21
  "CrossAttnDownBlock2D",
 
24
  ],
25
  "downsample_padding": 1,
26
  "dual_cross_attention": false,
27
+ "encoder_hid_dim": null,
28
  "flip_sin_to_cos": true,
29
  "freq_shift": 0,
30
  "in_channels": 4,
31
  "layers_per_block": 2,
32
+ "mid_block_only_cross_attention": null,
33
  "mid_block_scale_factor": 1,
34
  "mid_block_type": "UNetMidBlock2DCrossAttn",
35
  "norm_eps": 1e-05,
 
38
  "only_cross_attention": false,
39
  "out_channels": 4,
40
  "projection_class_embeddings_input_dim": null,
41
+ "resnet_out_scale_factor": 1.0,
42
+ "resnet_skip_time_act": false,
43
  "resnet_time_scale_shift": "default",
44
  "sample_size": 64,
45
  "time_cond_proj_dim": null,
46
+ "time_embedding_act_fn": null,
47
  "time_embedding_type": "positional",
48
  "timestep_post_act": null,
49
  "up_block_types": [
unet/diffusion_pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:673428ea45129f69a75e9babcd4ecb4f1ce251e632da092d863d92ac63b0fb67
3
  size 3438366373
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca9be9ea8a4bac48f4971ad2dfe1be9de6afdd9dae8dc64cf971e9dae60930f5
3
  size 3438366373
vae/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
- "_diffusers_version": "0.14.0",
4
  "act_fn": "silu",
5
  "block_out_channels": [
6
  128,
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.15.0",
4
  "act_fn": "silu",
5
  "block_out_channels": [
6
  128,