Add feature extractor

This commit is contained in:
Niels Rogge 2022-03-22 15:11:54 +01:00
parent 9f7d1696ea
commit e93beec227
1 changed files with 19 additions and 0 deletions

19
preprocessor_config.json Normal file
View File

@ -0,0 +1,19 @@
{
"do_normalize": true,
"do_resize": true,
"ensure_multiple_of": 1,
"feature_extractor_type": "DPTFeatureExtractor",
"image_mean": [
0.5,
0.5,
0.5
],
"image_std": [
0.5,
0.5,
0.5
],
"keep_aspect_ratio": false,
"resample": 2,
"size": 384
}