philz1337x
commited on
Commit
•
021b38c
1
Parent(s):
22047d4
Add Diffusers weights
Browse filesAdd Diffusers weights converted from checkpoint `realisticVisionV60B1_v60B1VAE.safetensors` in revision 22047d42582ac894ee5af4fc485ba4ed54e44ea2
- feature_extractor/preprocessor_config.json +44 -0
- model_index.json +6 -6
- safety_checker/config.json +28 -0
- safety_checker/pytorch_model.bin +3 -0
- scheduler/scheduler_config.json +2 -8
- text_encoder/config.json +1 -1
- text_encoder/pytorch_model.bin +3 -0
- unet/config.json +1 -1
- unet/diffusion_pytorch_model.bin +3 -0
- vae/config.json +1 -1
- vae/diffusion_pytorch_model.bin +3 -0
feature_extractor/preprocessor_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_center_crop",
|
8 |
+
"crop_size",
|
9 |
+
"do_rescale",
|
10 |
+
"rescale_factor",
|
11 |
+
"do_normalize",
|
12 |
+
"image_mean",
|
13 |
+
"image_std",
|
14 |
+
"do_convert_rgb",
|
15 |
+
"return_tensors",
|
16 |
+
"data_format",
|
17 |
+
"input_data_format"
|
18 |
+
],
|
19 |
+
"crop_size": {
|
20 |
+
"height": 224,
|
21 |
+
"width": 224
|
22 |
+
},
|
23 |
+
"do_center_crop": true,
|
24 |
+
"do_convert_rgb": true,
|
25 |
+
"do_normalize": true,
|
26 |
+
"do_rescale": true,
|
27 |
+
"do_resize": true,
|
28 |
+
"image_mean": [
|
29 |
+
0.48145466,
|
30 |
+
0.4578275,
|
31 |
+
0.40821073
|
32 |
+
],
|
33 |
+
"image_processor_type": "CLIPFeatureExtractor",
|
34 |
+
"image_std": [
|
35 |
+
0.26862954,
|
36 |
+
0.26130258,
|
37 |
+
0.27577711
|
38 |
+
],
|
39 |
+
"resample": 3,
|
40 |
+
"rescale_factor": 0.00392156862745098,
|
41 |
+
"size": {
|
42 |
+
"shortest_edge": 224
|
43 |
+
}
|
44 |
+
}
|
model_index.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"feature_extractor": [
|
5 |
-
|
6 |
-
|
7 |
],
|
8 |
"image_encoder": [
|
9 |
null,
|
@@ -11,12 +11,12 @@
|
|
11 |
],
|
12 |
"requires_safety_checker": true,
|
13 |
"safety_checker": [
|
14 |
-
|
15 |
-
|
16 |
],
|
17 |
"scheduler": [
|
18 |
"diffusers",
|
19 |
-
"
|
20 |
],
|
21 |
"text_encoder": [
|
22 |
"transformers",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
"feature_extractor": [
|
5 |
+
"transformers",
|
6 |
+
"CLIPFeatureExtractor"
|
7 |
],
|
8 |
"image_encoder": [
|
9 |
null,
|
|
|
11 |
],
|
12 |
"requires_safety_checker": true,
|
13 |
"safety_checker": [
|
14 |
+
"stable_diffusion",
|
15 |
+
"StableDiffusionSafetyChecker"
|
16 |
],
|
17 |
"scheduler": [
|
18 |
"diffusers",
|
19 |
+
"PNDMScheduler"
|
20 |
],
|
21 |
"text_encoder": [
|
22 |
"transformers",
|
safety_checker/config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "CompVis/stable-diffusion-safety-checker",
|
3 |
+
"architectures": [
|
4 |
+
"StableDiffusionSafetyChecker"
|
5 |
+
],
|
6 |
+
"initializer_factor": 1.0,
|
7 |
+
"logit_scale_init_value": 2.6592,
|
8 |
+
"model_type": "clip",
|
9 |
+
"projection_dim": 768,
|
10 |
+
"text_config": {
|
11 |
+
"dropout": 0.0,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"model_type": "clip_text_model",
|
15 |
+
"num_attention_heads": 12
|
16 |
+
},
|
17 |
+
"torch_dtype": "float32",
|
18 |
+
"transformers_version": "4.39.0.dev0",
|
19 |
+
"vision_config": {
|
20 |
+
"dropout": 0.0,
|
21 |
+
"hidden_size": 1024,
|
22 |
+
"intermediate_size": 4096,
|
23 |
+
"model_type": "clip_vision_model",
|
24 |
+
"num_attention_heads": 16,
|
25 |
+
"num_hidden_layers": 24,
|
26 |
+
"patch_size": 14
|
27 |
+
}
|
28 |
+
}
|
safety_checker/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec45b3c657b2756ae6392a8696cea33e4b31827916fc1ee2d23eb979738f5e43
|
3 |
+
size 1216062778
|
scheduler/scheduler_config.json
CHANGED
@@ -1,21 +1,15 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
-
"_diffusers_version": "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 |
-
"interpolation_type": "linear",
|
11 |
"num_train_timesteps": 1000,
|
12 |
"prediction_type": "epsilon",
|
13 |
-
"rescale_betas_zero_snr": false,
|
14 |
-
"sample_max_value": 1.0,
|
15 |
"set_alpha_to_one": false,
|
16 |
"skip_prk_steps": true,
|
17 |
"steps_offset": 1,
|
18 |
-
"thresholding": false,
|
19 |
"timestep_spacing": "leading",
|
20 |
"trained_betas": null
|
21 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "PNDMScheduler",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
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 |
}
|
text_encoder/config.json
CHANGED
@@ -19,6 +19,6 @@
|
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 768,
|
21 |
"torch_dtype": "float32",
|
22 |
-
"transformers_version": "4.39.
|
23 |
"vocab_size": 49408
|
24 |
}
|
|
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 768,
|
21 |
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.39.0.dev0",
|
23 |
"vocab_size": 49408
|
24 |
}
|
text_encoder/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:056a9e82568bee336cb338076d242f71e242f3a737b1b5c12b9e578c76cfb6a4
|
3 |
+
size 492306586
|
unet/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": null,
|
6 |
"addition_embed_type_num_heads": 64,
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": null,
|
6 |
"addition_embed_type_num_heads": 64,
|
unet/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c36a01e5f958aad17608d10cfdbc69490edfc00a3605e65fa8b333f600f4ae9
|
3 |
+
size 3438366838
|
vae/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
vae/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66d3d118c9806bd5dfc3da5c75f95e71dc57510fd7a3d34b7e8f510fcba3243e
|
3 |
+
size 334712578
|