Add new image processor
Browse files- preprocessor_config.json +11 -2
preprocessor_config.json
CHANGED
|
@@ -1,17 +1,26 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"do_normalize": true,
|
|
|
|
|
|
|
| 3 |
"do_resize": true,
|
| 4 |
-
"image_processor_type": "ConditionalDetrImageProcessor",
|
| 5 |
"format": "coco_detection",
|
| 6 |
"image_mean": [
|
| 7 |
0.485,
|
| 8 |
0.456,
|
| 9 |
0.406
|
| 10 |
],
|
|
|
|
| 11 |
"image_std": [
|
| 12 |
0.229,
|
| 13 |
0.224,
|
| 14 |
0.225
|
| 15 |
],
|
| 16 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"do_convert_annotations": true,
|
| 3 |
"do_normalize": true,
|
| 4 |
+
"do_pad": true,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
"do_resize": true,
|
|
|
|
| 7 |
"format": "coco_detection",
|
| 8 |
"image_mean": [
|
| 9 |
0.485,
|
| 10 |
0.456,
|
| 11 |
0.406
|
| 12 |
],
|
| 13 |
+
"image_processor_type": "ConditionalDetrImageProcessor",
|
| 14 |
"image_std": [
|
| 15 |
0.229,
|
| 16 |
0.224,
|
| 17 |
0.225
|
| 18 |
],
|
| 19 |
+
"pad_size": null,
|
| 20 |
+
"resample": 2,
|
| 21 |
+
"rescale_factor": 0.00392156862745098,
|
| 22 |
+
"size": {
|
| 23 |
+
"longest_edge": 1333,
|
| 24 |
+
"shortest_edge": 800
|
| 25 |
+
}
|
| 26 |
}
|