Upload preprocessor_config.json with huggingface_hub
Browse files- preprocessor_config.json +32 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"segmentation_maps",
|
5 |
+
"do_resize",
|
6 |
+
"size",
|
7 |
+
"resample",
|
8 |
+
"do_rescale",
|
9 |
+
"rescale_factor",
|
10 |
+
"do_center_crop",
|
11 |
+
"crop_size",
|
12 |
+
"do_flip_channel_order",
|
13 |
+
"return_tensors",
|
14 |
+
"data_format",
|
15 |
+
"input_data_format"
|
16 |
+
],
|
17 |
+
"crop_size": {
|
18 |
+
"height": 512,
|
19 |
+
"width": 512
|
20 |
+
},
|
21 |
+
"do_center_crop": true,
|
22 |
+
"do_flip_channel_order": true,
|
23 |
+
"do_flip_channels": true,
|
24 |
+
"do_rescale": true,
|
25 |
+
"do_resize": true,
|
26 |
+
"image_processor_type": "MobileViTFeatureExtractor",
|
27 |
+
"resample": 2,
|
28 |
+
"rescale_factor": 0.00392156862745098,
|
29 |
+
"size": {
|
30 |
+
"shortest_edge": 544
|
31 |
+
}
|
32 |
+
}
|