Update feature_extractor/preprocessor_config.json
Browse files
feature_extractor/preprocessor_config.json
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
{
|
2 |
-
"crop_size":
|
|
|
|
|
|
|
3 |
"do_center_crop": true,
|
4 |
"do_convert_rgb": true,
|
5 |
"do_normalize": true,
|
|
|
6 |
"do_resize": true,
|
7 |
"feature_extractor_type": "CLIPFeatureExtractor",
|
8 |
"image_mean": [
|
@@ -10,11 +14,15 @@
|
|
10 |
0.4578275,
|
11 |
0.40821073
|
12 |
],
|
|
|
13 |
"image_std": [
|
14 |
0.26862954,
|
15 |
0.26130258,
|
16 |
0.27577711
|
17 |
],
|
18 |
"resample": 3,
|
19 |
-
"
|
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": [
|
|
|
14 |
0.4578275,
|
15 |
0.40821073
|
16 |
],
|
17 |
+
"image_processor_type": "CLIPFeatureExtractor",
|
18 |
"image_std": [
|
19 |
0.26862954,
|
20 |
0.26130258,
|
21 |
0.27577711
|
22 |
],
|
23 |
"resample": 3,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"shortest_edge": 224
|
27 |
+
}
|
28 |
+
}
|