From 6679d37d0700d8f42e1903a91776d24199cb67a8 Mon Sep 17 00:00:00 2001 From: wsgtest <4918b15d@leinao.ai> Date: Mon, 8 Jul 2024 10:08:43 +0800 Subject: [PATCH] Add preprocessor_config.json Signed-off-by: wsgtest <4918b15d@leinao.ai> --- 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..9a46cca --- /dev/null +++ b/preprocessor_config.json @@ -0,0 +1,18 @@ +{ + "crop_pct": 0.875, + "do_normalize": true, + "do_resize": true, + "feature_extractor_type": "ConvNextFeatureExtractor", + "image_mean": [ + 0.485, + 0.456, + 0.406 + ], + "image_std": [ + 0.229, + 0.224, + 0.225 + ], + "resample": 3, + "size": 224 +}