Upload processor
Browse files- preprocessor_config.json +20 -3
preprocessor_config.json
CHANGED
@@ -1,9 +1,26 @@
|
|
1 |
{
|
2 |
-
"crop_size":
|
|
|
|
|
|
|
3 |
"do_center_crop": true,
|
4 |
"do_normalize": true,
|
|
|
5 |
"do_resize": true,
|
6 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"resample": 2,
|
8 |
-
"
|
|
|
|
|
|
|
9 |
}
|
|
|
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.5,
|
12 |
+
0.5,
|
13 |
+
0.5
|
14 |
+
],
|
15 |
+
"image_processor_type": "MobileNetV2ImageProcessor",
|
16 |
+
"image_std": [
|
17 |
+
0.5,
|
18 |
+
0.5,
|
19 |
+
0.5
|
20 |
+
],
|
21 |
"resample": 2,
|
22 |
+
"rescale_factor": 0.00392156862745098,
|
23 |
+
"size": {
|
24 |
+
"shortest_edge": 256
|
25 |
+
}
|
26 |
}
|