test_dynamic_feature_extractor_vision / preprocessor_config.json
amyeroberts's picture
amyeroberts HF staff
Create preprocessor_config.json
db077bd
raw
history blame
558 Bytes
{
"auto_map": {
"AutoFeatureExtractor": "feature_extractor.NewFeatureExtractor"
},
"crop_size": {
"height": 224,
"width": 224
},
"do_center_crop": true,
"do_convert_rgb": true,
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_mean": [
0.48145466,
0.4578275,
0.40821073
],
"feature_extractor_type": "NewFeatureExtractor",
"image_std": [
0.26862954,
0.26130258,
0.27577711
],
"resample": 3,
"rescale_factor": 0.00392156862745098,
"size": {
"shortest_edge": 224
}
}