Update preprocessor_config.json
Browse files- preprocessor_config.json +7 -7
preprocessor_config.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
{
|
2 |
"do_align_long_axis": false,
|
3 |
-
"do_normalize":
|
4 |
-
"do_pad":
|
5 |
-
"do_rescale":
|
6 |
-
"do_resize":
|
7 |
-
"do_thumbnail":
|
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,
|
@@ -25,7 +25,7 @@
|
|
25 |
4,
|
26 |
4
|
27 |
],
|
28 |
-
"processor_class": "
|
29 |
"resample": 2,
|
30 |
"rescale_factor": 0.00392156862745098,
|
31 |
"size": {
|
|
|
1 |
{
|
2 |
"do_align_long_axis": false,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_pad": true,
|
5 |
+
"do_rescale": true,
|
6 |
+
"do_resize": true,
|
7 |
+
"do_thumbnail": true,
|
8 |
"feature_extractor_type": "DonutFeatureExtractor",
|
9 |
"image_mean": [
|
10 |
0.485,
|
11 |
0.456,
|
12 |
0.406
|
13 |
],
|
14 |
+
"image_processor_type": "DonutImageProcessor",
|
15 |
"image_std": [
|
16 |
0.229,
|
17 |
0.224,
|
|
|
25 |
4,
|
26 |
4
|
27 |
],
|
28 |
+
"processor_class": "DonutProcessor",
|
29 |
"resample": 2,
|
30 |
"rescale_factor": 0.00392156862745098,
|
31 |
"size": {
|