preprocessor_config.json
| 1 | { |
| 2 | "_valid_processor_keys": [ |
| 3 | "images", |
| 4 | "do_resize", |
| 5 | "size", |
| 6 | "keep_aspect_ratio", |
| 7 | "ensure_multiple_of", |
| 8 | "resample", |
| 9 | "do_rescale", |
| 10 | "rescale_factor", |
| 11 | "do_normalize", |
| 12 | "image_mean", |
| 13 | "image_std", |
| 14 | "do_pad", |
| 15 | "size_divisor", |
| 16 | "return_tensors", |
| 17 | "data_format", |
| 18 | "input_data_format" |
| 19 | ], |
| 20 | "do_normalize": true, |
| 21 | "do_pad": false, |
| 22 | "do_rescale": true, |
| 23 | "do_resize": true, |
| 24 | "ensure_multiple_of": 14, |
| 25 | "image_mean": [ |
| 26 | 0.485, |
| 27 | 0.456, |
| 28 | 0.406 |
| 29 | ], |
| 30 | "image_processor_type": "DPTImageProcessor", |
| 31 | "image_std": [ |
| 32 | 0.229, |
| 33 | 0.224, |
| 34 | 0.225 |
| 35 | ], |
| 36 | "keep_aspect_ratio": true, |
| 37 | "resample": 3, |
| 38 | "rescale_factor": 0.00392156862745098, |
| 39 | "size": { |
| 40 | "height": 518, |
| 41 | "width": 518 |
| 42 | }, |
| 43 | "size_divisor": null |
| 44 | } |
| 45 | |