Add feature extractor
Browse files- preprocessor_config.json +13 -9
preprocessor_config.json
CHANGED
|
@@ -1,22 +1,26 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"do_normalize": true,
|
| 3 |
"do_rescale": true,
|
| 4 |
"do_resize": true,
|
| 5 |
"image_mean": [
|
| 6 |
-
0.
|
| 7 |
-
0.
|
| 8 |
-
0.
|
| 9 |
],
|
| 10 |
"image_processor_type": "EfficientFormerImageProcessor",
|
| 11 |
"image_std": [
|
| 12 |
-
0.
|
| 13 |
-
0.
|
| 14 |
-
0.
|
| 15 |
],
|
| 16 |
-
"resample":
|
| 17 |
"rescale_factor": 0.00392156862745098,
|
| 18 |
"size": {
|
| 19 |
-
"
|
| 20 |
-
"width": 224
|
| 21 |
}
|
| 22 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 224,
|
| 4 |
+
"width": 224
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
"do_normalize": true,
|
| 8 |
"do_rescale": true,
|
| 9 |
"do_resize": true,
|
| 10 |
"image_mean": [
|
| 11 |
+
0.485,
|
| 12 |
+
0.456,
|
| 13 |
+
0.406
|
| 14 |
],
|
| 15 |
"image_processor_type": "EfficientFormerImageProcessor",
|
| 16 |
"image_std": [
|
| 17 |
+
0.229,
|
| 18 |
+
0.224,
|
| 19 |
+
0.225
|
| 20 |
],
|
| 21 |
+
"resample": 3,
|
| 22 |
"rescale_factor": 0.00392156862745098,
|
| 23 |
"size": {
|
| 24 |
+
"shortest_edge": 256
|
|
|
|
| 25 |
}
|
| 26 |
}
|