matejpekar commited on
Commit
c554eeb
·
verified ·
1 Parent(s): d3f4d7c

Upload processor

Browse files
Files changed (1) hide show
  1. preprocessor_config.json +4 -4
preprocessor_config.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
  "crop_size": null,
3
  "data_format": "channels_first",
4
- "default_to_square": false,
5
  "device": null,
6
  "do_center_crop": null,
7
  "do_convert_rgb": null,
8
- "do_normalize": null,
9
- "do_rescale": null,
10
  "do_resize": null,
11
  "image_mean": [
12
  0.485,
@@ -22,6 +22,6 @@
22
  "input_data_format": null,
23
  "resample": null,
24
  "rescale_factor": 0.00392156862745098,
25
- "return_tensors": null,
26
  "size": null
27
  }
 
1
  {
2
  "crop_size": null,
3
  "data_format": "channels_first",
4
+ "default_to_square": true,
5
  "device": null,
6
  "do_center_crop": null,
7
  "do_convert_rgb": null,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
  "do_resize": null,
11
  "image_mean": [
12
  0.485,
 
22
  "input_data_format": null,
23
  "resample": null,
24
  "rescale_factor": 0.00392156862745098,
25
+ "return_tensors": "pt",
26
  "size": null
27
  }