Update to feature_extractor_type and reduce_labels due to deprecation notices.
#4
by
theHolger
- opened
- preprocessor_config.json +2 -2
preprocessor_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"do_normalize": true,
|
3 |
"do_resize": true,
|
4 |
-
"
|
5 |
"image_mean": [
|
6 |
0.485,
|
7 |
0.456,
|
@@ -12,7 +12,7 @@
|
|
12 |
0.224,
|
13 |
0.225
|
14 |
],
|
15 |
-
"
|
16 |
"resample": 2,
|
17 |
"size": 1024
|
18 |
}
|
|
|
1 |
{
|
2 |
"do_normalize": true,
|
3 |
"do_resize": true,
|
4 |
+
"image_processor_type": "SegformerImageProcessor",
|
5 |
"image_mean": [
|
6 |
0.485,
|
7 |
0.456,
|
|
|
12 |
0.224,
|
13 |
0.225
|
14 |
],
|
15 |
+
"do_reduce_labels": false,
|
16 |
"resample": 2,
|
17 |
"size": 1024
|
18 |
}
|