Update preprocessor_config.json
Browse files- preprocessor_config.json +8 -18
preprocessor_config.json
CHANGED
|
@@ -1,20 +1,10 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
"image_mean": [
|
| 11 |
-
0.485,
|
| 12 |
-
0.456,
|
| 13 |
-
0.406
|
| 14 |
-
],
|
| 15 |
-
"image_std": [
|
| 16 |
-
0.229,
|
| 17 |
-
0.224,
|
| 18 |
-
0.225
|
| 19 |
-
]
|
| 20 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"do_resize": true,
|
| 3 |
+
"size": {"shortest_edge": 224},
|
| 4 |
+
"do_center_crop": true,
|
| 5 |
+
"crop_size": {"height": 224, "width": 224},
|
| 6 |
+
"do_normalize": true,
|
| 7 |
+
"image_mean": [0.485, 0.456, 0.406],
|
| 8 |
+
"image_std": [0.229, 0.224, 0.225],
|
| 9 |
+
"resample": 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
}
|