Update preprocessor_config.json
Browse files- preprocessor_config.json +13 -24
preprocessor_config.json
CHANGED
|
@@ -1,50 +1,39 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
| 2 |
"_valid_processor_keys": [
|
| 3 |
"images",
|
| 4 |
"do_resize",
|
| 5 |
"size",
|
| 6 |
"resample",
|
| 7 |
-
"do_center_crop",
|
| 8 |
-
"crop_size",
|
| 9 |
"do_rescale",
|
| 10 |
"rescale_factor",
|
| 11 |
"do_normalize",
|
| 12 |
"image_mean",
|
| 13 |
"image_std",
|
| 14 |
-
"do_convert_rgb",
|
| 15 |
"return_tensors",
|
| 16 |
"data_format",
|
| 17 |
-
"input_data_format"
|
|
|
|
| 18 |
],
|
| 19 |
-
"auto_map": {
|
| 20 |
-
"AutoProcessor": "AdithyaSK/ViViD--processing_florence2.Florence2Processor"
|
| 21 |
-
},
|
| 22 |
-
"crop_size": {
|
| 23 |
-
"height": 768,
|
| 24 |
-
"width": 768
|
| 25 |
-
},
|
| 26 |
-
"do_center_crop": false,
|
| 27 |
"do_convert_rgb": null,
|
| 28 |
"do_normalize": true,
|
| 29 |
"do_rescale": true,
|
| 30 |
"do_resize": true,
|
| 31 |
-
"
|
| 32 |
-
0.485,
|
| 33 |
-
0.456,
|
| 34 |
-
0.406
|
| 35 |
-
],
|
| 36 |
"image_processor_type": "CLIPImageProcessor",
|
| 37 |
"image_seq_length": 577,
|
| 38 |
-
"
|
| 39 |
-
|
| 40 |
-
0.224,
|
| 41 |
-
0.225
|
| 42 |
-
],
|
| 43 |
"processor_class": "Florence2Processor",
|
| 44 |
"resample": 3,
|
| 45 |
-
"rescale_factor": 0.00392156862745098,
|
| 46 |
"size": {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
"height": 768,
|
| 48 |
"width": 768
|
| 49 |
}
|
| 50 |
-
}
|
|
|
|
| 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 |
+
}
|