Commit
•
2f2dff2
1
Parent(s):
3eec890
Training in progress, epoch 0
Browse files- .gitignore +1 -0
- config.json +238 -0
- preprocessor_config.json +28 -0
- pytorch_model.bin +3 -0
- runs/Mar29_15-37-50_f7c26454068d/1680104278.506199/events.out.tfevents.1680104278.f7c26454068d.1677.3 +3 -0
- runs/Mar29_15-37-50_f7c26454068d/events.out.tfevents.1680104278.f7c26454068d.1677.2 +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai/clip-vit-large-patch14",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "apple_6",
|
13 |
+
"1": "apple_braeburn_1",
|
14 |
+
"2": "apple_crimson_snow_1",
|
15 |
+
"3": "apple_golden_1",
|
16 |
+
"4": "apple_golden_2",
|
17 |
+
"5": "apple_golden_3",
|
18 |
+
"6": "apple_granny_smith_1",
|
19 |
+
"7": "apple_hit_1",
|
20 |
+
"8": "apple_pink_lady_1",
|
21 |
+
"9": "apple_red_1",
|
22 |
+
"10": "apple_red_2",
|
23 |
+
"11": "apple_red_3",
|
24 |
+
"12": "apple_red_delicios_1",
|
25 |
+
"13": "apple_red_yellow_1",
|
26 |
+
"14": "apple_rotten_1",
|
27 |
+
"15": "cabbage_white_1",
|
28 |
+
"16": "carrot_1",
|
29 |
+
"17": "cucumber_1",
|
30 |
+
"18": "cucumber_3",
|
31 |
+
"19": "eggplant_violet_1",
|
32 |
+
"20": "pear_1",
|
33 |
+
"21": "pear_3",
|
34 |
+
"22": "zucchini_1",
|
35 |
+
"23": "zucchini_dark_1"
|
36 |
+
},
|
37 |
+
"image_size": 224,
|
38 |
+
"initializer_factor": 1.0,
|
39 |
+
"initializer_range": 0.02,
|
40 |
+
"intermediate_size": 3072,
|
41 |
+
"label2id": {
|
42 |
+
"apple_6": 0,
|
43 |
+
"apple_braeburn_1": 1,
|
44 |
+
"apple_crimson_snow_1": 2,
|
45 |
+
"apple_golden_1": 3,
|
46 |
+
"apple_golden_2": 4,
|
47 |
+
"apple_golden_3": 5,
|
48 |
+
"apple_granny_smith_1": 6,
|
49 |
+
"apple_hit_1": 7,
|
50 |
+
"apple_pink_lady_1": 8,
|
51 |
+
"apple_red_1": 9,
|
52 |
+
"apple_red_2": 10,
|
53 |
+
"apple_red_3": 11,
|
54 |
+
"apple_red_delicios_1": 12,
|
55 |
+
"apple_red_yellow_1": 13,
|
56 |
+
"apple_rotten_1": 14,
|
57 |
+
"cabbage_white_1": 15,
|
58 |
+
"carrot_1": 16,
|
59 |
+
"cucumber_1": 17,
|
60 |
+
"cucumber_3": 18,
|
61 |
+
"eggplant_violet_1": 19,
|
62 |
+
"pear_1": 20,
|
63 |
+
"pear_3": 21,
|
64 |
+
"zucchini_1": 22,
|
65 |
+
"zucchini_dark_1": 23
|
66 |
+
},
|
67 |
+
"layer_norm_eps": 1e-12,
|
68 |
+
"logit_scale_init_value": 2.6592,
|
69 |
+
"model_type": "vit",
|
70 |
+
"num_attention_heads": 12,
|
71 |
+
"num_channels": 3,
|
72 |
+
"num_hidden_layers": 12,
|
73 |
+
"patch_size": 16,
|
74 |
+
"problem_type": "single_label_classification",
|
75 |
+
"projection_dim": 768,
|
76 |
+
"qkv_bias": true,
|
77 |
+
"text_config": {
|
78 |
+
"_name_or_path": "",
|
79 |
+
"add_cross_attention": false,
|
80 |
+
"architectures": null,
|
81 |
+
"attention_dropout": 0.0,
|
82 |
+
"bad_words_ids": null,
|
83 |
+
"bos_token_id": 0,
|
84 |
+
"chunk_size_feed_forward": 0,
|
85 |
+
"cross_attention_hidden_size": null,
|
86 |
+
"decoder_start_token_id": null,
|
87 |
+
"diversity_penalty": 0.0,
|
88 |
+
"do_sample": false,
|
89 |
+
"dropout": 0.0,
|
90 |
+
"early_stopping": false,
|
91 |
+
"encoder_no_repeat_ngram_size": 0,
|
92 |
+
"eos_token_id": 2,
|
93 |
+
"finetuning_task": null,
|
94 |
+
"forced_bos_token_id": null,
|
95 |
+
"forced_eos_token_id": null,
|
96 |
+
"hidden_act": "quick_gelu",
|
97 |
+
"hidden_size": 768,
|
98 |
+
"id2label": {
|
99 |
+
"0": "LABEL_0",
|
100 |
+
"1": "LABEL_1"
|
101 |
+
},
|
102 |
+
"initializer_factor": 1.0,
|
103 |
+
"initializer_range": 0.02,
|
104 |
+
"intermediate_size": 3072,
|
105 |
+
"is_decoder": false,
|
106 |
+
"is_encoder_decoder": false,
|
107 |
+
"label2id": {
|
108 |
+
"LABEL_0": 0,
|
109 |
+
"LABEL_1": 1
|
110 |
+
},
|
111 |
+
"layer_norm_eps": 1e-05,
|
112 |
+
"length_penalty": 1.0,
|
113 |
+
"max_length": 20,
|
114 |
+
"max_position_embeddings": 77,
|
115 |
+
"min_length": 0,
|
116 |
+
"model_type": "clip_text_model",
|
117 |
+
"no_repeat_ngram_size": 0,
|
118 |
+
"num_attention_heads": 12,
|
119 |
+
"num_beam_groups": 1,
|
120 |
+
"num_beams": 1,
|
121 |
+
"num_hidden_layers": 12,
|
122 |
+
"num_return_sequences": 1,
|
123 |
+
"output_attentions": false,
|
124 |
+
"output_hidden_states": false,
|
125 |
+
"output_scores": false,
|
126 |
+
"pad_token_id": 1,
|
127 |
+
"prefix": null,
|
128 |
+
"problem_type": null,
|
129 |
+
"projection_dim": 768,
|
130 |
+
"pruned_heads": {},
|
131 |
+
"remove_invalid_values": false,
|
132 |
+
"repetition_penalty": 1.0,
|
133 |
+
"return_dict": true,
|
134 |
+
"return_dict_in_generate": false,
|
135 |
+
"sep_token_id": null,
|
136 |
+
"task_specific_params": null,
|
137 |
+
"temperature": 1.0,
|
138 |
+
"tie_encoder_decoder": false,
|
139 |
+
"tie_word_embeddings": true,
|
140 |
+
"tokenizer_class": null,
|
141 |
+
"top_k": 50,
|
142 |
+
"top_p": 1.0,
|
143 |
+
"torch_dtype": null,
|
144 |
+
"torchscript": false,
|
145 |
+
"transformers_version": "4.16.0.dev0",
|
146 |
+
"use_bfloat16": false,
|
147 |
+
"vocab_size": 49408
|
148 |
+
},
|
149 |
+
"text_config_dict": {
|
150 |
+
"hidden_size": 768,
|
151 |
+
"intermediate_size": 3072,
|
152 |
+
"num_attention_heads": 12,
|
153 |
+
"num_hidden_layers": 12,
|
154 |
+
"projection_dim": 768
|
155 |
+
},
|
156 |
+
"torch_dtype": "float32",
|
157 |
+
"transformers_version": "4.27.3",
|
158 |
+
"vision_config": {
|
159 |
+
"_name_or_path": "",
|
160 |
+
"add_cross_attention": false,
|
161 |
+
"architectures": null,
|
162 |
+
"attention_dropout": 0.0,
|
163 |
+
"bad_words_ids": null,
|
164 |
+
"bos_token_id": null,
|
165 |
+
"chunk_size_feed_forward": 0,
|
166 |
+
"cross_attention_hidden_size": null,
|
167 |
+
"decoder_start_token_id": null,
|
168 |
+
"diversity_penalty": 0.0,
|
169 |
+
"do_sample": false,
|
170 |
+
"dropout": 0.0,
|
171 |
+
"early_stopping": false,
|
172 |
+
"encoder_no_repeat_ngram_size": 0,
|
173 |
+
"eos_token_id": null,
|
174 |
+
"finetuning_task": null,
|
175 |
+
"forced_bos_token_id": null,
|
176 |
+
"forced_eos_token_id": null,
|
177 |
+
"hidden_act": "quick_gelu",
|
178 |
+
"hidden_size": 1024,
|
179 |
+
"id2label": {
|
180 |
+
"0": "LABEL_0",
|
181 |
+
"1": "LABEL_1"
|
182 |
+
},
|
183 |
+
"image_size": 224,
|
184 |
+
"initializer_factor": 1.0,
|
185 |
+
"initializer_range": 0.02,
|
186 |
+
"intermediate_size": 4096,
|
187 |
+
"is_decoder": false,
|
188 |
+
"is_encoder_decoder": false,
|
189 |
+
"label2id": {
|
190 |
+
"LABEL_0": 0,
|
191 |
+
"LABEL_1": 1
|
192 |
+
},
|
193 |
+
"layer_norm_eps": 1e-05,
|
194 |
+
"length_penalty": 1.0,
|
195 |
+
"max_length": 20,
|
196 |
+
"min_length": 0,
|
197 |
+
"model_type": "clip_vision_model",
|
198 |
+
"no_repeat_ngram_size": 0,
|
199 |
+
"num_attention_heads": 16,
|
200 |
+
"num_beam_groups": 1,
|
201 |
+
"num_beams": 1,
|
202 |
+
"num_hidden_layers": 24,
|
203 |
+
"num_return_sequences": 1,
|
204 |
+
"output_attentions": false,
|
205 |
+
"output_hidden_states": false,
|
206 |
+
"output_scores": false,
|
207 |
+
"pad_token_id": null,
|
208 |
+
"patch_size": 14,
|
209 |
+
"prefix": null,
|
210 |
+
"problem_type": null,
|
211 |
+
"projection_dim": 768,
|
212 |
+
"pruned_heads": {},
|
213 |
+
"remove_invalid_values": false,
|
214 |
+
"repetition_penalty": 1.0,
|
215 |
+
"return_dict": true,
|
216 |
+
"return_dict_in_generate": false,
|
217 |
+
"sep_token_id": null,
|
218 |
+
"task_specific_params": null,
|
219 |
+
"temperature": 1.0,
|
220 |
+
"tie_encoder_decoder": false,
|
221 |
+
"tie_word_embeddings": true,
|
222 |
+
"tokenizer_class": null,
|
223 |
+
"top_k": 50,
|
224 |
+
"top_p": 1.0,
|
225 |
+
"torch_dtype": null,
|
226 |
+
"torchscript": false,
|
227 |
+
"transformers_version": "4.16.0.dev0",
|
228 |
+
"use_bfloat16": false
|
229 |
+
},
|
230 |
+
"vision_config_dict": {
|
231 |
+
"hidden_size": 1024,
|
232 |
+
"intermediate_size": 4096,
|
233 |
+
"num_attention_heads": 16,
|
234 |
+
"num_hidden_layers": 24,
|
235 |
+
"patch_size": 14,
|
236 |
+
"projection_dim": 768
|
237 |
+
}
|
238 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_convert_rgb": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
12 |
+
"image_mean": [
|
13 |
+
0.48145466,
|
14 |
+
0.4578275,
|
15 |
+
0.40821073
|
16 |
+
],
|
17 |
+
"image_processor_type": "CLIPFeatureExtractor",
|
18 |
+
"image_std": [
|
19 |
+
0.26862954,
|
20 |
+
0.26130258,
|
21 |
+
0.27577711
|
22 |
+
],
|
23 |
+
"resample": 3,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"shortest_edge": 224
|
27 |
+
}
|
28 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f77b91c95800eb3b80e526072885a2ec2a928b2fe2887e9bd0badd647933ee4
|
3 |
+
size 343336365
|
runs/Mar29_15-37-50_f7c26454068d/1680104278.506199/events.out.tfevents.1680104278.f7c26454068d.1677.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c785675cf263000e362867fafaf8f9e5d6c18aae67b1224a8c128cc639ea6fc7
|
3 |
+
size 5881
|
runs/Mar29_15-37-50_f7c26454068d/events.out.tfevents.1680104278.f7c26454068d.1677.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b81e76dcebb2cff5d1a32f4f2100658a6348e4b030968bd7e6488de945b2cecf
|
3 |
+
size 10526
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03a238f7a57f1ceacabce73400974c4a3c055b1d6ef72a394e12bf67c1db753d
|
3 |
+
size 3643
|