Update preprocessor_config.json
Browse files- preprocessor_config.json +25 -19
preprocessor_config.json
CHANGED
@@ -1,33 +1,39 @@
|
|
1 |
{
|
2 |
"auto_map": {
|
3 |
-
"AutoProcessor": "
|
4 |
-
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"do_convert_rgb": null,
|
11 |
"do_normalize": true,
|
12 |
"do_rescale": true,
|
13 |
"do_resize": true,
|
14 |
-
"
|
15 |
-
0.485,
|
16 |
-
0.456,
|
17 |
-
0.406
|
18 |
-
],
|
19 |
"image_processor_type": "CLIPImageProcessor",
|
20 |
"image_seq_length": 577,
|
21 |
-
"
|
22 |
-
|
23 |
-
0.224,
|
24 |
-
0.225
|
25 |
-
],
|
26 |
"processor_class": "Florence2Processor",
|
27 |
"resample": 3,
|
28 |
-
"rescale_factor": 0.00392156862745098,
|
29 |
"size": {
|
|
|
|
|
|
|
|
|
30 |
"height": 768,
|
31 |
"width": 768
|
32 |
}
|
33 |
-
}
|
|
|
1 |
{
|
2 |
"auto_map": {
|
3 |
+
"AutoProcessor": "processing_florence2.Florence2Processor"
|
4 |
+
},
|
5 |
+
"_valid_processor_keys": [
|
6 |
+
"images",
|
7 |
+
"do_resize",
|
8 |
+
"size",
|
9 |
+
"resample",
|
10 |
+
"do_rescale",
|
11 |
+
"rescale_factor",
|
12 |
+
"do_normalize",
|
13 |
+
"image_mean",
|
14 |
+
"image_std",
|
15 |
+
"return_tensors",
|
16 |
+
"data_format",
|
17 |
+
"input_data_format",
|
18 |
+
"do_convert_rgb"
|
19 |
+
],
|
20 |
"do_convert_rgb": null,
|
21 |
"do_normalize": true,
|
22 |
"do_rescale": true,
|
23 |
"do_resize": true,
|
24 |
+
"do_center_crop": false,
|
|
|
|
|
|
|
|
|
25 |
"image_processor_type": "CLIPImageProcessor",
|
26 |
"image_seq_length": 577,
|
27 |
+
"image_mean": [0.485, 0.456, 0.406],
|
28 |
+
"image_std": [0.229, 0.224, 0.225],
|
|
|
|
|
|
|
29 |
"processor_class": "Florence2Processor",
|
30 |
"resample": 3,
|
|
|
31 |
"size": {
|
32 |
+
"height": 768,
|
33 |
+
"width":768
|
34 |
+
},
|
35 |
+
"crop_size": {
|
36 |
"height": 768,
|
37 |
"width": 768
|
38 |
}
|
39 |
+
}
|