Commit
·
aef7c07
1
Parent(s):
f9d35e0
Upload processor
Browse files- preprocessor_config.json +7 -9
- tokenizer_config.json +3 -1
preprocessor_config.json
CHANGED
|
@@ -1,11 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"crop_size": {
|
| 3 |
-
"height": 480,
|
| 4 |
-
"width": 480
|
| 5 |
-
},
|
| 6 |
-
"do_center_crop": true,
|
| 7 |
"do_convert_rgb": true,
|
| 8 |
"do_normalize": true,
|
|
|
|
| 9 |
"do_rescale": true,
|
| 10 |
"do_resize": true,
|
| 11 |
"image_mean": [
|
|
@@ -13,16 +9,18 @@
|
|
| 13 |
0.4578275,
|
| 14 |
0.40821073
|
| 15 |
],
|
| 16 |
-
"image_processor_type": "
|
| 17 |
"image_std": [
|
| 18 |
0.26862954,
|
| 19 |
0.26130258,
|
| 20 |
0.27577711
|
| 21 |
],
|
| 22 |
-
"processor_class": "
|
| 23 |
"resample": 3,
|
| 24 |
"rescale_factor": 0.00392156862745098,
|
| 25 |
"size": {
|
| 26 |
-
"
|
| 27 |
-
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"do_convert_rgb": true,
|
| 3 |
"do_normalize": true,
|
| 4 |
+
"do_pad": true,
|
| 5 |
"do_rescale": true,
|
| 6 |
"do_resize": true,
|
| 7 |
"image_mean": [
|
|
|
|
| 9 |
0.4578275,
|
| 10 |
0.40821073
|
| 11 |
],
|
| 12 |
+
"image_processor_type": "BlipImageProcessor",
|
| 13 |
"image_std": [
|
| 14 |
0.26862954,
|
| 15 |
0.26130258,
|
| 16 |
0.27577711
|
| 17 |
],
|
| 18 |
+
"processor_class": "BlipProcessor",
|
| 19 |
"resample": 3,
|
| 20 |
"rescale_factor": 0.00392156862745098,
|
| 21 |
"size": {
|
| 22 |
+
"height": 384,
|
| 23 |
+
"width": 384
|
| 24 |
+
},
|
| 25 |
+
"size_divisor": 32
|
| 26 |
}
|
tokenizer_config.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"clean_up_tokenization_spaces": true,
|
| 3 |
"cls_token": "[CLS]",
|
|
|
|
| 4 |
"do_lower_case": true,
|
| 5 |
"mask_token": "[MASK]",
|
| 6 |
"model_input_names": [
|
|
@@ -8,8 +9,9 @@
|
|
| 8 |
"attention_mask"
|
| 9 |
],
|
| 10 |
"model_max_length": 512,
|
|
|
|
| 11 |
"pad_token": "[PAD]",
|
| 12 |
-
"processor_class": "
|
| 13 |
"sep_token": "[SEP]",
|
| 14 |
"strip_accents": null,
|
| 15 |
"tokenize_chinese_chars": true,
|
|
|
|
| 1 |
{
|
| 2 |
"clean_up_tokenization_spaces": true,
|
| 3 |
"cls_token": "[CLS]",
|
| 4 |
+
"do_basic_tokenize": true,
|
| 5 |
"do_lower_case": true,
|
| 6 |
"mask_token": "[MASK]",
|
| 7 |
"model_input_names": [
|
|
|
|
| 9 |
"attention_mask"
|
| 10 |
],
|
| 11 |
"model_max_length": 512,
|
| 12 |
+
"never_split": null,
|
| 13 |
"pad_token": "[PAD]",
|
| 14 |
+
"processor_class": "BlipProcessor",
|
| 15 |
"sep_token": "[SEP]",
|
| 16 |
"strip_accents": null,
|
| 17 |
"tokenize_chinese_chars": true,
|