Potentialts
commited on
Commit
·
4b16910
1
Parent(s):
d76ca71
upload model weights
Browse files- processor_config.json +56 -0
processor_config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"expert_processor_list": [
|
3 |
+
{
|
4 |
+
"_processor_class": "Kosmos2_5Processor",
|
5 |
+
"do_convert_rgb": true,
|
6 |
+
"do_normalize": true,
|
7 |
+
"image_processor_type": "Kosmos2_5ImageProcessor",
|
8 |
+
"max_patches": 2048,
|
9 |
+
"patch_size": {
|
10 |
+
"height": 16,
|
11 |
+
"width": 16
|
12 |
+
}
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"_processor_class": null,
|
16 |
+
"crop_size": {
|
17 |
+
"height": 336,
|
18 |
+
"width": 336
|
19 |
+
},
|
20 |
+
"do_center_crop": true,
|
21 |
+
"do_convert_rgb": true,
|
22 |
+
"do_normalize": true,
|
23 |
+
"do_rescale": true,
|
24 |
+
"do_resize": true,
|
25 |
+
"image_mean": [
|
26 |
+
0.48145466,
|
27 |
+
0.4578275,
|
28 |
+
0.40821073
|
29 |
+
],
|
30 |
+
"image_processor_type": "CLIPImageProcessor",
|
31 |
+
"image_std": [
|
32 |
+
0.26862954,
|
33 |
+
0.26130258,
|
34 |
+
0.27577711
|
35 |
+
],
|
36 |
+
"max_patches": 576,
|
37 |
+
"resample": 3,
|
38 |
+
"rescale_factor": 0.00392156862745098,
|
39 |
+
"size": {
|
40 |
+
"shortest_edge": 336
|
41 |
+
}
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"_processor_class": "Pix2StructProcessor",
|
45 |
+
"do_convert_rgb": true,
|
46 |
+
"do_normalize": true,
|
47 |
+
"image_processor_type": "Pix2StructImageProcessor",
|
48 |
+
"is_vqa": false,
|
49 |
+
"max_patches": 2048,
|
50 |
+
"patch_size": {
|
51 |
+
"height": 16,
|
52 |
+
"width": 16
|
53 |
+
}
|
54 |
+
}
|
55 |
+
]
|
56 |
+
}
|