From ff0ea72e8efa85d7d089a8b40888a0ad48050f05 Mon Sep 17 00:00:00 2001 From: Niels Rogge Date: Fri, 14 Oct 2022 09:14:27 +0000 Subject: [PATCH] Upload feature extractor --- preprocessor_config.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 preprocessor_config.json diff --git a/preprocessor_config.json b/preprocessor_config.json new file mode 100644 index 0000000..545efb6 --- /dev/null +++ b/preprocessor_config.json @@ -0,0 +1,18 @@ +{ + "do_normalize": true, + "do_resize": true, + "feature_extractor_type": "DetrFeatureExtractor", + "format": "coco_detection", + "image_mean": [ + 0.485, + 0.456, + 0.406 + ], + "image_std": [ + 0.229, + 0.224, + 0.225 + ], + "max_size": 800, + "size": 800 +}