Update preprocessor_config.json
Browse files- preprocessor_config.json +12 -4
preprocessor_config.json
CHANGED
@@ -1,19 +1,27 @@
|
|
1 |
{
|
2 |
-
"crop_size":
|
|
|
|
|
|
|
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 |
-
"
|
19 |
-
|
|
|
|
|
|
|
|
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 |
"image_mean": [
|
12 |
0.48145466,
|
13 |
0.4578275,
|
14 |
0.40821073
|
15 |
],
|
16 |
+
"image_processor_type": "CLIPImageProcessor",
|
17 |
"image_std": [
|
18 |
0.26862954,
|
19 |
0.26130258,
|
20 |
0.27577711
|
21 |
],
|
22 |
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"shortest_edge": 224
|
26 |
+
}
|
27 |
+
}
|