vikp commited on
Commit
91b17c9
1 Parent(s): 8a6e048

Upload processor

Browse files
Files changed (2) hide show
  1. preprocessor_config.json +12 -12
  2. tokenizer_config.json +1 -1
preprocessor_config.json CHANGED
@@ -7,19 +7,19 @@
7
  "do_thumbnail": false,
8
  "feature_extractor_type": "DonutFeatureExtractor",
9
  "image_mean": [
10
- 0.5,
11
- 0.5,
12
- 0.5
13
  ],
14
  "image_processor_type": "VariableDonutImageProcessor",
15
  "image_std": [
16
- 0.5,
17
- 0.5,
18
- 0.5
19
  ],
20
  "max_size": {
21
- "height": 896,
22
- "width": 672
23
  },
24
  "patch_size": [
25
  4,
@@ -28,9 +28,9 @@
28
  "processor_class": "VariableDonutProcessor",
29
  "resample": 2,
30
  "rescale_factor": 0.00392156862745098,
31
- "size": {
32
- "height": 2560,
33
- "width": 1920
34
- },
35
  "train": false
36
  }
 
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,
 
28
  "processor_class": "VariableDonutProcessor",
29
  "resample": 2,
30
  "rescale_factor": 0.00392156862745098,
31
+ "size": [
32
+ 420,
33
+ 420
34
+ ],
35
  "train": false
36
  }
tokenizer_config.json CHANGED
@@ -195,7 +195,7 @@
195
  "pad_token": "<pad>",
196
  "pad_token_type_id": 0,
197
  "padding_side": "right",
198
- "processor_class": "NougatProcessor",
199
  "stride": 0,
200
  "tokenizer_class": "NougatTokenizer",
201
  "truncation_side": "right",
 
195
  "pad_token": "<pad>",
196
  "pad_token_type_id": 0,
197
  "padding_side": "right",
198
+ "processor_class": "VariableDonutProcessor",
199
  "stride": 0,
200
  "tokenizer_class": "NougatTokenizer",
201
  "truncation_side": "right",