Update preprocessor_config.json
Browse files- preprocessor_config.json +8 -17
preprocessor_config.json
CHANGED
|
@@ -1,37 +1,28 @@
|
|
| 1 |
{
|
| 2 |
"do_align_long_axis": false,
|
|
|
|
| 3 |
"do_normalize": false,
|
| 4 |
-
"do_pad":
|
| 5 |
-
"do_rescale":
|
| 6 |
-
"do_resize":
|
| 7 |
"do_thumbnail": false,
|
| 8 |
-
"feature_extractor_type": "DonutFeatureExtractor",
|
| 9 |
"image_mean": [
|
| 10 |
0.485,
|
| 11 |
0.456,
|
| 12 |
0.406
|
| 13 |
],
|
| 14 |
-
"image_processor_type": "
|
| 15 |
"image_std": [
|
| 16 |
0.229,
|
| 17 |
0.224,
|
| 18 |
0.225
|
| 19 |
],
|
| 20 |
-
"
|
| 21 |
-
"height": 420,
|
| 22 |
-
"width": 420
|
| 23 |
-
},
|
| 24 |
-
"patch_size": [
|
| 25 |
-
4,
|
| 26 |
-
4
|
| 27 |
-
],
|
| 28 |
-
"processor_class": "VariableDonutProcessor",
|
| 29 |
"resample": 2,
|
| 30 |
"rescale_factor": 0.00392156862745098,
|
| 31 |
"size": [
|
| 32 |
-
|
| 33 |
-
|
| 34 |
],
|
| 35 |
-
"train": false
|
| 36 |
}
|
| 37 |
|
|
|
|
| 1 |
{
|
| 2 |
"do_align_long_axis": false,
|
| 3 |
+
"do_crop_margin": true,
|
| 4 |
"do_normalize": false,
|
| 5 |
+
"do_pad": true,
|
| 6 |
+
"do_rescale": true,
|
| 7 |
+
"do_resize": true,
|
| 8 |
"do_thumbnail": false,
|
|
|
|
| 9 |
"image_mean": [
|
| 10 |
0.485,
|
| 11 |
0.456,
|
| 12 |
0.406
|
| 13 |
],
|
| 14 |
+
"image_processor_type": "NougatImageProcessor",
|
| 15 |
"image_std": [
|
| 16 |
0.229,
|
| 17 |
0.224,
|
| 18 |
0.225
|
| 19 |
],
|
| 20 |
+
"processor_class": "NougatProcessor",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
"resample": 2,
|
| 22 |
"rescale_factor": 0.00392156862745098,
|
| 23 |
"size": [
|
| 24 |
+
"height": 896,
|
| 25 |
+
"width": 672
|
| 26 |
],
|
|
|
|
| 27 |
}
|
| 28 |
|