From 757400c36542c2df7f4d3bb5c6dc9edbb0905583 Mon Sep 17 00:00:00 2001 From: Niels Rogge Date: Fri, 14 Oct 2022 09:20:10 +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..3cf68cf --- /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": 1000, + "size": 800 +}