Upload preprocessor_config.json with huggingface_hub
Browse files- preprocessor_config.json +3 -7
preprocessor_config.json
CHANGED
|
@@ -1,15 +1,11 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
"width": 256
|
| 5 |
-
},
|
| 6 |
"do_center_crop": true,
|
| 7 |
"do_normalize": true,
|
| 8 |
"do_resize": true,
|
| 9 |
"image_mean": [0.0, 0.0, 0.0],
|
| 10 |
"image_std": [1.0, 1.0, 1.0],
|
| 11 |
"resample": 3,
|
| 12 |
-
"size": {
|
| 13 |
-
"shortest_edge": 256
|
| 14 |
-
}
|
| 15 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 3 |
+
"crop_size": {"height": 256, "width": 256},
|
|
|
|
|
|
|
| 4 |
"do_center_crop": true,
|
| 5 |
"do_normalize": true,
|
| 6 |
"do_resize": true,
|
| 7 |
"image_mean": [0.0, 0.0, 0.0],
|
| 8 |
"image_std": [1.0, 1.0, 1.0],
|
| 9 |
"resample": 3,
|
| 10 |
+
"size": {"shortest_edge": 256}
|
|
|
|
|
|
|
| 11 |
}
|