Bearnardd commited on
Commit
259a950
1 Parent(s): 7d2afad

Add feature extractor

Browse files
Files changed (1) hide show
  1. preprocessor_config.json +13 -9
preprocessor_config.json CHANGED
@@ -1,22 +1,26 @@
1
  {
 
 
 
 
 
2
  "do_normalize": true,
3
  "do_rescale": true,
4
  "do_resize": true,
5
  "image_mean": [
6
- 0.5,
7
- 0.5,
8
- 0.5
9
  ],
10
  "image_processor_type": "EfficientFormerImageProcessor",
11
  "image_std": [
12
- 0.5,
13
- 0.5,
14
- 0.5
15
  ],
16
- "resample": 2,
17
  "rescale_factor": 0.00392156862745098,
18
  "size": {
19
- "height": 224,
20
- "width": 224
21
  }
22
  }
 
1
  {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
  "do_normalize": true,
8
  "do_rescale": true,
9
  "do_resize": true,
10
  "image_mean": [
11
+ 0.485,
12
+ 0.456,
13
+ 0.406
14
  ],
15
  "image_processor_type": "EfficientFormerImageProcessor",
16
  "image_std": [
17
+ 0.229,
18
+ 0.224,
19
+ 0.225
20
  ],
21
+ "resample": 3,
22
  "rescale_factor": 0.00392156862745098,
23
  "size": {
24
+ "shortest_edge": 256
 
25
  }
26
  }