Doron Adler
commited on
Commit
·
2c2d75a
1
Parent(s):
e899801
Updated json files
Browse files- model_index.json +6 -2
- scheduler/scheduler_config.json +3 -3
- text_encoder/config.json +3 -3
- tokenizer/tokenizer_config.json +1 -1
- unet/config.json +3 -3
- vae/config.json +2 -3
model_index.json
CHANGED
@@ -1,10 +1,14 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
-
"_diffusers_version": "0.
|
|
|
|
|
|
|
|
|
4 |
"requires_safety_checker": false,
|
5 |
"scheduler": [
|
6 |
"diffusers",
|
7 |
-
"
|
8 |
],
|
9 |
"text_encoder": [
|
10 |
"transformers",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.11.0.dev0",
|
4 |
+
"feature_extractor": [
|
5 |
+
"transformers",
|
6 |
+
"CLIPFeatureExtractor"
|
7 |
+
],
|
8 |
"requires_safety_checker": false,
|
9 |
"scheduler": [
|
10 |
"diffusers",
|
11 |
+
"DDIMScheduler"
|
12 |
],
|
13 |
"text_encoder": [
|
14 |
"transformers",
|
scheduler/scheduler_config.json
CHANGED
@@ -1,13 +1,13 @@
|
|
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 |
"num_train_timesteps": 1000,
|
|
|
9 |
"set_alpha_to_one": false,
|
10 |
-
"skip_prk_steps": true,
|
11 |
"steps_offset": 1,
|
12 |
"trained_betas": null
|
13 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
+
"_diffusers_version": "0.11.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 |
"steps_offset": 1,
|
12 |
"trained_betas": null
|
13 |
}
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
@@ -19,7 +19,7 @@
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
-
"torch_dtype": "
|
23 |
-
"transformers_version": "4.
|
24 |
"vocab_size": 49408
|
25 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "openai/clip-vit-large-patch14",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.26.0.dev0",
|
24 |
"vocab_size": 49408
|
25 |
}
|
tokenizer/tokenizer_config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 77,
|
22 |
-
"name_or_path": "/
|
23 |
"pad_token": "<|endoftext|>",
|
24 |
"special_tokens_map_file": "./special_tokens_map.json",
|
25 |
"tokenizer_class": "CLIPTokenizer",
|
|
|
19 |
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 77,
|
22 |
+
"name_or_path": "openai/clip-vit-large-patch14",
|
23 |
"pad_token": "<|endoftext|>",
|
24 |
"special_tokens_map_file": "./special_tokens_map.json",
|
25 |
"tokenizer_class": "CLIPTokenizer",
|
unet/config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": "/content/stable-diffusion-custom",
|
5 |
"act_fn": "silu",
|
6 |
"attention_head_dim": 8,
|
7 |
"block_out_channels": [
|
@@ -30,12 +29,13 @@
|
|
30 |
"num_class_embeds": null,
|
31 |
"only_cross_attention": false,
|
32 |
"out_channels": 4,
|
33 |
-
"sample_size":
|
34 |
"up_block_types": [
|
35 |
"UpBlock2D",
|
36 |
"CrossAttnUpBlock2D",
|
37 |
"CrossAttnUpBlock2D",
|
38 |
"CrossAttnUpBlock2D"
|
39 |
],
|
|
|
40 |
"use_linear_projection": false
|
41 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.11.0.dev0",
|
|
|
4 |
"act_fn": "silu",
|
5 |
"attention_head_dim": 8,
|
6 |
"block_out_channels": [
|
|
|
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",
|
36 |
"CrossAttnUpBlock2D",
|
37 |
"CrossAttnUpBlock2D"
|
38 |
],
|
39 |
+
"upcast_attention": false,
|
40 |
"use_linear_projection": false
|
41 |
}
|
vae/config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": "/content/stable-diffusion-custom/vae",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
@@ -20,7 +19,7 @@
|
|
20 |
"layers_per_block": 2,
|
21 |
"norm_num_groups": 32,
|
22 |
"out_channels": 3,
|
23 |
-
"sample_size":
|
24 |
"up_block_types": [
|
25 |
"UpDecoderBlock2D",
|
26 |
"UpDecoderBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.11.0.dev0",
|
|
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
|
|
19 |
"layers_per_block": 2,
|
20 |
"norm_num_groups": 32,
|
21 |
"out_channels": 3,
|
22 |
+
"sample_size": 512,
|
23 |
"up_block_types": [
|
24 |
"UpDecoderBlock2D",
|
25 |
"UpDecoderBlock2D",
|