POrg commited on
Commit
2d7d07e
·
verified ·
1 Parent(s): 6530b7c

Update to BeitImageProcessor

Browse files
Files changed (1) hide show
  1. preprocessor_config.json +13 -2
preprocessor_config.json CHANGED
@@ -1,19 +1,30 @@
 
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
  "return_tensors",
13
  "data_format",
14
  "input_data_format"
15
  ],
 
 
 
 
 
16
  "do_normalize": true,
 
17
  "do_rescale": true,
18
  "do_resize": true,
19
  "image_mean": [
@@ -21,7 +32,7 @@
21
  0.5,
22
  0.5
23
  ],
24
- "image_processor_type": "ViTImageProcessor",
25
  "image_std": [
26
  0.5,
27
  0.5,
@@ -33,4 +44,4 @@
33
  "height": 224,
34
  "width": 224
35
  }
36
- }
 
1
+ preprocessor_config.json
2
  {
3
  "_valid_processor_keys": [
4
  "images",
5
+ "segmentation_maps",
6
  "do_resize",
7
  "size",
8
  "resample",
9
+ "do_center_crop",
10
+ "crop_size",
11
  "do_rescale",
12
  "rescale_factor",
13
  "do_normalize",
14
  "image_mean",
15
  "image_std",
16
+ "do_reduce_labels",
17
  "return_tensors",
18
  "data_format",
19
  "input_data_format"
20
  ],
21
+ "crop_size": {
22
+ "height": 224,
23
+ "width": 224
24
+ },
25
+ "do_center_crop": false,
26
  "do_normalize": true,
27
+ "do_reduce_labels": false,
28
  "do_rescale": true,
29
  "do_resize": true,
30
  "image_mean": [
 
32
  0.5,
33
  0.5
34
  ],
35
+ "image_processor_type": "BeitImageProcessor",
36
  "image_std": [
37
  0.5,
38
  0.5,
 
44
  "height": 224,
45
  "width": 224
46
  }
47
+ }