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