font_classifier_v4 / preprocessor_config.json
dchen0's picture
Add merged model + custom processor with pad_to_square
e72ee82 verified
raw
history blame
550 Bytes
{
"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.485,
0.456,
0.406
],
"image_processor_type": "FontClassifierImageProcessor",
"image_std": [
0.229,
0.224,
0.225
],
"resample": 3,
"rescale_factor": 0.00392156862745098,
"size": {
"shortest_edge": 256
},
"auto_map": {
"AutoImageProcessor": "font_classifier_processor.FontClassifierImageProcessor"
}
}