chest-xray-classifier / preprocessor_config.json
kiselyovd's picture
fix: match torchvision preprocessing and publish verified test replay
09bd78b verified
Raw History Blame Contribute Delete
478 Bytes
{
"auto_map": {
"AutoImageProcessor": "hf_processor.ChestXrayImageProcessor"
},
"crop_pct": 0.8784313725490196,
"do_convert_rgb": true,
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_mean": [
0.485,
0.456,
0.406
],
"image_processor_type": "ChestXrayImageProcessor",
"image_std": [
0.229,
0.224,
0.225
],
"resample": 2,
"rescale_factor": 0.00392156862745098,
"size": {
"shortest_edge": 224
}
}