diff --git a/preprocessor_config.json b/preprocessor_config.json index de7b671..f90f0db 100644 --- a/preprocessor_config.json +++ b/preprocessor_config.json @@ -1,7 +1,7 @@ { "crop_size": { - "height": 224, - "width": 224 + "height": 480, + "width": 480 }, "do_center_crop": true, "do_convert_rgb": true, @@ -9,20 +9,20 @@ "do_rescale": true, "do_resize": true, "image_mean": [ - 0.485, - 0.456, - 0.406 + 0.48145466, + 0.4578275, + 0.40821073 ], "image_processor_type": "CLIPImageProcessor", "image_std": [ - 0.229, - 0.224, - 0.225 + 0.26862954, + 0.26130258, + 0.27577711 ], "processor_class": "GitProcessor", "resample": 3, "rescale_factor": 0.00392156862745098, "size": { - "shortest_edge": 224 + "shortest_edge": 480 } } diff --git a/tokenizer.json b/tokenizer.json index 81730a4..688882a 100644 --- a/tokenizer.json +++ b/tokenizer.json @@ -5,48 +5,48 @@ "added_tokens": [ { "id": 0, - "special": true, "content": "[PAD]", "single_word": false, "lstrip": false, "rstrip": false, - "normalized": false + "normalized": false, + "special": true }, { "id": 100, - "special": true, "content": "[UNK]", "single_word": false, "lstrip": false, "rstrip": false, - "normalized": false + "normalized": false, + "special": true }, { "id": 101, - "special": true, "content": "[CLS]", "single_word": false, "lstrip": false, "rstrip": false, - "normalized": false + "normalized": false, + "special": true }, { "id": 102, - "special": true, "content": "[SEP]", "single_word": false, "lstrip": false, "rstrip": false, - "normalized": false + "normalized": false, + "special": true }, { "id": 103, - "special": true, "content": "[MASK]", "single_word": false, "lstrip": false, "rstrip": false, - "normalized": false + "normalized": false, + "special": true } ], "normalizer": { diff --git a/tokenizer_config.json b/tokenizer_config.json index aeec488..fb032e4 100644 --- a/tokenizer_config.json +++ b/tokenizer_config.json @@ -2,6 +2,10 @@ "cls_token": "[CLS]", "do_lower_case": true, "mask_token": "[MASK]", + "model_input_names": [ + "input_ids", + "attention_mask" + ], "model_max_length": 512, "name_or_path": "bert-base-uncased", "pad_token": "[PAD]",