Commit
•
70a6103
1
Parent(s):
9b84c86
Upload processor (#4)
Browse files- Upload processor (1ce5ba480e02c3a5d178c1d201988c820a7d3714)
- preprocessor_config.json +6 -1
preprocessor_config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"crop_pct": 0.875,
|
3 |
"do_normalize": true,
|
|
|
4 |
"do_resize": true,
|
5 |
"feature_extractor_type": "ConvNextFeatureExtractor",
|
6 |
"image_mean": [
|
@@ -8,11 +9,15 @@
|
|
8 |
0.456,
|
9 |
0.406
|
10 |
],
|
|
|
11 |
"image_std": [
|
12 |
0.229,
|
13 |
0.224,
|
14 |
0.225
|
15 |
],
|
16 |
"resample": 3,
|
17 |
-
"
|
|
|
|
|
|
|
18 |
}
|
|
|
1 |
{
|
2 |
"crop_pct": 0.875,
|
3 |
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
"do_resize": true,
|
6 |
"feature_extractor_type": "ConvNextFeatureExtractor",
|
7 |
"image_mean": [
|
|
|
9 |
0.456,
|
10 |
0.406
|
11 |
],
|
12 |
+
"image_processor_type": "ConvNextImageProcessor",
|
13 |
"image_std": [
|
14 |
0.229,
|
15 |
0.224,
|
16 |
0.225
|
17 |
],
|
18 |
"resample": 3,
|
19 |
+
"rescale_factor": 0.00392156862745098,
|
20 |
+
"size": {
|
21 |
+
"shortest_edge": 224
|
22 |
+
}
|
23 |
}
|