Made sure to use smallest-edge resize
Browse files- preprocessor_config.json +3 -9
preprocessor_config.json
CHANGED
|
@@ -1,8 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"crop_size":
|
| 3 |
-
"height": 224,
|
| 4 |
-
"width": 224
|
| 5 |
-
},
|
| 6 |
"do_center_crop": true,
|
| 7 |
"do_normalize": true,
|
| 8 |
"do_rescale": true,
|
|
@@ -12,7 +9,7 @@
|
|
| 12 |
0.456,
|
| 13 |
0.406
|
| 14 |
],
|
| 15 |
-
"image_processor_type": "
|
| 16 |
"image_std": [
|
| 17 |
0.229,
|
| 18 |
0.224,
|
|
@@ -20,8 +17,5 @@
|
|
| 20 |
],
|
| 21 |
"resample": 3,
|
| 22 |
"rescale_factor": 0.00392156862745098,
|
| 23 |
-
"size": {
|
| 24 |
-
"height": 236,
|
| 25 |
-
"width": 236
|
| 26 |
-
}
|
| 27 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"crop_size": 224,
|
|
|
|
|
|
|
|
|
|
| 3 |
"do_center_crop": true,
|
| 4 |
"do_normalize": true,
|
| 5 |
"do_rescale": true,
|
|
|
|
| 9 |
0.456,
|
| 10 |
0.406
|
| 11 |
],
|
| 12 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 13 |
"image_std": [
|
| 14 |
0.229,
|
| 15 |
0.224,
|
|
|
|
| 17 |
],
|
| 18 |
"resample": 3,
|
| 19 |
"rescale_factor": 0.00392156862745098,
|
| 20 |
+
"size": {"shortest_edge": 236}
|
|
|
|
|
|
|
|
|
|
| 21 |
}
|