Upload processor
This commit is contained in:
parent
c3a375d775
commit
5692cfc89d
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"crop_size": {
|
"crop_size": {
|
||||||
"height": 224,
|
"height": 480,
|
||||||
"width": 224
|
"width": 480
|
||||||
},
|
},
|
||||||
"do_center_crop": true,
|
"do_center_crop": true,
|
||||||
"do_convert_rgb": true,
|
"do_convert_rgb": true,
|
||||||
|
@ -9,20 +9,20 @@
|
||||||
"do_rescale": true,
|
"do_rescale": true,
|
||||||
"do_resize": true,
|
"do_resize": true,
|
||||||
"image_mean": [
|
"image_mean": [
|
||||||
0.485,
|
0.48145466,
|
||||||
0.456,
|
0.4578275,
|
||||||
0.406
|
0.40821073
|
||||||
],
|
],
|
||||||
"image_processor_type": "CLIPImageProcessor",
|
"image_processor_type": "CLIPImageProcessor",
|
||||||
"image_std": [
|
"image_std": [
|
||||||
0.229,
|
0.26862954,
|
||||||
0.224,
|
0.26130258,
|
||||||
0.225
|
0.27577711
|
||||||
],
|
],
|
||||||
"processor_class": "GitProcessor",
|
"processor_class": "GitProcessor",
|
||||||
"resample": 3,
|
"resample": 3,
|
||||||
"rescale_factor": 0.00392156862745098,
|
"rescale_factor": 0.00392156862745098,
|
||||||
"size": {
|
"size": {
|
||||||
"shortest_edge": 224
|
"shortest_edge": 480
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,48 +5,48 @@
|
||||||
"added_tokens": [
|
"added_tokens": [
|
||||||
{
|
{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"special": true,
|
|
||||||
"content": "[PAD]",
|
"content": "[PAD]",
|
||||||
"single_word": false,
|
"single_word": false,
|
||||||
"lstrip": false,
|
"lstrip": false,
|
||||||
"rstrip": false,
|
"rstrip": false,
|
||||||
"normalized": false
|
"normalized": false,
|
||||||
|
"special": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 100,
|
"id": 100,
|
||||||
"special": true,
|
|
||||||
"content": "[UNK]",
|
"content": "[UNK]",
|
||||||
"single_word": false,
|
"single_word": false,
|
||||||
"lstrip": false,
|
"lstrip": false,
|
||||||
"rstrip": false,
|
"rstrip": false,
|
||||||
"normalized": false
|
"normalized": false,
|
||||||
|
"special": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 101,
|
"id": 101,
|
||||||
"special": true,
|
|
||||||
"content": "[CLS]",
|
"content": "[CLS]",
|
||||||
"single_word": false,
|
"single_word": false,
|
||||||
"lstrip": false,
|
"lstrip": false,
|
||||||
"rstrip": false,
|
"rstrip": false,
|
||||||
"normalized": false
|
"normalized": false,
|
||||||
|
"special": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 102,
|
"id": 102,
|
||||||
"special": true,
|
|
||||||
"content": "[SEP]",
|
"content": "[SEP]",
|
||||||
"single_word": false,
|
"single_word": false,
|
||||||
"lstrip": false,
|
"lstrip": false,
|
||||||
"rstrip": false,
|
"rstrip": false,
|
||||||
"normalized": false
|
"normalized": false,
|
||||||
|
"special": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 103,
|
"id": 103,
|
||||||
"special": true,
|
|
||||||
"content": "[MASK]",
|
"content": "[MASK]",
|
||||||
"single_word": false,
|
"single_word": false,
|
||||||
"lstrip": false,
|
"lstrip": false,
|
||||||
"rstrip": false,
|
"rstrip": false,
|
||||||
"normalized": false
|
"normalized": false,
|
||||||
|
"special": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"normalizer": {
|
"normalizer": {
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
"cls_token": "[CLS]",
|
"cls_token": "[CLS]",
|
||||||
"do_lower_case": true,
|
"do_lower_case": true,
|
||||||
"mask_token": "[MASK]",
|
"mask_token": "[MASK]",
|
||||||
|
"model_input_names": [
|
||||||
|
"input_ids",
|
||||||
|
"attention_mask"
|
||||||
|
],
|
||||||
"model_max_length": 512,
|
"model_max_length": 512,
|
||||||
"name_or_path": "bert-base-uncased",
|
"name_or_path": "bert-base-uncased",
|
||||||
"pad_token": "[PAD]",
|
"pad_token": "[PAD]",
|
||||||
|
|
Loading…
Reference in New Issue