kariver commited on
Commit
0449e03
1 Parent(s): a6bd68a

End of training

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/detr-resnet-50
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ model-index:
9
+ - name: detr-resnet-50_adamw_hf_epoch_finetuned_food-roboflow
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # detr-resnet-50_adamw_hf_epoch_finetuned_food-roboflow
17
+
18
+ This model is a fine-tuned version of [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50) on the imagefolder dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 2.9613
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 0.0001
40
+ - train_batch_size: 16
41
+ - eval_batch_size: 16
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 15
46
+ - mixed_precision_training: Native AMP
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-----:|:----:|:---------------:|
52
+ | No log | 1.0 | 33 | 3.4739 |
53
+ | 4.5266 | 2.0 | 66 | 3.4064 |
54
+ | 4.5266 | 3.0 | 99 | 3.2739 |
55
+ | 3.2133 | 4.0 | 132 | 3.3611 |
56
+ | 3.3196 | 5.0 | 165 | 3.1082 |
57
+ | 3.3196 | 6.0 | 198 | 3.2548 |
58
+ | 2.9882 | 7.0 | 231 | 3.2691 |
59
+ | 3.1559 | 8.0 | 264 | 3.2925 |
60
+ | 3.1559 | 9.0 | 297 | 3.1214 |
61
+ | 2.9855 | 10.0 | 330 | 3.0595 |
62
+ | 2.8269 | 11.0 | 363 | 3.0367 |
63
+ | 2.8269 | 12.0 | 396 | 3.0276 |
64
+ | 2.7938 | 13.0 | 429 | 3.0012 |
65
+ | 2.7678 | 14.0 | 462 | 2.9559 |
66
+ | 2.7678 | 15.0 | 495 | 2.9613 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.35.0
72
+ - Pytorch 2.1.0+cu118
73
+ - Datasets 2.14.6
74
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,290 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/detr-resnet-50",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "DetrForObjectDetection"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auxiliary_loss": false,
10
+ "backbone": "resnet50",
11
+ "backbone_config": null,
12
+ "bbox_cost": 5,
13
+ "bbox_loss_coefficient": 5,
14
+ "class_cost": 1,
15
+ "classifier_dropout": 0.0,
16
+ "d_model": 256,
17
+ "decoder_attention_heads": 8,
18
+ "decoder_ffn_dim": 2048,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "dice_loss_coefficient": 1,
22
+ "dilation": false,
23
+ "dropout": 0.1,
24
+ "encoder_attention_heads": 8,
25
+ "encoder_ffn_dim": 2048,
26
+ "encoder_layerdrop": 0.0,
27
+ "encoder_layers": 6,
28
+ "eos_coefficient": 0.1,
29
+ "giou_cost": 2,
30
+ "giou_loss_coefficient": 2,
31
+ "id2label": {
32
+ "0": "Akabare Khursani",
33
+ "1": "Apple",
34
+ "2": "Artichoke",
35
+ "3": "Ash Gourd -Kubhindo-",
36
+ "4": "Asparagus -Kurilo-",
37
+ "5": "Avocado",
38
+ "6": "Bacon",
39
+ "7": "Bamboo Shoots -Tama-",
40
+ "8": "Banana",
41
+ "9": "Beans",
42
+ "10": "Beaten Rice -Chiura-",
43
+ "11": "Beef",
44
+ "12": "Beetroot",
45
+ "13": "Bethu ko Saag",
46
+ "14": "Bitter Gourd",
47
+ "15": "Black Lentils",
48
+ "16": "Black beans",
49
+ "17": "Bottle Gourd -Lauka-",
50
+ "18": "Bread",
51
+ "19": "Brinjal",
52
+ "20": "Broad Beans -Bakullo-",
53
+ "21": "Broccoli",
54
+ "22": "Buff Meat",
55
+ "23": "Butter",
56
+ "24": "Cabbage",
57
+ "25": "Capsicum",
58
+ "26": "Carrot",
59
+ "27": "Cassava -Ghar Tarul-",
60
+ "28": "Cauliflower",
61
+ "29": "Chayote-iskus-",
62
+ "30": "Cheese",
63
+ "31": "Chicken Gizzards",
64
+ "32": "Chicken",
65
+ "33": "Chickpeas",
66
+ "34": "Chili Pepper -Khursani-",
67
+ "35": "Chili Powder",
68
+ "36": "Chowmein Noodles",
69
+ "37": "Cinnamon",
70
+ "38": "Coriander -Dhaniya-",
71
+ "39": "Corn",
72
+ "40": "Cornflakec",
73
+ "41": "Crab Meat",
74
+ "42": "Cucumber",
75
+ "43": "Egg",
76
+ "44": "Farsi ko Munta",
77
+ "45": "Fiddlehead Ferns -Niguro-",
78
+ "46": "Fish",
79
+ "47": "Garden Peas",
80
+ "48": "Garden cress-Chamsur ko saag-",
81
+ "49": "Garlic",
82
+ "50": "Ginger",
83
+ "51": "Green Brinjal",
84
+ "52": "Green Lentils",
85
+ "53": "Green Mint -Pudina-",
86
+ "54": "Green Peas",
87
+ "55": "Green Soyabean -Hariyo Bhatmas-",
88
+ "56": "Gundruk",
89
+ "57": "Ham",
90
+ "58": "Ice",
91
+ "59": "Jack Fruit",
92
+ "60": "Ketchup",
93
+ "61": "Lapsi -Nepali Hog Plum-",
94
+ "62": "Lemon -Nimbu-",
95
+ "63": "Lime -Kagati-",
96
+ "64": "Long Beans -Bodi-",
97
+ "65": "Masyaura",
98
+ "66": "Milk",
99
+ "67": "Minced Meat",
100
+ "68": "Moringa Leaves -Sajyun ko Munta-",
101
+ "69": "Mushroom",
102
+ "70": "Mutton",
103
+ "71": "Nutrela -Soya Chunks-",
104
+ "72": "Okra -Bhindi-",
105
+ "73": "Olive Oil",
106
+ "74": "Onion Leaves",
107
+ "75": "Onion",
108
+ "76": "Orange",
109
+ "77": "Palak -Indian Spinach-",
110
+ "78": "Palungo -Nepali Spinach-",
111
+ "79": "Paneer",
112
+ "80": "Papaya",
113
+ "81": "Pea",
114
+ "82": "Pear",
115
+ "83": "Pointed Gourd -Chuche Karela-",
116
+ "84": "Pork",
117
+ "85": "Potato",
118
+ "86": "Pumpkin -Farsi-",
119
+ "87": "Radish",
120
+ "88": "Rahar ko Daal",
121
+ "89": "Rayo ko Saag",
122
+ "90": "Red Beans",
123
+ "91": "Red Lentils",
124
+ "92": "Rice -Chamal-",
125
+ "93": "Sajjyun -Moringa Drumsticks-",
126
+ "94": "Salt",
127
+ "95": "Sausage",
128
+ "96": "Snake Gourd -Chichindo-",
129
+ "97": "Soy Sauce",
130
+ "98": "Soyabean -Bhatmas-",
131
+ "99": "Sponge Gourd -Ghiraula-",
132
+ "100": "Stinging Nettle -Sisnu-",
133
+ "101": "Strawberry",
134
+ "102": "Sugar",
135
+ "103": "Sweet Potato -Suthuni-",
136
+ "104": "Taro Leaves -Karkalo-",
137
+ "105": "Taro Root-Pidalu-",
138
+ "106": "Thukpa Noodles",
139
+ "107": "Tofu",
140
+ "108": "Tomato",
141
+ "109": "Tori ko Saag",
142
+ "110": "Tree Tomato -Rukh Tamatar-",
143
+ "111": "Turnip",
144
+ "112": "Wallnut",
145
+ "113": "Water Melon",
146
+ "114": "Wheat",
147
+ "115": "Yellow Lentils",
148
+ "116": "kimchi",
149
+ "117": "mayonnaise",
150
+ "118": "noodle",
151
+ "119": "seaweed"
152
+ },
153
+ "init_std": 0.02,
154
+ "init_xavier_std": 1.0,
155
+ "is_encoder_decoder": true,
156
+ "label2id": {
157
+ "Akabare Khursani": 0,
158
+ "Apple": 1,
159
+ "Artichoke": 2,
160
+ "Ash Gourd -Kubhindo-": 3,
161
+ "Asparagus -Kurilo-": 4,
162
+ "Avocado": 5,
163
+ "Bacon": 6,
164
+ "Bamboo Shoots -Tama-": 7,
165
+ "Banana": 8,
166
+ "Beans": 9,
167
+ "Beaten Rice -Chiura-": 10,
168
+ "Beef": 11,
169
+ "Beetroot": 12,
170
+ "Bethu ko Saag": 13,
171
+ "Bitter Gourd": 14,
172
+ "Black Lentils": 15,
173
+ "Black beans": 16,
174
+ "Bottle Gourd -Lauka-": 17,
175
+ "Bread": 18,
176
+ "Brinjal": 19,
177
+ "Broad Beans -Bakullo-": 20,
178
+ "Broccoli": 21,
179
+ "Buff Meat": 22,
180
+ "Butter": 23,
181
+ "Cabbage": 24,
182
+ "Capsicum": 25,
183
+ "Carrot": 26,
184
+ "Cassava -Ghar Tarul-": 27,
185
+ "Cauliflower": 28,
186
+ "Chayote-iskus-": 29,
187
+ "Cheese": 30,
188
+ "Chicken": 32,
189
+ "Chicken Gizzards": 31,
190
+ "Chickpeas": 33,
191
+ "Chili Pepper -Khursani-": 34,
192
+ "Chili Powder": 35,
193
+ "Chowmein Noodles": 36,
194
+ "Cinnamon": 37,
195
+ "Coriander -Dhaniya-": 38,
196
+ "Corn": 39,
197
+ "Cornflakec": 40,
198
+ "Crab Meat": 41,
199
+ "Cucumber": 42,
200
+ "Egg": 43,
201
+ "Farsi ko Munta": 44,
202
+ "Fiddlehead Ferns -Niguro-": 45,
203
+ "Fish": 46,
204
+ "Garden Peas": 47,
205
+ "Garden cress-Chamsur ko saag-": 48,
206
+ "Garlic": 49,
207
+ "Ginger": 50,
208
+ "Green Brinjal": 51,
209
+ "Green Lentils": 52,
210
+ "Green Mint -Pudina-": 53,
211
+ "Green Peas": 54,
212
+ "Green Soyabean -Hariyo Bhatmas-": 55,
213
+ "Gundruk": 56,
214
+ "Ham": 57,
215
+ "Ice": 58,
216
+ "Jack Fruit": 59,
217
+ "Ketchup": 60,
218
+ "Lapsi -Nepali Hog Plum-": 61,
219
+ "Lemon -Nimbu-": 62,
220
+ "Lime -Kagati-": 63,
221
+ "Long Beans -Bodi-": 64,
222
+ "Masyaura": 65,
223
+ "Milk": 66,
224
+ "Minced Meat": 67,
225
+ "Moringa Leaves -Sajyun ko Munta-": 68,
226
+ "Mushroom": 69,
227
+ "Mutton": 70,
228
+ "Nutrela -Soya Chunks-": 71,
229
+ "Okra -Bhindi-": 72,
230
+ "Olive Oil": 73,
231
+ "Onion": 75,
232
+ "Onion Leaves": 74,
233
+ "Orange": 76,
234
+ "Palak -Indian Spinach-": 77,
235
+ "Palungo -Nepali Spinach-": 78,
236
+ "Paneer": 79,
237
+ "Papaya": 80,
238
+ "Pea": 81,
239
+ "Pear": 82,
240
+ "Pointed Gourd -Chuche Karela-": 83,
241
+ "Pork": 84,
242
+ "Potato": 85,
243
+ "Pumpkin -Farsi-": 86,
244
+ "Radish": 87,
245
+ "Rahar ko Daal": 88,
246
+ "Rayo ko Saag": 89,
247
+ "Red Beans": 90,
248
+ "Red Lentils": 91,
249
+ "Rice -Chamal-": 92,
250
+ "Sajjyun -Moringa Drumsticks-": 93,
251
+ "Salt": 94,
252
+ "Sausage": 95,
253
+ "Snake Gourd -Chichindo-": 96,
254
+ "Soy Sauce": 97,
255
+ "Soyabean -Bhatmas-": 98,
256
+ "Sponge Gourd -Ghiraula-": 99,
257
+ "Stinging Nettle -Sisnu-": 100,
258
+ "Strawberry": 101,
259
+ "Sugar": 102,
260
+ "Sweet Potato -Suthuni-": 103,
261
+ "Taro Leaves -Karkalo-": 104,
262
+ "Taro Root-Pidalu-": 105,
263
+ "Thukpa Noodles": 106,
264
+ "Tofu": 107,
265
+ "Tomato": 108,
266
+ "Tori ko Saag": 109,
267
+ "Tree Tomato -Rukh Tamatar-": 110,
268
+ "Turnip": 111,
269
+ "Wallnut": 112,
270
+ "Water Melon": 113,
271
+ "Wheat": 114,
272
+ "Yellow Lentils": 115,
273
+ "kimchi": 116,
274
+ "mayonnaise": 117,
275
+ "noodle": 118,
276
+ "seaweed": 119
277
+ },
278
+ "mask_loss_coefficient": 1,
279
+ "max_position_embeddings": 1024,
280
+ "model_type": "detr",
281
+ "num_channels": 3,
282
+ "num_hidden_layers": 6,
283
+ "num_queries": 100,
284
+ "position_embedding_type": "sine",
285
+ "scale_embedding": false,
286
+ "torch_dtype": "float32",
287
+ "transformers_version": "4.35.0",
288
+ "use_pretrained_backbone": true,
289
+ "use_timm_backbone": true
290
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c13889d31ca4c8e896e3868281b92f324f2a18c652bbc93e686d61bedb12508
3
+ size 166617180
preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "format": "coco_detection",
7
+ "image_mean": [
8
+ 0.485,
9
+ 0.456,
10
+ 0.406
11
+ ],
12
+ "image_processor_type": "DetrImageProcessor",
13
+ "image_std": [
14
+ 0.229,
15
+ 0.224,
16
+ 0.225
17
+ ],
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "longest_edge": 1333,
22
+ "shortest_edge": 800
23
+ }
24
+ }
runs/Nov09_20-38-13_795de5d9365c/events.out.tfevents.1699562299.795de5d9365c.14996.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b4ed4c4170a2c3e4b5761ff8cc9a55e2f8defc700ab9a58143a2bd48c5bf019
3
+ size 11852
runs/Nov09_20-42-24_795de5d9365c/events.out.tfevents.1699562547.795de5d9365c.14996.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:193f030f9b77d09c56670138281ae362643994b171524aa28e87004bf0a575c0
3
+ size 16662
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa9ae5e776a1a409b0686646ffe9ec7535f65e72038245d54efb0640b539f021
3
+ size 4664