Upload preprocessor_config.json
Browse files- preprocessor_config.json +43 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"apply_ocr",
|
13 |
+
"ocr_lang",
|
14 |
+
"tesseract_config",
|
15 |
+
"return_tensors",
|
16 |
+
"data_format",
|
17 |
+
"input_data_format"
|
18 |
+
],
|
19 |
+
"apply_ocr": true,
|
20 |
+
"do_normalize": true,
|
21 |
+
"do_rescale": true,
|
22 |
+
"do_resize": true,
|
23 |
+
"image_mean": [
|
24 |
+
0.485,
|
25 |
+
0.456,
|
26 |
+
0.406
|
27 |
+
],
|
28 |
+
"image_processor_type": "LayoutLMv3ImageProcessor",
|
29 |
+
"image_std": [
|
30 |
+
0.229,
|
31 |
+
0.224,
|
32 |
+
0.225
|
33 |
+
],
|
34 |
+
"ocr_lang": null,
|
35 |
+
"processor_class": "UdopProcessor",
|
36 |
+
"resample": 2,
|
37 |
+
"rescale_factor": 0.00392156862745098,
|
38 |
+
"size": {
|
39 |
+
"height": 224,
|
40 |
+
"width": 224
|
41 |
+
},
|
42 |
+
"tesseract_config": ""
|
43 |
+
}
|