maira-2 / preprocessor_config.json
sthyland's picture
add auto mapping to preprocessor_config for opportunity to use model after save_pretrained (#13)
33f99f8 verified
raw
history blame contribute delete
560 Bytes
{
"auto_map": {
"AutoProcessor": "processing_maira2.Maira2Processor"
},
"crop_size": {
"height": 518,
"width": 518
},
"do_center_crop": true,
"do_convert_rgb": true,
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_mean": [
0.5307,
0.5307,
0.5307
],
"image_processor_type": "BitImageProcessor",
"image_std": [
0.2583,
0.2583,
0.2583
],
"processor_class": "Maira2Processor",
"resample": 3,
"rescale_factor": 0.00392156862745098,
"size": {
"shortest_edge": 518
}
}