Xenova HF staff commited on
Commit
c97c872
1 Parent(s): 39f880b

Update preprocessor_config.json

Browse files
Files changed (1) hide show
  1. preprocessor_config.json +2 -5
preprocessor_config.json CHANGED
@@ -3,7 +3,6 @@
3
  "do_pad": false,
4
  "do_rescale": true,
5
  "do_resize": true,
6
- "ensure_multiple_of": 32,
7
  "image_mean": [
8
  0.5,
9
  0.5,
@@ -15,12 +14,10 @@
15
  0.5,
16
  0.5
17
  ],
18
- "keep_aspect_ratio": true,
19
  "resample": 2,
20
  "rescale_factor": 0.00392156862745098,
21
  "size": {
22
- "height": 512,
23
- "width": 512
24
  },
25
- "size_divisor": null
26
  }
 
3
  "do_pad": false,
4
  "do_rescale": true,
5
  "do_resize": true,
 
6
  "image_mean": [
7
  0.5,
8
  0.5,
 
14
  0.5,
15
  0.5
16
  ],
 
17
  "resample": 2,
18
  "rescale_factor": 0.00392156862745098,
19
  "size": {
20
+ "shortest_edge": 512
 
21
  },
22
+ "size_divisibility": 32
23
  }