Commit
·
ede2500
1
Parent(s):
c5798fa
First commit
Browse files- config.json +36 -0
- label_mapping.json +1 -0
- merges.txt +0 -0
- preprocessor_config.json +45 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +31 -0
- vocab.json +0 -0
config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"CLIPModel"
|
| 4 |
+
],
|
| 5 |
+
"class_labels_mapping": {
|
| 6 |
+
"Ghost > Studio > bottom > front": 12,
|
| 7 |
+
"Ghost > Studio > top > front": 11,
|
| 8 |
+
"Ghost > Studio > zoomed > front": 10,
|
| 9 |
+
"Human > Indoor > half-body > back": 9,
|
| 10 |
+
"Human > Indoor > half-body > front": 8,
|
| 11 |
+
"Human > Studio > full-body > back": 7,
|
| 12 |
+
"Human > Studio > full-body > front": 6,
|
| 13 |
+
"Human > Studio > full-body > side": 5,
|
| 14 |
+
"Human > Studio > half-body > back": 4,
|
| 15 |
+
"Human > Studio > half-body > front": 3,
|
| 16 |
+
"Human > Studio > half-body > side": 2,
|
| 17 |
+
"Human > Studio > zoomed > front": 1,
|
| 18 |
+
"Human > Studio > zoomed > side": 0
|
| 19 |
+
},
|
| 20 |
+
"initializer_factor": 1.0,
|
| 21 |
+
"logit_scale_init_value": 2.6592,
|
| 22 |
+
"model_type": "clip",
|
| 23 |
+
"projection_dim": 512,
|
| 24 |
+
"text_config": {
|
| 25 |
+
"bos_token_id": 0,
|
| 26 |
+
"dropout": 0.0,
|
| 27 |
+
"eos_token_id": 2,
|
| 28 |
+
"model_type": "clip_text_model"
|
| 29 |
+
},
|
| 30 |
+
"torch_dtype": "float32",
|
| 31 |
+
"transformers_version": "4.41.2",
|
| 32 |
+
"vision_config": {
|
| 33 |
+
"dropout": 0.0,
|
| 34 |
+
"model_type": "clip_vision_model"
|
| 35 |
+
}
|
| 36 |
+
}
|
label_mapping.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"Human > Studio > zoomed > side": 0, "Human > Studio > zoomed > front": 1, "Human > Studio > half-body > side": 2, "Human > Studio > half-body > front": 3, "Human > Studio > half-body > back": 4, "Human > Studio > full-body > side": 5, "Human > Studio > full-body > front": 6, "Human > Studio > full-body > back": 7, "Human > Indoor > half-body > front": 8, "Human > Indoor > half-body > back": 9, "Ghost > Studio > zoomed > front": 10, "Ghost > Studio > top > front": 11, "Ghost > Studio > bottom > front": 12}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_valid_processor_keys": [
|
| 3 |
+
"images",
|
| 4 |
+
"do_resize",
|
| 5 |
+
"size",
|
| 6 |
+
"resample",
|
| 7 |
+
"do_center_crop",
|
| 8 |
+
"crop_size",
|
| 9 |
+
"do_rescale",
|
| 10 |
+
"rescale_factor",
|
| 11 |
+
"do_normalize",
|
| 12 |
+
"image_mean",
|
| 13 |
+
"image_std",
|
| 14 |
+
"do_convert_rgb",
|
| 15 |
+
"return_tensors",
|
| 16 |
+
"data_format",
|
| 17 |
+
"input_data_format"
|
| 18 |
+
],
|
| 19 |
+
"crop_size": {
|
| 20 |
+
"height": 224,
|
| 21 |
+
"width": 224
|
| 22 |
+
},
|
| 23 |
+
"do_center_crop": true,
|
| 24 |
+
"do_convert_rgb": true,
|
| 25 |
+
"do_normalize": true,
|
| 26 |
+
"do_rescale": true,
|
| 27 |
+
"do_resize": true,
|
| 28 |
+
"image_mean": [
|
| 29 |
+
0.48145466,
|
| 30 |
+
0.4578275,
|
| 31 |
+
0.40821073
|
| 32 |
+
],
|
| 33 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 34 |
+
"image_std": [
|
| 35 |
+
0.26862954,
|
| 36 |
+
0.26130258,
|
| 37 |
+
0.27577711
|
| 38 |
+
],
|
| 39 |
+
"processor_class": "CLIPProcessor",
|
| 40 |
+
"resample": 3,
|
| 41 |
+
"rescale_factor": 0.00392156862745098,
|
| 42 |
+
"size": {
|
| 43 |
+
"shortest_edge": 224
|
| 44 |
+
}
|
| 45 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83d9df2bf012fc6143ff7aeaa67e71f7339a53b913cd88a0d5a3da9677a15d40
|
| 3 |
+
size 605300682
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<|startoftext|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|endoftext|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<|endoftext|>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "<|endoftext|>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
}
|
| 30 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"49406": {
|
| 5 |
+
"content": "<|startoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"49407": {
|
| 13 |
+
"content": "<|endoftext|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
}
|
| 20 |
+
},
|
| 21 |
+
"bos_token": "<|startoftext|>",
|
| 22 |
+
"clean_up_tokenization_spaces": true,
|
| 23 |
+
"do_lower_case": true,
|
| 24 |
+
"eos_token": "<|endoftext|>",
|
| 25 |
+
"errors": "replace",
|
| 26 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 27 |
+
"pad_token": "<|endoftext|>",
|
| 28 |
+
"processor_class": "CLIPProcessor",
|
| 29 |
+
"tokenizer_class": "CLIPTokenizer",
|
| 30 |
+
"unk_token": "<|endoftext|>"
|
| 31 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|