nielsr HF staff commited on
Commit
745a5a9
1 Parent(s): bb8f6e6

Fix image mean and std

Browse files
Files changed (1) hide show
  1. preprocessor_config.json +6 -6
preprocessor_config.json CHANGED
@@ -3,14 +3,14 @@
3
  "do_resize": true,
4
  "feature_extractor_type": "ViTFeatureExtractor",
5
  "image_mean": [
6
- 0.5,
7
- 0.5,
8
- 0.5
9
  ],
10
  "image_std": [
11
- 0.5,
12
- 0.5,
13
- 0.5
14
  ],
15
  "resample": 2,
16
  "size": 224
 
3
  "do_resize": true,
4
  "feature_extractor_type": "ViTFeatureExtractor",
5
  "image_mean": [
6
+ 0.485,
7
+ 0.456,
8
+ 0.406
9
  ],
10
  "image_std": [
11
+ 0.229,
12
+ 0.224,
13
+ 0.225
14
  ],
15
  "resample": 2,
16
  "size": 224