Sisigoks commited on
Commit
961b116
·
verified ·
1 Parent(s): 8c1c9b9

Update preprocessor_config.json

Browse files
Files changed (1) hide show
  1. preprocessor_config.json +20 -13
preprocessor_config.json CHANGED
@@ -1,15 +1,22 @@
1
  {
2
- "resize": {
3
- "target_size": [224, 224],
4
- "keep_aspect_ratio": true,
5
- "pad_to_size": true,
6
- "padding_value": 0,
7
- "interpolation": "bilinear"
8
- },
9
- "normalize": {
10
- "mean": [0.485, 0.456, 0.406],
11
- "std": [0.229, 0.224, 0.225],
12
- "mode": "torch"
13
- },
14
- "to_tensor": true
 
 
 
 
 
 
 
15
  }
 
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": "ViTImageProcessor",
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
  }