nobug12345 commited on
Commit
f1bffc7
·
verified ·
1 Parent(s): b4c388a

Update preprocessor_config.json

Browse files
Files changed (1) hide show
  1. 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": false,
5
- "do_rescale": false,
6
- "do_resize": false,
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": "VariableDonutImageProcessor",
15
  "image_std": [
16
  0.229,
17
  0.224,
18
  0.225
19
  ],
20
- "max_size": {
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
- 420,
33
- 420
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