Upload processor
Browse files- 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":
|
| 5 |
"device": null,
|
| 6 |
"do_center_crop": null,
|
| 7 |
"do_convert_rgb": null,
|
| 8 |
-
"do_normalize":
|
| 9 |
-
"do_rescale":
|
| 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":
|
| 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 |
}
|