Add image processor from convert_d_fine_original_pytorch_checkpoint_to_hf.py
Browse files- preprocessor_config.json +26 -0
    	
        preprocessor_config.json
    ADDED
    
    | @@ -0,0 +1,26 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "do_convert_annotations": true,
         | 
| 3 | 
            +
              "do_normalize": false,
         | 
| 4 | 
            +
              "do_pad": false,
         | 
| 5 | 
            +
              "do_rescale": true,
         | 
| 6 | 
            +
              "do_resize": true,
         | 
| 7 | 
            +
              "format": "coco_detection",
         | 
| 8 | 
            +
              "image_mean": [
         | 
| 9 | 
            +
                0.485,
         | 
| 10 | 
            +
                0.456,
         | 
| 11 | 
            +
                0.406
         | 
| 12 | 
            +
              ],
         | 
| 13 | 
            +
              "image_processor_type": "RTDetrImageProcessor",
         | 
| 14 | 
            +
              "image_std": [
         | 
| 15 | 
            +
                0.229,
         | 
| 16 | 
            +
                0.224,
         | 
| 17 | 
            +
                0.225
         | 
| 18 | 
            +
              ],
         | 
| 19 | 
            +
              "pad_size": null,
         | 
| 20 | 
            +
              "resample": 2,
         | 
| 21 | 
            +
              "rescale_factor": 0.00392156862745098,
         | 
| 22 | 
            +
              "size": {
         | 
| 23 | 
            +
                "height": 640,
         | 
| 24 | 
            +
                "width": 640
         | 
| 25 | 
            +
              }
         | 
| 26 | 
            +
            }
         | 

