From deb642fc0320f589ee43074e4fc0eb646fcde87d Mon Sep 17 00:00:00 2001 From: wsgtest <4918b15d@leinao.ai> Date: Fri, 5 Jul 2024 15:45:04 +0800 Subject: [PATCH] Add preprocessor_config.json Signed-off-by: wsgtest <4918b15d@leinao.ai> --- preprocessor_config.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 preprocessor_config.json diff --git a/preprocessor_config.json b/preprocessor_config.json new file mode 100644 index 0000000..b7414e7 --- /dev/null +++ b/preprocessor_config.json @@ -0,0 +1,17 @@ +{ + "do_normalize": true, + "do_resize": true, + "feature_extractor_type": "ViTFeatureExtractor", + "image_mean": [ + 0.5, + 0.5, + 0.5 + ], + "image_std": [ + 0.5, + 0.5, + 0.5 + ], + "resample": 2, + "size": 224 +}