lavaman131 commited on
Commit
7b5c447
1 Parent(s): 9e16e83

added preprocessor

Browse files
feature_extractor/preprocessor_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 224,
3
+ "do_center_crop": true,
4
+ "do_convert_rgb": true,
5
+ "do_normalize": true,
6
+ "do_resize": true,
7
+ "feature_extractor_type": "CLIPFeatureExtractor",
8
+ "image_mean": [0.48145466, 0.4578275, 0.40821073],
9
+ "image_std": [0.26862954, 0.26130258, 0.27577711],
10
+ "resample": 3,
11
+ "size": 224
12
+ }
scheduler/scheduler_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "class_name": "PNDMScheduler",
3
- "_diffusers_version": "0.6.0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
@@ -11,4 +11,3 @@
11
  "trained_betas": null,
12
  "clip_sample": false
13
  }
14
-
 
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,
 
11
  "trained_betas": null,
12
  "clip_sample": false
13
  }
 
text_encoder/config.json CHANGED
@@ -1,8 +1,6 @@
1
  {
2
  "_name_or_path": "runwayml/stable-diffusion-v1-5",
3
- "architectures": [
4
- "CLIPTextModel"
5
- ],
6
  "attention_dropout": 0.0,
7
  "bos_token_id": 0,
8
  "dropout": 0.0,
@@ -12,7 +10,7 @@
12
  "initializer_factor": 1.0,
13
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
15
- "layer_norm_eps": 1e-05,
16
  "max_position_embeddings": 77,
17
  "model_type": "clip_text_model",
18
  "num_attention_heads": 12,
 
1
  {
2
  "_name_or_path": "runwayml/stable-diffusion-v1-5",
3
+ "architectures": ["CLIPTextModel"],
 
 
4
  "attention_dropout": 0.0,
5
  "bos_token_id": 0,
6
  "dropout": 0.0,
 
10
  "initializer_factor": 1.0,
11
  "initializer_range": 0.02,
12
  "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-5,
14
  "max_position_embeddings": 77,
15
  "model_type": "clip_text_model",
16
  "num_attention_heads": 12,