Upload processor
Browse files- preprocessor_config.json +12 -1
- tokenizer_config.json +3 -0
preprocessor_config.json
CHANGED
@@ -1,12 +1,23 @@
|
|
1 |
{
|
|
|
2 |
"do_rescale": true,
|
3 |
"do_resize": true,
|
4 |
"image_processor_type": "SiglipImageProcessor",
|
|
|
|
|
|
|
|
|
|
|
5 |
"processor_class": "SiglipProcessor",
|
6 |
"resample": 3,
|
7 |
"rescale_factor": 0.00392156862745098,
|
8 |
"size": {
|
9 |
"height": 224,
|
10 |
"width": 224
|
11 |
-
}
|
|
|
|
|
|
|
|
|
|
|
12 |
}
|
|
|
1 |
{
|
2 |
+
"do_normalize": true,
|
3 |
"do_rescale": true,
|
4 |
"do_resize": true,
|
5 |
"image_processor_type": "SiglipImageProcessor",
|
6 |
+
"mean": [
|
7 |
+
0.5,
|
8 |
+
0.5,
|
9 |
+
0.5
|
10 |
+
],
|
11 |
"processor_class": "SiglipProcessor",
|
12 |
"resample": 3,
|
13 |
"rescale_factor": 0.00392156862745098,
|
14 |
"size": {
|
15 |
"height": 224,
|
16 |
"width": 224
|
17 |
+
},
|
18 |
+
"std": [
|
19 |
+
0.5,
|
20 |
+
0.5,
|
21 |
+
0.5
|
22 |
+
]
|
23 |
}
|
tokenizer_config.json
CHANGED
@@ -21,6 +21,9 @@
|
|
21 |
"clean_up_tokenization_spaces": true,
|
22 |
"do_lower_case": true,
|
23 |
"eos_token": "</s>",
|
|
|
|
|
|
|
24 |
"model_max_length": 64,
|
25 |
"pad_token": "</s>",
|
26 |
"processor_class": "SiglipProcessor",
|
|
|
21 |
"clean_up_tokenization_spaces": true,
|
22 |
"do_lower_case": true,
|
23 |
"eos_token": "</s>",
|
24 |
+
"model_input_names": [
|
25 |
+
"input_ids"
|
26 |
+
],
|
27 |
"model_max_length": 64,
|
28 |
"pad_token": "</s>",
|
29 |
"processor_class": "SiglipProcessor",
|