proxima yekta commited on
Commit
1a095db
1 Parent(s): e3e932e

Add feature extractor (#1)

Browse files

- Add feature extractor (3de8f16fac59ab4a8f8341d41bf915787dfe00dc)


Co-authored-by: Yekta <yekta@users.noreply.huggingface.co>

feature_extractor/preprocessor_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "feature_extractor_type": "CLIPFeatureExtractor",
12
+ "image_mean": [0.48145466, 0.4578275, 0.40821073],
13
+ "image_processor_type": "CLIPImageProcessor",
14
+ "image_std": [0.26862954, 0.26130258, 0.27577711],
15
+ "resample": 3,
16
+ "rescale_factor": 0.00392156862745098,
17
+ "size": {
18
+ "shortest_edge": 224
19
+ }
20
+ }