yiyixuxu commited on
Commit
4277299
1 Parent(s): 27b588e

add image_processor

Browse files
image_processor/preprocessor_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 224,
3
+ "do_center_crop": true,
4
+ "do_normalize": true,
5
+ "do_resize": true,
6
+ "feature_extractor_type": "CLIPFeatureExtractor",
7
+ "image_mean": [
8
+ 0.48145466,
9
+ 0.4578275,
10
+ 0.40821073
11
+ ],
12
+ "image_std": [
13
+ 0.26862954,
14
+ 0.26130258,
15
+ 0.27577711
16
+ ],
17
+ "resample": 3,
18
+ "size": 224
19
+ }
model_index.json CHANGED
@@ -20,5 +20,10 @@
20
  "image_encoder": [
21
  "transformers",
22
  "CLIPVisionModelWithProjection"
 
 
 
 
23
  ]
 
24
  }
 
20
  "image_encoder": [
21
  "transformers",
22
  "CLIPVisionModelWithProjection"
23
+ ],
24
+ "image_processor": [
25
+ "transformers",
26
+ "CLIPImageProcessor"
27
  ]
28
+
29
  }