Update feature_extractor/preprocessor_config.json
Browse files
feature_extractor/preprocessor_config.json
CHANGED
@@ -1,21 +1,4 @@
|
|
1 |
{
|
2 |
-
"_valid_processor_keys": [
|
3 |
-
"images",
|
4 |
-
"do_resize",
|
5 |
-
"size",
|
6 |
-
"resample",
|
7 |
-
"do_center_crop",
|
8 |
-
"crop_size",
|
9 |
-
"do_rescale",
|
10 |
-
"rescale_factor",
|
11 |
-
"do_normalize",
|
12 |
-
"image_mean",
|
13 |
-
"image_std",
|
14 |
-
"do_convert_rgb",
|
15 |
-
"return_tensors",
|
16 |
-
"data_format",
|
17 |
-
"input_data_format"
|
18 |
-
],
|
19 |
"crop_size": {
|
20 |
"height": 224,
|
21 |
"width": 224
|
@@ -25,6 +8,7 @@
|
|
25 |
"do_normalize": true,
|
26 |
"do_rescale": true,
|
27 |
"do_resize": true,
|
|
|
28 |
"image_mean": [
|
29 |
0.48145466,
|
30 |
0.4578275,
|
@@ -40,5 +24,6 @@
|
|
40 |
"rescale_factor": 0.00392156862745098,
|
41 |
"size": {
|
42 |
"shortest_edge": 224
|
43 |
-
}
|
|
|
44 |
}
|
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"crop_size": {
|
3 |
"height": 224,
|
4 |
"width": 224
|
|
|
8 |
"do_normalize": true,
|
9 |
"do_rescale": true,
|
10 |
"do_resize": true,
|
11 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
12 |
"image_mean": [
|
13 |
0.48145466,
|
14 |
0.4578275,
|
|
|
24 |
"rescale_factor": 0.00392156862745098,
|
25 |
"size": {
|
26 |
"shortest_edge": 224
|
27 |
+
},
|
28 |
+
"use_square_size": false
|
29 |
}
|