Upload preprocessor_config.json with huggingface_hub
Browse files- preprocessor_config.json +24 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"auto_map": {
|
| 3 |
+
"AutoImageProcessor": "processing_minicpmv.MiniCPMVImageProcessor",
|
| 4 |
+
"AutoProcessor": "processing_minicpmv.MiniCPMVProcessor"
|
| 5 |
+
},
|
| 6 |
+
"image_processor_type": "MiniCPMVImageProcessor",
|
| 7 |
+
"processor_class": "MiniCPMVProcessor",
|
| 8 |
+
"query_num": 64,
|
| 9 |
+
"max_slice_nums": 9,
|
| 10 |
+
"scale_resolution": 448,
|
| 11 |
+
"patch_size": 14,
|
| 12 |
+
"max_inp_length": 2048,
|
| 13 |
+
"image_mean": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"image_std": [
|
| 19 |
+
0.5,
|
| 20 |
+
0.5,
|
| 21 |
+
0.5
|
| 22 |
+
]
|
| 23 |
+
}
|
| 24 |
+
|