From 38d229ec4e78de89cdba6ccaebc12bf25fa6afe3 Mon Sep 17 00:00:00 2001 From: a14195657895178240309011 Date: Thu, 5 Jun 2025 07:34:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E9=A1=B5=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: a14195657895178240309011 --- 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 + } +}