Upload processor
Browse files- preprocessor_config.json +28 -0
- tokenizer.json +0 -1
- tokenizer_config.json +1 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 336,
|
4 |
+
"width": 336
|
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": [
|
12 |
+
0.48145466,
|
13 |
+
0.4578275,
|
14 |
+
0.40821073
|
15 |
+
],
|
16 |
+
"image_processor_type": "CLIPImageProcessor",
|
17 |
+
"image_std": [
|
18 |
+
0.26862954,
|
19 |
+
0.26130258,
|
20 |
+
0.27577711
|
21 |
+
],
|
22 |
+
"processor_class": "CLIPProcessor",
|
23 |
+
"resample": 3,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"shortest_edge": 336
|
27 |
+
}
|
28 |
+
}
|
tokenizer.json
CHANGED
@@ -86,7 +86,6 @@
|
|
86 |
"end_of_word_suffix": "</w>",
|
87 |
"fuse_unk": false,
|
88 |
"byte_fallback": false,
|
89 |
-
"ignore_merges": false,
|
90 |
"vocab": {
|
91 |
"!": 0,
|
92 |
"\"": 1,
|
|
|
86 |
"end_of_word_suffix": "</w>",
|
87 |
"fuse_unk": false,
|
88 |
"byte_fallback": false,
|
|
|
89 |
"vocab": {
|
90 |
"!": 0,
|
91 |
"\"": 1,
|
tokenizer_config.json
CHANGED
@@ -25,6 +25,7 @@
|
|
25 |
"errors": "replace",
|
26 |
"model_max_length": 77,
|
27 |
"pad_token": "<|endoftext|>",
|
|
|
28 |
"tokenizer_class": "CLIPTokenizer",
|
29 |
"unk_token": "<|endoftext|>"
|
30 |
}
|
|
|
25 |
"errors": "replace",
|
26 |
"model_max_length": 77,
|
27 |
"pad_token": "<|endoftext|>",
|
28 |
+
"processor_class": "CLIPProcessor",
|
29 |
"tokenizer_class": "CLIPTokenizer",
|
30 |
"unk_token": "<|endoftext|>"
|
31 |
}
|