preprocessor_config.json
| 1 | { |
| 2 | "auto_map": { |
| 3 | "AutoProcessor": "processing_florence2.Florence2Processor" |
| 4 | }, |
| 5 | "_valid_processor_keys": [ |
| 6 | "images", |
| 7 | "do_resize", |
| 8 | "size", |
| 9 | "resample", |
| 10 | "do_rescale", |
| 11 | "rescale_factor", |
| 12 | "do_normalize", |
| 13 | "image_mean", |
| 14 | "image_std", |
| 15 | "return_tensors", |
| 16 | "data_format", |
| 17 | "input_data_format", |
| 18 | "do_convert_rgb" |
| 19 | ], |
| 20 | "do_convert_rgb": null, |
| 21 | "do_normalize": true, |
| 22 | "do_rescale": true, |
| 23 | "do_resize": true, |
| 24 | "do_center_crop": false, |
| 25 | "image_processor_type": "CLIPImageProcessor", |
| 26 | "image_seq_length": 577, |
| 27 | "image_mean": [0.485, 0.456, 0.406], |
| 28 | "image_std": [0.229, 0.224, 0.225], |
| 29 | "processor_class": "Florence2Processor", |
| 30 | "resample": 3, |
| 31 | "size": { |
| 32 | "height": 768, |
| 33 | "width":768 |
| 34 | }, |
| 35 | "crop_size": { |
| 36 | "height": 768, |
| 37 | "width": 768 |
| 38 | } |
| 39 | } |