From b54e8e9d684efda7c556c1f4952e7cfd4bb8c136 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 18 Oct 2024 14:03:35 +0800 Subject: [PATCH] --- preprocessor_config.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 preprocessor_config.json diff --git a/preprocessor_config.json b/preprocessor_config.json new file mode 100644 index 0000000..a249a9a --- /dev/null +++ b/preprocessor_config.json @@ -0,0 +1,24 @@ +{ + "do_normalize": true, + "do_pad": true, + "do_rescale": true, + "do_resize": true, + "format": "coco_detection", + "image_mean": [ + 0.485, + 0.456, + 0.406 + ], + "image_processor_type": "DetrImageProcessor", + "image_std": [ + 0.229, + 0.224, + 0.225 + ], + "resample": 2, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1333, + "shortest_edge": 800 + } +}