trocr-small-printed / preprocessor_config.json
ram1813's picture
ValueError: Unrecognized feature extractor in microsoft/trocr-base-handwritten. Should have a `feature_extractor_type` key in its preprocessor_config.json of config.json, or one of the following `model_type` keys in its {CONFIG_NAME}: {', '.join(c for c in FEATURE_EXTRACTOR_MAPPING_NAMES.keys())}
f9cfe12 verified
raw
history blame
274 Bytes
{
"crop_size": 224,
"do_center_crop": false,
"do_normalize": true,
"do_resize": true,
"feature_extractor_type": "DeiTImageProcessor",
"image_mean": [
0.5,
0.5,
0.5
],
"image_std": [
0.5,
0.5,
0.5
],
"resample": 3,
"size": 384
}