Add image processor from convert_rt_detr_original_pytorch_checkpoint_to_pytorch.py
Browse files- preprocessor_config.json +47 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"annotations",
|
5 |
+
"return_segmentation_masks",
|
6 |
+
"masks_path",
|
7 |
+
"do_resize",
|
8 |
+
"size",
|
9 |
+
"resample",
|
10 |
+
"do_rescale",
|
11 |
+
"rescale_factor",
|
12 |
+
"do_normalize",
|
13 |
+
"do_convert_annotations",
|
14 |
+
"image_mean",
|
15 |
+
"image_std",
|
16 |
+
"do_pad",
|
17 |
+
"pad_size",
|
18 |
+
"format",
|
19 |
+
"return_tensors",
|
20 |
+
"data_format",
|
21 |
+
"input_data_format"
|
22 |
+
],
|
23 |
+
"do_convert_annotations": true,
|
24 |
+
"do_normalize": false,
|
25 |
+
"do_pad": false,
|
26 |
+
"do_rescale": true,
|
27 |
+
"do_resize": true,
|
28 |
+
"format": "coco_detection",
|
29 |
+
"image_mean": [
|
30 |
+
0.485,
|
31 |
+
0.456,
|
32 |
+
0.406
|
33 |
+
],
|
34 |
+
"image_processor_type": "RTDetrImageProcessor",
|
35 |
+
"image_std": [
|
36 |
+
0.229,
|
37 |
+
0.224,
|
38 |
+
0.225
|
39 |
+
],
|
40 |
+
"pad_size": null,
|
41 |
+
"resample": 2,
|
42 |
+
"rescale_factor": 0.00392156862745098,
|
43 |
+
"size": {
|
44 |
+
"height": 640,
|
45 |
+
"width": 640
|
46 |
+
}
|
47 |
+
}
|