Upload processor
Browse files- preprocessor_config.json +45 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_max_size": 1333,
|
3 |
+
"_valid_processor_keys": [
|
4 |
+
"images",
|
5 |
+
"segmentation_maps",
|
6 |
+
"instance_id_to_semantic_id",
|
7 |
+
"do_resize",
|
8 |
+
"size",
|
9 |
+
"size_divisor",
|
10 |
+
"resample",
|
11 |
+
"do_rescale",
|
12 |
+
"rescale_factor",
|
13 |
+
"do_normalize",
|
14 |
+
"image_mean",
|
15 |
+
"image_std",
|
16 |
+
"ignore_index",
|
17 |
+
"reduce_labels",
|
18 |
+
"return_tensors",
|
19 |
+
"data_format",
|
20 |
+
"input_data_format"
|
21 |
+
],
|
22 |
+
"do_normalize": true,
|
23 |
+
"do_rescale": true,
|
24 |
+
"do_resize": true,
|
25 |
+
"ignore_index": 255,
|
26 |
+
"image_mean": [
|
27 |
+
0.485,
|
28 |
+
0.456,
|
29 |
+
0.406
|
30 |
+
],
|
31 |
+
"image_processor_type": "Mask2FormerImageProcessor",
|
32 |
+
"image_std": [
|
33 |
+
0.229,
|
34 |
+
0.224,
|
35 |
+
0.225
|
36 |
+
],
|
37 |
+
"reduce_labels": true,
|
38 |
+
"resample": 2,
|
39 |
+
"rescale_factor": 0.00392156862745098,
|
40 |
+
"size": {
|
41 |
+
"longest_edge": 1333,
|
42 |
+
"shortest_edge": 800
|
43 |
+
},
|
44 |
+
"size_divisor": 32
|
45 |
+
}
|