From 4c31f3706aa45216593dfdc9107c9d3ffb7d37f0 Mon Sep 17 00:00:00 2001 From: wsg123 <1453416853@qq.com> Date: Wed, 3 Jul 2024 13:41:03 +0800 Subject: [PATCH] Add preprocessor_config.json Signed-off-by: wsg123 <1453416853@qq.com> --- preprocessor_config.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 preprocessor_config.json diff --git a/preprocessor_config.json b/preprocessor_config.json new file mode 100644 index 0000000..9e52266 --- /dev/null +++ b/preprocessor_config.json @@ -0,0 +1,19 @@ +{ + "do_normalize": true, + "do_resize": true, + "format": "coco_detection", + "image_mean": [ + 0.485, + 0.456, + 0.406 + ], + "image_std": [ + 0.229, + 0.224, + 0.225 + ], + "size": { + "longest_edge": 1333, + "shortest_edge": 800 + } +}