MsSaidat25 commited on
Commit
d498e1c
·
1 Parent(s): e91a347

Created using Colab

Browse files
Files changed (1) hide show
  1. Train_Object_Detection_Simple.ipynb +1873 -0
Train_Object_Detection_Simple.ipynb ADDED
@@ -0,0 +1,1873 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nbformat": 4,
3
+ "nbformat_minor": 0,
4
+ "metadata": {
5
+ "colab": {
6
+ "provenance": [],
7
+ "gpuType": "T4",
8
+ "include_colab_link": true
9
+ },
10
+ "kernelspec": {
11
+ "name": "python3",
12
+ "display_name": "Python 3"
13
+ },
14
+ "language_info": {
15
+ "name": "python"
16
+ },
17
+ "accelerator": "GPU",
18
+ "widgets": {
19
+ "application/vnd.jupyter.widget-state+json": {
20
+ "51249c6f8533471da3b7d1f2abe12fd0": {
21
+ "model_module": "@jupyter-widgets/controls",
22
+ "model_name": "HBoxModel",
23
+ "model_module_version": "1.5.0",
24
+ "state": {
25
+ "_dom_classes": [],
26
+ "_model_module": "@jupyter-widgets/controls",
27
+ "_model_module_version": "1.5.0",
28
+ "_model_name": "HBoxModel",
29
+ "_view_count": null,
30
+ "_view_module": "@jupyter-widgets/controls",
31
+ "_view_module_version": "1.5.0",
32
+ "_view_name": "HBoxView",
33
+ "box_style": "",
34
+ "children": [
35
+ "IPY_MODEL_85937c323c604c8396088e2fd13da7dd",
36
+ "IPY_MODEL_f0bb5d38c4a74a92a92f9d2355cbb65d",
37
+ "IPY_MODEL_52913697f32d40fdabdc19a8dcf5359e"
38
+ ],
39
+ "layout": "IPY_MODEL_300bfc78377b4191b8470e0862fa1280"
40
+ }
41
+ },
42
+ "85937c323c604c8396088e2fd13da7dd": {
43
+ "model_module": "@jupyter-widgets/controls",
44
+ "model_name": "HTMLModel",
45
+ "model_module_version": "1.5.0",
46
+ "state": {
47
+ "_dom_classes": [],
48
+ "_model_module": "@jupyter-widgets/controls",
49
+ "_model_module_version": "1.5.0",
50
+ "_model_name": "HTMLModel",
51
+ "_view_count": null,
52
+ "_view_module": "@jupyter-widgets/controls",
53
+ "_view_module_version": "1.5.0",
54
+ "_view_name": "HTMLView",
55
+ "description": "",
56
+ "description_tooltip": null,
57
+ "layout": "IPY_MODEL_2cab8e60531448ccbc5124233440910f",
58
+ "placeholder": "​",
59
+ "style": "IPY_MODEL_bce35323a2d44b9f8518a4c22116faa8",
60
+ "value": "Dl Completed...:   0%"
61
+ }
62
+ },
63
+ "f0bb5d38c4a74a92a92f9d2355cbb65d": {
64
+ "model_module": "@jupyter-widgets/controls",
65
+ "model_name": "FloatProgressModel",
66
+ "model_module_version": "1.5.0",
67
+ "state": {
68
+ "_dom_classes": [],
69
+ "_model_module": "@jupyter-widgets/controls",
70
+ "_model_module_version": "1.5.0",
71
+ "_model_name": "FloatProgressModel",
72
+ "_view_count": null,
73
+ "_view_module": "@jupyter-widgets/controls",
74
+ "_view_module_version": "1.5.0",
75
+ "_view_name": "ProgressView",
76
+ "bar_style": "info",
77
+ "description": "",
78
+ "description_tooltip": null,
79
+ "layout": "IPY_MODEL_ef9c3c43a58d4bd99015cf1daec8a805",
80
+ "max": 1,
81
+ "min": 0,
82
+ "orientation": "horizontal",
83
+ "style": "IPY_MODEL_0beef2fcce354680ae2e0f55842b73a4",
84
+ "value": 0
85
+ }
86
+ },
87
+ "52913697f32d40fdabdc19a8dcf5359e": {
88
+ "model_module": "@jupyter-widgets/controls",
89
+ "model_name": "HTMLModel",
90
+ "model_module_version": "1.5.0",
91
+ "state": {
92
+ "_dom_classes": [],
93
+ "_model_module": "@jupyter-widgets/controls",
94
+ "_model_module_version": "1.5.0",
95
+ "_model_name": "HTMLModel",
96
+ "_view_count": null,
97
+ "_view_module": "@jupyter-widgets/controls",
98
+ "_view_module_version": "1.5.0",
99
+ "_view_name": "HTMLView",
100
+ "description": "",
101
+ "description_tooltip": null,
102
+ "layout": "IPY_MODEL_b3f513bde9624e188aca98f04057f5f4",
103
+ "placeholder": "​",
104
+ "style": "IPY_MODEL_a9815c8cd280499a9136dfc227641e44",
105
+ "value": " 0/2 [00:00<?, ? url/s]"
106
+ }
107
+ },
108
+ "300bfc78377b4191b8470e0862fa1280": {
109
+ "model_module": "@jupyter-widgets/base",
110
+ "model_name": "LayoutModel",
111
+ "model_module_version": "1.2.0",
112
+ "state": {
113
+ "_model_module": "@jupyter-widgets/base",
114
+ "_model_module_version": "1.2.0",
115
+ "_model_name": "LayoutModel",
116
+ "_view_count": null,
117
+ "_view_module": "@jupyter-widgets/base",
118
+ "_view_module_version": "1.2.0",
119
+ "_view_name": "LayoutView",
120
+ "align_content": null,
121
+ "align_items": null,
122
+ "align_self": null,
123
+ "border": null,
124
+ "bottom": null,
125
+ "display": null,
126
+ "flex": null,
127
+ "flex_flow": null,
128
+ "grid_area": null,
129
+ "grid_auto_columns": null,
130
+ "grid_auto_flow": null,
131
+ "grid_auto_rows": null,
132
+ "grid_column": null,
133
+ "grid_gap": null,
134
+ "grid_row": null,
135
+ "grid_template_areas": null,
136
+ "grid_template_columns": null,
137
+ "grid_template_rows": null,
138
+ "height": null,
139
+ "justify_content": null,
140
+ "justify_items": null,
141
+ "left": null,
142
+ "margin": null,
143
+ "max_height": null,
144
+ "max_width": null,
145
+ "min_height": null,
146
+ "min_width": null,
147
+ "object_fit": null,
148
+ "object_position": null,
149
+ "order": null,
150
+ "overflow": null,
151
+ "overflow_x": null,
152
+ "overflow_y": null,
153
+ "padding": null,
154
+ "right": null,
155
+ "top": null,
156
+ "visibility": null,
157
+ "width": null
158
+ }
159
+ },
160
+ "2cab8e60531448ccbc5124233440910f": {
161
+ "model_module": "@jupyter-widgets/base",
162
+ "model_name": "LayoutModel",
163
+ "model_module_version": "1.2.0",
164
+ "state": {
165
+ "_model_module": "@jupyter-widgets/base",
166
+ "_model_module_version": "1.2.0",
167
+ "_model_name": "LayoutModel",
168
+ "_view_count": null,
169
+ "_view_module": "@jupyter-widgets/base",
170
+ "_view_module_version": "1.2.0",
171
+ "_view_name": "LayoutView",
172
+ "align_content": null,
173
+ "align_items": null,
174
+ "align_self": null,
175
+ "border": null,
176
+ "bottom": null,
177
+ "display": null,
178
+ "flex": null,
179
+ "flex_flow": null,
180
+ "grid_area": null,
181
+ "grid_auto_columns": null,
182
+ "grid_auto_flow": null,
183
+ "grid_auto_rows": null,
184
+ "grid_column": null,
185
+ "grid_gap": null,
186
+ "grid_row": null,
187
+ "grid_template_areas": null,
188
+ "grid_template_columns": null,
189
+ "grid_template_rows": null,
190
+ "height": null,
191
+ "justify_content": null,
192
+ "justify_items": null,
193
+ "left": null,
194
+ "margin": null,
195
+ "max_height": null,
196
+ "max_width": null,
197
+ "min_height": null,
198
+ "min_width": null,
199
+ "object_fit": null,
200
+ "object_position": null,
201
+ "order": null,
202
+ "overflow": null,
203
+ "overflow_x": null,
204
+ "overflow_y": null,
205
+ "padding": null,
206
+ "right": null,
207
+ "top": null,
208
+ "visibility": null,
209
+ "width": null
210
+ }
211
+ },
212
+ "bce35323a2d44b9f8518a4c22116faa8": {
213
+ "model_module": "@jupyter-widgets/controls",
214
+ "model_name": "DescriptionStyleModel",
215
+ "model_module_version": "1.5.0",
216
+ "state": {
217
+ "_model_module": "@jupyter-widgets/controls",
218
+ "_model_module_version": "1.5.0",
219
+ "_model_name": "DescriptionStyleModel",
220
+ "_view_count": null,
221
+ "_view_module": "@jupyter-widgets/base",
222
+ "_view_module_version": "1.2.0",
223
+ "_view_name": "StyleView",
224
+ "description_width": ""
225
+ }
226
+ },
227
+ "ef9c3c43a58d4bd99015cf1daec8a805": {
228
+ "model_module": "@jupyter-widgets/base",
229
+ "model_name": "LayoutModel",
230
+ "model_module_version": "1.2.0",
231
+ "state": {
232
+ "_model_module": "@jupyter-widgets/base",
233
+ "_model_module_version": "1.2.0",
234
+ "_model_name": "LayoutModel",
235
+ "_view_count": null,
236
+ "_view_module": "@jupyter-widgets/base",
237
+ "_view_module_version": "1.2.0",
238
+ "_view_name": "LayoutView",
239
+ "align_content": null,
240
+ "align_items": null,
241
+ "align_self": null,
242
+ "border": null,
243
+ "bottom": null,
244
+ "display": null,
245
+ "flex": null,
246
+ "flex_flow": null,
247
+ "grid_area": null,
248
+ "grid_auto_columns": null,
249
+ "grid_auto_flow": null,
250
+ "grid_auto_rows": null,
251
+ "grid_column": null,
252
+ "grid_gap": null,
253
+ "grid_row": null,
254
+ "grid_template_areas": null,
255
+ "grid_template_columns": null,
256
+ "grid_template_rows": null,
257
+ "height": null,
258
+ "justify_content": null,
259
+ "justify_items": null,
260
+ "left": null,
261
+ "margin": null,
262
+ "max_height": null,
263
+ "max_width": null,
264
+ "min_height": null,
265
+ "min_width": null,
266
+ "object_fit": null,
267
+ "object_position": null,
268
+ "order": null,
269
+ "overflow": null,
270
+ "overflow_x": null,
271
+ "overflow_y": null,
272
+ "padding": null,
273
+ "right": null,
274
+ "top": null,
275
+ "visibility": null,
276
+ "width": "20px"
277
+ }
278
+ },
279
+ "0beef2fcce354680ae2e0f55842b73a4": {
280
+ "model_module": "@jupyter-widgets/controls",
281
+ "model_name": "ProgressStyleModel",
282
+ "model_module_version": "1.5.0",
283
+ "state": {
284
+ "_model_module": "@jupyter-widgets/controls",
285
+ "_model_module_version": "1.5.0",
286
+ "_model_name": "ProgressStyleModel",
287
+ "_view_count": null,
288
+ "_view_module": "@jupyter-widgets/base",
289
+ "_view_module_version": "1.2.0",
290
+ "_view_name": "StyleView",
291
+ "bar_color": null,
292
+ "description_width": ""
293
+ }
294
+ },
295
+ "b3f513bde9624e188aca98f04057f5f4": {
296
+ "model_module": "@jupyter-widgets/base",
297
+ "model_name": "LayoutModel",
298
+ "model_module_version": "1.2.0",
299
+ "state": {
300
+ "_model_module": "@jupyter-widgets/base",
301
+ "_model_module_version": "1.2.0",
302
+ "_model_name": "LayoutModel",
303
+ "_view_count": null,
304
+ "_view_module": "@jupyter-widgets/base",
305
+ "_view_module_version": "1.2.0",
306
+ "_view_name": "LayoutView",
307
+ "align_content": null,
308
+ "align_items": null,
309
+ "align_self": null,
310
+ "border": null,
311
+ "bottom": null,
312
+ "display": null,
313
+ "flex": null,
314
+ "flex_flow": null,
315
+ "grid_area": null,
316
+ "grid_auto_columns": null,
317
+ "grid_auto_flow": null,
318
+ "grid_auto_rows": null,
319
+ "grid_column": null,
320
+ "grid_gap": null,
321
+ "grid_row": null,
322
+ "grid_template_areas": null,
323
+ "grid_template_columns": null,
324
+ "grid_template_rows": null,
325
+ "height": null,
326
+ "justify_content": null,
327
+ "justify_items": null,
328
+ "left": null,
329
+ "margin": null,
330
+ "max_height": null,
331
+ "max_width": null,
332
+ "min_height": null,
333
+ "min_width": null,
334
+ "object_fit": null,
335
+ "object_position": null,
336
+ "order": null,
337
+ "overflow": null,
338
+ "overflow_x": null,
339
+ "overflow_y": null,
340
+ "padding": null,
341
+ "right": null,
342
+ "top": null,
343
+ "visibility": null,
344
+ "width": null
345
+ }
346
+ },
347
+ "a9815c8cd280499a9136dfc227641e44": {
348
+ "model_module": "@jupyter-widgets/controls",
349
+ "model_name": "DescriptionStyleModel",
350
+ "model_module_version": "1.5.0",
351
+ "state": {
352
+ "_model_module": "@jupyter-widgets/controls",
353
+ "_model_module_version": "1.5.0",
354
+ "_model_name": "DescriptionStyleModel",
355
+ "_view_count": null,
356
+ "_view_module": "@jupyter-widgets/base",
357
+ "_view_module_version": "1.2.0",
358
+ "_view_name": "StyleView",
359
+ "description_width": ""
360
+ }
361
+ },
362
+ "cc56c882a5554bd78a73383917c47910": {
363
+ "model_module": "@jupyter-widgets/controls",
364
+ "model_name": "HBoxModel",
365
+ "model_module_version": "1.5.0",
366
+ "state": {
367
+ "_dom_classes": [],
368
+ "_model_module": "@jupyter-widgets/controls",
369
+ "_model_module_version": "1.5.0",
370
+ "_model_name": "HBoxModel",
371
+ "_view_count": null,
372
+ "_view_module": "@jupyter-widgets/controls",
373
+ "_view_module_version": "1.5.0",
374
+ "_view_name": "HBoxView",
375
+ "box_style": "",
376
+ "children": [
377
+ "IPY_MODEL_886c57a260d4411d87f470f923589a40",
378
+ "IPY_MODEL_5baadea5205e43b780ec5d33e1c14161",
379
+ "IPY_MODEL_0c6db111ebba4e68aa06a2a5c860f0c6"
380
+ ],
381
+ "layout": "IPY_MODEL_e4c6da3c621a4f7e8d32b81dd6ce4307"
382
+ }
383
+ },
384
+ "886c57a260d4411d87f470f923589a40": {
385
+ "model_module": "@jupyter-widgets/controls",
386
+ "model_name": "HTMLModel",
387
+ "model_module_version": "1.5.0",
388
+ "state": {
389
+ "_dom_classes": [],
390
+ "_model_module": "@jupyter-widgets/controls",
391
+ "_model_module_version": "1.5.0",
392
+ "_model_name": "HTMLModel",
393
+ "_view_count": null,
394
+ "_view_module": "@jupyter-widgets/controls",
395
+ "_view_module_version": "1.5.0",
396
+ "_view_name": "HTMLView",
397
+ "description": "",
398
+ "description_tooltip": null,
399
+ "layout": "IPY_MODEL_b38b0125b2014be0ba24334d7f253e9e",
400
+ "placeholder": "​",
401
+ "style": "IPY_MODEL_1b88a97149b544b3819c6f65d0a88a46",
402
+ "value": "Dl Size...: "
403
+ }
404
+ },
405
+ "5baadea5205e43b780ec5d33e1c14161": {
406
+ "model_module": "@jupyter-widgets/controls",
407
+ "model_name": "FloatProgressModel",
408
+ "model_module_version": "1.5.0",
409
+ "state": {
410
+ "_dom_classes": [],
411
+ "_model_module": "@jupyter-widgets/controls",
412
+ "_model_module_version": "1.5.0",
413
+ "_model_name": "FloatProgressModel",
414
+ "_view_count": null,
415
+ "_view_module": "@jupyter-widgets/controls",
416
+ "_view_module_version": "1.5.0",
417
+ "_view_name": "ProgressView",
418
+ "bar_style": "info",
419
+ "description": "",
420
+ "description_tooltip": null,
421
+ "layout": "IPY_MODEL_60a73596101e41d381966bdb1fcc5582",
422
+ "max": 1,
423
+ "min": 0,
424
+ "orientation": "horizontal",
425
+ "style": "IPY_MODEL_4b7e3d2580ab4523a63ac8dd9cee938c",
426
+ "value": 0
427
+ }
428
+ },
429
+ "0c6db111ebba4e68aa06a2a5c860f0c6": {
430
+ "model_module": "@jupyter-widgets/controls",
431
+ "model_name": "HTMLModel",
432
+ "model_module_version": "1.5.0",
433
+ "state": {
434
+ "_dom_classes": [],
435
+ "_model_module": "@jupyter-widgets/controls",
436
+ "_model_module_version": "1.5.0",
437
+ "_model_name": "HTMLModel",
438
+ "_view_count": null,
439
+ "_view_module": "@jupyter-widgets/controls",
440
+ "_view_module_version": "1.5.0",
441
+ "_view_name": "HTMLView",
442
+ "description": "",
443
+ "description_tooltip": null,
444
+ "layout": "IPY_MODEL_276e447779db46ad9fd10540ffa7cfc6",
445
+ "placeholder": "​",
446
+ "style": "IPY_MODEL_745c46ab19bd4ab193ebfaba1a9f4252",
447
+ "value": " 0/0 [00:00<?, ? MiB/s]"
448
+ }
449
+ },
450
+ "e4c6da3c621a4f7e8d32b81dd6ce4307": {
451
+ "model_module": "@jupyter-widgets/base",
452
+ "model_name": "LayoutModel",
453
+ "model_module_version": "1.2.0",
454
+ "state": {
455
+ "_model_module": "@jupyter-widgets/base",
456
+ "_model_module_version": "1.2.0",
457
+ "_model_name": "LayoutModel",
458
+ "_view_count": null,
459
+ "_view_module": "@jupyter-widgets/base",
460
+ "_view_module_version": "1.2.0",
461
+ "_view_name": "LayoutView",
462
+ "align_content": null,
463
+ "align_items": null,
464
+ "align_self": null,
465
+ "border": null,
466
+ "bottom": null,
467
+ "display": null,
468
+ "flex": null,
469
+ "flex_flow": null,
470
+ "grid_area": null,
471
+ "grid_auto_columns": null,
472
+ "grid_auto_flow": null,
473
+ "grid_auto_rows": null,
474
+ "grid_column": null,
475
+ "grid_gap": null,
476
+ "grid_row": null,
477
+ "grid_template_areas": null,
478
+ "grid_template_columns": null,
479
+ "grid_template_rows": null,
480
+ "height": null,
481
+ "justify_content": null,
482
+ "justify_items": null,
483
+ "left": null,
484
+ "margin": null,
485
+ "max_height": null,
486
+ "max_width": null,
487
+ "min_height": null,
488
+ "min_width": null,
489
+ "object_fit": null,
490
+ "object_position": null,
491
+ "order": null,
492
+ "overflow": null,
493
+ "overflow_x": null,
494
+ "overflow_y": null,
495
+ "padding": null,
496
+ "right": null,
497
+ "top": null,
498
+ "visibility": null,
499
+ "width": null
500
+ }
501
+ },
502
+ "b38b0125b2014be0ba24334d7f253e9e": {
503
+ "model_module": "@jupyter-widgets/base",
504
+ "model_name": "LayoutModel",
505
+ "model_module_version": "1.2.0",
506
+ "state": {
507
+ "_model_module": "@jupyter-widgets/base",
508
+ "_model_module_version": "1.2.0",
509
+ "_model_name": "LayoutModel",
510
+ "_view_count": null,
511
+ "_view_module": "@jupyter-widgets/base",
512
+ "_view_module_version": "1.2.0",
513
+ "_view_name": "LayoutView",
514
+ "align_content": null,
515
+ "align_items": null,
516
+ "align_self": null,
517
+ "border": null,
518
+ "bottom": null,
519
+ "display": null,
520
+ "flex": null,
521
+ "flex_flow": null,
522
+ "grid_area": null,
523
+ "grid_auto_columns": null,
524
+ "grid_auto_flow": null,
525
+ "grid_auto_rows": null,
526
+ "grid_column": null,
527
+ "grid_gap": null,
528
+ "grid_row": null,
529
+ "grid_template_areas": null,
530
+ "grid_template_columns": null,
531
+ "grid_template_rows": null,
532
+ "height": null,
533
+ "justify_content": null,
534
+ "justify_items": null,
535
+ "left": null,
536
+ "margin": null,
537
+ "max_height": null,
538
+ "max_width": null,
539
+ "min_height": null,
540
+ "min_width": null,
541
+ "object_fit": null,
542
+ "object_position": null,
543
+ "order": null,
544
+ "overflow": null,
545
+ "overflow_x": null,
546
+ "overflow_y": null,
547
+ "padding": null,
548
+ "right": null,
549
+ "top": null,
550
+ "visibility": null,
551
+ "width": null
552
+ }
553
+ },
554
+ "1b88a97149b544b3819c6f65d0a88a46": {
555
+ "model_module": "@jupyter-widgets/controls",
556
+ "model_name": "DescriptionStyleModel",
557
+ "model_module_version": "1.5.0",
558
+ "state": {
559
+ "_model_module": "@jupyter-widgets/controls",
560
+ "_model_module_version": "1.5.0",
561
+ "_model_name": "DescriptionStyleModel",
562
+ "_view_count": null,
563
+ "_view_module": "@jupyter-widgets/base",
564
+ "_view_module_version": "1.2.0",
565
+ "_view_name": "StyleView",
566
+ "description_width": ""
567
+ }
568
+ },
569
+ "60a73596101e41d381966bdb1fcc5582": {
570
+ "model_module": "@jupyter-widgets/base",
571
+ "model_name": "LayoutModel",
572
+ "model_module_version": "1.2.0",
573
+ "state": {
574
+ "_model_module": "@jupyter-widgets/base",
575
+ "_model_module_version": "1.2.0",
576
+ "_model_name": "LayoutModel",
577
+ "_view_count": null,
578
+ "_view_module": "@jupyter-widgets/base",
579
+ "_view_module_version": "1.2.0",
580
+ "_view_name": "LayoutView",
581
+ "align_content": null,
582
+ "align_items": null,
583
+ "align_self": null,
584
+ "border": null,
585
+ "bottom": null,
586
+ "display": null,
587
+ "flex": null,
588
+ "flex_flow": null,
589
+ "grid_area": null,
590
+ "grid_auto_columns": null,
591
+ "grid_auto_flow": null,
592
+ "grid_auto_rows": null,
593
+ "grid_column": null,
594
+ "grid_gap": null,
595
+ "grid_row": null,
596
+ "grid_template_areas": null,
597
+ "grid_template_columns": null,
598
+ "grid_template_rows": null,
599
+ "height": null,
600
+ "justify_content": null,
601
+ "justify_items": null,
602
+ "left": null,
603
+ "margin": null,
604
+ "max_height": null,
605
+ "max_width": null,
606
+ "min_height": null,
607
+ "min_width": null,
608
+ "object_fit": null,
609
+ "object_position": null,
610
+ "order": null,
611
+ "overflow": null,
612
+ "overflow_x": null,
613
+ "overflow_y": null,
614
+ "padding": null,
615
+ "right": null,
616
+ "top": null,
617
+ "visibility": null,
618
+ "width": "20px"
619
+ }
620
+ },
621
+ "4b7e3d2580ab4523a63ac8dd9cee938c": {
622
+ "model_module": "@jupyter-widgets/controls",
623
+ "model_name": "ProgressStyleModel",
624
+ "model_module_version": "1.5.0",
625
+ "state": {
626
+ "_model_module": "@jupyter-widgets/controls",
627
+ "_model_module_version": "1.5.0",
628
+ "_model_name": "ProgressStyleModel",
629
+ "_view_count": null,
630
+ "_view_module": "@jupyter-widgets/base",
631
+ "_view_module_version": "1.2.0",
632
+ "_view_name": "StyleView",
633
+ "bar_color": null,
634
+ "description_width": ""
635
+ }
636
+ },
637
+ "276e447779db46ad9fd10540ffa7cfc6": {
638
+ "model_module": "@jupyter-widgets/base",
639
+ "model_name": "LayoutModel",
640
+ "model_module_version": "1.2.0",
641
+ "state": {
642
+ "_model_module": "@jupyter-widgets/base",
643
+ "_model_module_version": "1.2.0",
644
+ "_model_name": "LayoutModel",
645
+ "_view_count": null,
646
+ "_view_module": "@jupyter-widgets/base",
647
+ "_view_module_version": "1.2.0",
648
+ "_view_name": "LayoutView",
649
+ "align_content": null,
650
+ "align_items": null,
651
+ "align_self": null,
652
+ "border": null,
653
+ "bottom": null,
654
+ "display": null,
655
+ "flex": null,
656
+ "flex_flow": null,
657
+ "grid_area": null,
658
+ "grid_auto_columns": null,
659
+ "grid_auto_flow": null,
660
+ "grid_auto_rows": null,
661
+ "grid_column": null,
662
+ "grid_gap": null,
663
+ "grid_row": null,
664
+ "grid_template_areas": null,
665
+ "grid_template_columns": null,
666
+ "grid_template_rows": null,
667
+ "height": null,
668
+ "justify_content": null,
669
+ "justify_items": null,
670
+ "left": null,
671
+ "margin": null,
672
+ "max_height": null,
673
+ "max_width": null,
674
+ "min_height": null,
675
+ "min_width": null,
676
+ "object_fit": null,
677
+ "object_position": null,
678
+ "order": null,
679
+ "overflow": null,
680
+ "overflow_x": null,
681
+ "overflow_y": null,
682
+ "padding": null,
683
+ "right": null,
684
+ "top": null,
685
+ "visibility": null,
686
+ "width": null
687
+ }
688
+ },
689
+ "745c46ab19bd4ab193ebfaba1a9f4252": {
690
+ "model_module": "@jupyter-widgets/controls",
691
+ "model_name": "DescriptionStyleModel",
692
+ "model_module_version": "1.5.0",
693
+ "state": {
694
+ "_model_module": "@jupyter-widgets/controls",
695
+ "_model_module_version": "1.5.0",
696
+ "_model_name": "DescriptionStyleModel",
697
+ "_view_count": null,
698
+ "_view_module": "@jupyter-widgets/base",
699
+ "_view_module_version": "1.2.0",
700
+ "_view_name": "StyleView",
701
+ "description_width": ""
702
+ }
703
+ },
704
+ "b72af253d0144c32a191c080ce930743": {
705
+ "model_module": "@jupyter-widgets/controls",
706
+ "model_name": "HBoxModel",
707
+ "model_module_version": "1.5.0",
708
+ "state": {
709
+ "_dom_classes": [],
710
+ "_model_module": "@jupyter-widgets/controls",
711
+ "_model_module_version": "1.5.0",
712
+ "_model_name": "HBoxModel",
713
+ "_view_count": null,
714
+ "_view_module": "@jupyter-widgets/controls",
715
+ "_view_module_version": "1.5.0",
716
+ "_view_name": "HBoxView",
717
+ "box_style": "",
718
+ "children": [
719
+ "IPY_MODEL_abd3690d14204c12a1ed9e9b9f7e3419",
720
+ "IPY_MODEL_0a405d7fad88452cba6a6a216707d88a",
721
+ "IPY_MODEL_8a18fbad4d3c4b83a9071a8ff05d1d14"
722
+ ],
723
+ "layout": "IPY_MODEL_f101fb6b582e47808bb1845bafad0bb5"
724
+ }
725
+ },
726
+ "abd3690d14204c12a1ed9e9b9f7e3419": {
727
+ "model_module": "@jupyter-widgets/controls",
728
+ "model_name": "HTMLModel",
729
+ "model_module_version": "1.5.0",
730
+ "state": {
731
+ "_dom_classes": [],
732
+ "_model_module": "@jupyter-widgets/controls",
733
+ "_model_module_version": "1.5.0",
734
+ "_model_name": "HTMLModel",
735
+ "_view_count": null,
736
+ "_view_module": "@jupyter-widgets/controls",
737
+ "_view_module_version": "1.5.0",
738
+ "_view_name": "HTMLView",
739
+ "description": "",
740
+ "description_tooltip": null,
741
+ "layout": "IPY_MODEL_a96b179fedba482db63b694ba9b4b033",
742
+ "placeholder": "​",
743
+ "style": "IPY_MODEL_be4f200dcedf43f09fe3aca5c19f6496",
744
+ "value": "Extraction completed...: "
745
+ }
746
+ },
747
+ "0a405d7fad88452cba6a6a216707d88a": {
748
+ "model_module": "@jupyter-widgets/controls",
749
+ "model_name": "FloatProgressModel",
750
+ "model_module_version": "1.5.0",
751
+ "state": {
752
+ "_dom_classes": [],
753
+ "_model_module": "@jupyter-widgets/controls",
754
+ "_model_module_version": "1.5.0",
755
+ "_model_name": "FloatProgressModel",
756
+ "_view_count": null,
757
+ "_view_module": "@jupyter-widgets/controls",
758
+ "_view_module_version": "1.5.0",
759
+ "_view_name": "ProgressView",
760
+ "bar_style": "info",
761
+ "description": "",
762
+ "description_tooltip": null,
763
+ "layout": "IPY_MODEL_70bdd090e564475fa255c26ddd6b3ac8",
764
+ "max": 1,
765
+ "min": 0,
766
+ "orientation": "horizontal",
767
+ "style": "IPY_MODEL_e0f0878909c84843a74299cbfd581180",
768
+ "value": 0
769
+ }
770
+ },
771
+ "8a18fbad4d3c4b83a9071a8ff05d1d14": {
772
+ "model_module": "@jupyter-widgets/controls",
773
+ "model_name": "HTMLModel",
774
+ "model_module_version": "1.5.0",
775
+ "state": {
776
+ "_dom_classes": [],
777
+ "_model_module": "@jupyter-widgets/controls",
778
+ "_model_module_version": "1.5.0",
779
+ "_model_name": "HTMLModel",
780
+ "_view_count": null,
781
+ "_view_module": "@jupyter-widgets/controls",
782
+ "_view_module_version": "1.5.0",
783
+ "_view_name": "HTMLView",
784
+ "description": "",
785
+ "description_tooltip": null,
786
+ "layout": "IPY_MODEL_8ff3897946d24e4ebe6b7479e72a67cd",
787
+ "placeholder": "​",
788
+ "style": "IPY_MODEL_dc426a08eb8e4b4bbe350154cc17ffa8",
789
+ "value": " 0/0 [00:00<?, ? file/s]"
790
+ }
791
+ },
792
+ "f101fb6b582e47808bb1845bafad0bb5": {
793
+ "model_module": "@jupyter-widgets/base",
794
+ "model_name": "LayoutModel",
795
+ "model_module_version": "1.2.0",
796
+ "state": {
797
+ "_model_module": "@jupyter-widgets/base",
798
+ "_model_module_version": "1.2.0",
799
+ "_model_name": "LayoutModel",
800
+ "_view_count": null,
801
+ "_view_module": "@jupyter-widgets/base",
802
+ "_view_module_version": "1.2.0",
803
+ "_view_name": "LayoutView",
804
+ "align_content": null,
805
+ "align_items": null,
806
+ "align_self": null,
807
+ "border": null,
808
+ "bottom": null,
809
+ "display": null,
810
+ "flex": null,
811
+ "flex_flow": null,
812
+ "grid_area": null,
813
+ "grid_auto_columns": null,
814
+ "grid_auto_flow": null,
815
+ "grid_auto_rows": null,
816
+ "grid_column": null,
817
+ "grid_gap": null,
818
+ "grid_row": null,
819
+ "grid_template_areas": null,
820
+ "grid_template_columns": null,
821
+ "grid_template_rows": null,
822
+ "height": null,
823
+ "justify_content": null,
824
+ "justify_items": null,
825
+ "left": null,
826
+ "margin": null,
827
+ "max_height": null,
828
+ "max_width": null,
829
+ "min_height": null,
830
+ "min_width": null,
831
+ "object_fit": null,
832
+ "object_position": null,
833
+ "order": null,
834
+ "overflow": null,
835
+ "overflow_x": null,
836
+ "overflow_y": null,
837
+ "padding": null,
838
+ "right": null,
839
+ "top": null,
840
+ "visibility": null,
841
+ "width": null
842
+ }
843
+ },
844
+ "a96b179fedba482db63b694ba9b4b033": {
845
+ "model_module": "@jupyter-widgets/base",
846
+ "model_name": "LayoutModel",
847
+ "model_module_version": "1.2.0",
848
+ "state": {
849
+ "_model_module": "@jupyter-widgets/base",
850
+ "_model_module_version": "1.2.0",
851
+ "_model_name": "LayoutModel",
852
+ "_view_count": null,
853
+ "_view_module": "@jupyter-widgets/base",
854
+ "_view_module_version": "1.2.0",
855
+ "_view_name": "LayoutView",
856
+ "align_content": null,
857
+ "align_items": null,
858
+ "align_self": null,
859
+ "border": null,
860
+ "bottom": null,
861
+ "display": null,
862
+ "flex": null,
863
+ "flex_flow": null,
864
+ "grid_area": null,
865
+ "grid_auto_columns": null,
866
+ "grid_auto_flow": null,
867
+ "grid_auto_rows": null,
868
+ "grid_column": null,
869
+ "grid_gap": null,
870
+ "grid_row": null,
871
+ "grid_template_areas": null,
872
+ "grid_template_columns": null,
873
+ "grid_template_rows": null,
874
+ "height": null,
875
+ "justify_content": null,
876
+ "justify_items": null,
877
+ "left": null,
878
+ "margin": null,
879
+ "max_height": null,
880
+ "max_width": null,
881
+ "min_height": null,
882
+ "min_width": null,
883
+ "object_fit": null,
884
+ "object_position": null,
885
+ "order": null,
886
+ "overflow": null,
887
+ "overflow_x": null,
888
+ "overflow_y": null,
889
+ "padding": null,
890
+ "right": null,
891
+ "top": null,
892
+ "visibility": null,
893
+ "width": null
894
+ }
895
+ },
896
+ "be4f200dcedf43f09fe3aca5c19f6496": {
897
+ "model_module": "@jupyter-widgets/controls",
898
+ "model_name": "DescriptionStyleModel",
899
+ "model_module_version": "1.5.0",
900
+ "state": {
901
+ "_model_module": "@jupyter-widgets/controls",
902
+ "_model_module_version": "1.5.0",
903
+ "_model_name": "DescriptionStyleModel",
904
+ "_view_count": null,
905
+ "_view_module": "@jupyter-widgets/base",
906
+ "_view_module_version": "1.2.0",
907
+ "_view_name": "StyleView",
908
+ "description_width": ""
909
+ }
910
+ },
911
+ "70bdd090e564475fa255c26ddd6b3ac8": {
912
+ "model_module": "@jupyter-widgets/base",
913
+ "model_name": "LayoutModel",
914
+ "model_module_version": "1.2.0",
915
+ "state": {
916
+ "_model_module": "@jupyter-widgets/base",
917
+ "_model_module_version": "1.2.0",
918
+ "_model_name": "LayoutModel",
919
+ "_view_count": null,
920
+ "_view_module": "@jupyter-widgets/base",
921
+ "_view_module_version": "1.2.0",
922
+ "_view_name": "LayoutView",
923
+ "align_content": null,
924
+ "align_items": null,
925
+ "align_self": null,
926
+ "border": null,
927
+ "bottom": null,
928
+ "display": null,
929
+ "flex": null,
930
+ "flex_flow": null,
931
+ "grid_area": null,
932
+ "grid_auto_columns": null,
933
+ "grid_auto_flow": null,
934
+ "grid_auto_rows": null,
935
+ "grid_column": null,
936
+ "grid_gap": null,
937
+ "grid_row": null,
938
+ "grid_template_areas": null,
939
+ "grid_template_columns": null,
940
+ "grid_template_rows": null,
941
+ "height": null,
942
+ "justify_content": null,
943
+ "justify_items": null,
944
+ "left": null,
945
+ "margin": null,
946
+ "max_height": null,
947
+ "max_width": null,
948
+ "min_height": null,
949
+ "min_width": null,
950
+ "object_fit": null,
951
+ "object_position": null,
952
+ "order": null,
953
+ "overflow": null,
954
+ "overflow_x": null,
955
+ "overflow_y": null,
956
+ "padding": null,
957
+ "right": null,
958
+ "top": null,
959
+ "visibility": null,
960
+ "width": "20px"
961
+ }
962
+ },
963
+ "e0f0878909c84843a74299cbfd581180": {
964
+ "model_module": "@jupyter-widgets/controls",
965
+ "model_name": "ProgressStyleModel",
966
+ "model_module_version": "1.5.0",
967
+ "state": {
968
+ "_model_module": "@jupyter-widgets/controls",
969
+ "_model_module_version": "1.5.0",
970
+ "_model_name": "ProgressStyleModel",
971
+ "_view_count": null,
972
+ "_view_module": "@jupyter-widgets/base",
973
+ "_view_module_version": "1.2.0",
974
+ "_view_name": "StyleView",
975
+ "bar_color": null,
976
+ "description_width": ""
977
+ }
978
+ },
979
+ "8ff3897946d24e4ebe6b7479e72a67cd": {
980
+ "model_module": "@jupyter-widgets/base",
981
+ "model_name": "LayoutModel",
982
+ "model_module_version": "1.2.0",
983
+ "state": {
984
+ "_model_module": "@jupyter-widgets/base",
985
+ "_model_module_version": "1.2.0",
986
+ "_model_name": "LayoutModel",
987
+ "_view_count": null,
988
+ "_view_module": "@jupyter-widgets/base",
989
+ "_view_module_version": "1.2.0",
990
+ "_view_name": "LayoutView",
991
+ "align_content": null,
992
+ "align_items": null,
993
+ "align_self": null,
994
+ "border": null,
995
+ "bottom": null,
996
+ "display": null,
997
+ "flex": null,
998
+ "flex_flow": null,
999
+ "grid_area": null,
1000
+ "grid_auto_columns": null,
1001
+ "grid_auto_flow": null,
1002
+ "grid_auto_rows": null,
1003
+ "grid_column": null,
1004
+ "grid_gap": null,
1005
+ "grid_row": null,
1006
+ "grid_template_areas": null,
1007
+ "grid_template_columns": null,
1008
+ "grid_template_rows": null,
1009
+ "height": null,
1010
+ "justify_content": null,
1011
+ "justify_items": null,
1012
+ "left": null,
1013
+ "margin": null,
1014
+ "max_height": null,
1015
+ "max_width": null,
1016
+ "min_height": null,
1017
+ "min_width": null,
1018
+ "object_fit": null,
1019
+ "object_position": null,
1020
+ "order": null,
1021
+ "overflow": null,
1022
+ "overflow_x": null,
1023
+ "overflow_y": null,
1024
+ "padding": null,
1025
+ "right": null,
1026
+ "top": null,
1027
+ "visibility": null,
1028
+ "width": null
1029
+ }
1030
+ },
1031
+ "dc426a08eb8e4b4bbe350154cc17ffa8": {
1032
+ "model_module": "@jupyter-widgets/controls",
1033
+ "model_name": "DescriptionStyleModel",
1034
+ "model_module_version": "1.5.0",
1035
+ "state": {
1036
+ "_model_module": "@jupyter-widgets/controls",
1037
+ "_model_module_version": "1.5.0",
1038
+ "_model_name": "DescriptionStyleModel",
1039
+ "_view_count": null,
1040
+ "_view_module": "@jupyter-widgets/base",
1041
+ "_view_module_version": "1.2.0",
1042
+ "_view_name": "StyleView",
1043
+ "description_width": ""
1044
+ }
1045
+ }
1046
+ }
1047
+ },
1048
+ "sc": "vBiV-xzzlvyPsJ2Vyu3WMg"
1049
+ },
1050
+ "cells": [
1051
+ {
1052
+ "cell_type": "markdown",
1053
+ "metadata": {
1054
+ "id": "view-in-github",
1055
+ "colab_type": "text"
1056
+ },
1057
+ "source": [
1058
+ "<a href=\"https://colab.research.google.com/github/MsSaidat25/AI-Engineer-Projects/blob/main/Train_Object_Detection_Simple.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
1059
+ ]
1060
+ },
1061
+ {
1062
+ "cell_type": "code",
1063
+ "execution_count": null,
1064
+ "metadata": {
1065
+ "id": "az6dzdGCB9KF",
1066
+ "colab": {
1067
+ "base_uri": "https://localhost:8080/",
1068
+ "height": 1000
1069
+ },
1070
+ "outputId": "8f7792bd-8cfa-4b57-ad4a-9068349b0826"
1071
+ },
1072
+ "outputs": [
1073
+ {
1074
+ "output_type": "stream",
1075
+ "name": "stdout",
1076
+ "text": [
1077
+ "Collecting keras-cv==0.6.1\n",
1078
+ " Downloading keras_cv-0.6.1-py3-none-any.whl.metadata (10 kB)\n",
1079
+ "Collecting keras-core==0.1.0\n",
1080
+ " Downloading keras_core-0.1.0-py3-none-any.whl.metadata (3.9 kB)\n",
1081
+ "Collecting tensorflow==2.13.1\n",
1082
+ " Downloading tensorflow-2.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)\n",
1083
+ "Requirement already satisfied: tensorflow-datasets==4.9.7 in /usr/local/lib/python3.10/dist-packages (4.9.7)\n",
1084
+ "Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from keras-cv==0.6.1) (24.2)\n",
1085
+ "Requirement already satisfied: absl-py in /usr/local/lib/python3.10/dist-packages (from keras-cv==0.6.1) (1.4.0)\n",
1086
+ "Requirement already satisfied: regex in /usr/local/lib/python3.10/dist-packages (from keras-cv==0.6.1) (2024.9.11)\n",
1087
+ "Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from keras-core==0.1.0) (1.26.4)\n",
1088
+ "Requirement already satisfied: rich in /usr/local/lib/python3.10/dist-packages (from keras-core==0.1.0) (13.9.4)\n",
1089
+ "Requirement already satisfied: namex in /usr/local/lib/python3.10/dist-packages (from keras-core==0.1.0) (0.0.8)\n",
1090
+ "Requirement already satisfied: h5py in /usr/local/lib/python3.10/dist-packages (from keras-core==0.1.0) (3.12.1)\n",
1091
+ "Requirement already satisfied: astunparse>=1.6.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (1.6.3)\n",
1092
+ "Requirement already satisfied: flatbuffers>=23.1.21 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (24.3.25)\n",
1093
+ "Collecting gast<=0.4.0,>=0.2.1 (from tensorflow==2.13.1)\n",
1094
+ " Downloading gast-0.4.0-py3-none-any.whl.metadata (1.1 kB)\n",
1095
+ "Requirement already satisfied: google-pasta>=0.1.1 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (0.2.0)\n",
1096
+ "Requirement already satisfied: grpcio<2.0,>=1.24.3 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (1.68.0)\n",
1097
+ "Collecting keras<2.14,>=2.13.1 (from tensorflow==2.13.1)\n",
1098
+ " Downloading keras-2.13.1-py3-none-any.whl.metadata (2.4 kB)\n",
1099
+ "Requirement already satisfied: libclang>=13.0.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (18.1.1)\n",
1100
+ "Collecting numpy (from keras-core==0.1.0)\n",
1101
+ " Downloading numpy-1.24.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)\n",
1102
+ "Requirement already satisfied: opt-einsum>=2.3.2 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (3.4.0)\n",
1103
+ "Requirement already satisfied: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (4.25.5)\n",
1104
+ "Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (75.1.0)\n",
1105
+ "Requirement already satisfied: six>=1.12.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (1.16.0)\n",
1106
+ "Collecting tensorboard<2.14,>=2.13 (from tensorflow==2.13.1)\n",
1107
+ " Downloading tensorboard-2.13.0-py3-none-any.whl.metadata (1.8 kB)\n",
1108
+ "Collecting tensorflow-estimator<2.14,>=2.13.0 (from tensorflow==2.13.1)\n",
1109
+ " Downloading tensorflow_estimator-2.13.0-py2.py3-none-any.whl.metadata (1.3 kB)\n",
1110
+ "Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (2.5.0)\n",
1111
+ "Collecting typing-extensions<4.6.0,>=3.6.6 (from tensorflow==2.13.1)\n",
1112
+ " Downloading typing_extensions-4.5.0-py3-none-any.whl.metadata (8.5 kB)\n",
1113
+ "Requirement already satisfied: wrapt>=1.11.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (1.16.0)\n",
1114
+ "Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in /usr/local/lib/python3.10/dist-packages (from tensorflow==2.13.1) (0.37.1)\n",
1115
+ "Requirement already satisfied: click in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (8.1.7)\n",
1116
+ "Requirement already satisfied: dm-tree in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (0.1.8)\n",
1117
+ "Requirement already satisfied: immutabledict in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (4.2.1)\n",
1118
+ "Requirement already satisfied: promise in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (2.3)\n",
1119
+ "Requirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (5.9.5)\n",
1120
+ "Requirement already satisfied: pyarrow in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (17.0.0)\n",
1121
+ "Requirement already satisfied: requests>=2.19.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (2.32.3)\n",
1122
+ "Requirement already satisfied: simple-parsing in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (0.1.6)\n",
1123
+ "Requirement already satisfied: tensorflow-metadata in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (1.13.1)\n",
1124
+ "Requirement already satisfied: toml in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (0.10.2)\n",
1125
+ "Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (4.66.6)\n",
1126
+ "Requirement already satisfied: array-record>=0.5.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow-datasets==4.9.7) (0.5.1)\n",
1127
+ "Requirement already satisfied: etils>=1.6.0 in /usr/local/lib/python3.10/dist-packages (from etils[edc,enp,epath,epy,etree]>=1.6.0; python_version < \"3.11\"->tensorflow-datasets==4.9.7) (1.10.0)\n",
1128
+ "Requirement already satisfied: wheel<1.0,>=0.23.0 in /usr/local/lib/python3.10/dist-packages (from astunparse>=1.6.0->tensorflow==2.13.1) (0.45.0)\n",
1129
+ "Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from etils[edc,enp,epath,epy,etree]>=1.6.0; python_version < \"3.11\"->tensorflow-datasets==4.9.7) (2024.10.0)\n",
1130
+ "Requirement already satisfied: importlib_resources in /usr/local/lib/python3.10/dist-packages (from etils[edc,enp,epath,epy,etree]>=1.6.0; python_version < \"3.11\"->tensorflow-datasets==4.9.7) (6.4.5)\n",
1131
+ "Requirement already satisfied: zipp in /usr/local/lib/python3.10/dist-packages (from etils[edc,enp,epath,epy,etree]>=1.6.0; python_version < \"3.11\"->tensorflow-datasets==4.9.7) (3.21.0)\n",
1132
+ "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests>=2.19.0->tensorflow-datasets==4.9.7) (3.4.0)\n",
1133
+ "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests>=2.19.0->tensorflow-datasets==4.9.7) (3.10)\n",
1134
+ "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests>=2.19.0->tensorflow-datasets==4.9.7) (2.2.3)\n",
1135
+ "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests>=2.19.0->tensorflow-datasets==4.9.7) (2024.8.30)\n",
1136
+ "Requirement already satisfied: google-auth<3,>=1.6.3 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.14,>=2.13->tensorflow==2.13.1) (2.27.0)\n",
1137
+ "Collecting google-auth-oauthlib<1.1,>=0.5 (from tensorboard<2.14,>=2.13->tensorflow==2.13.1)\n",
1138
+ " Downloading google_auth_oauthlib-1.0.0-py2.py3-none-any.whl.metadata (2.7 kB)\n",
1139
+ "Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.14,>=2.13->tensorflow==2.13.1) (3.7)\n",
1140
+ "Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.14,>=2.13->tensorflow==2.13.1) (0.7.2)\n",
1141
+ "Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from tensorboard<2.14,>=2.13->tensorflow==2.13.1) (3.1.3)\n",
1142
+ "Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.10/dist-packages (from rich->keras-core==0.1.0) (3.0.0)\n",
1143
+ "Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.10/dist-packages (from rich->keras-core==0.1.0) (2.18.0)\n",
1144
+ "Requirement already satisfied: docstring-parser<1.0,>=0.15 in /usr/local/lib/python3.10/dist-packages (from simple-parsing->tensorflow-datasets==4.9.7) (0.16)\n",
1145
+ "Requirement already satisfied: googleapis-common-protos<2,>=1.52.0 in /usr/local/lib/python3.10/dist-packages (from tensorflow-metadata->tensorflow-datasets==4.9.7) (1.66.0)\n",
1146
+ "Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow==2.13.1) (5.5.0)\n",
1147
+ "Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow==2.13.1) (0.4.1)\n",
1148
+ "Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow==2.13.1) (4.9)\n",
1149
+ "Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow==2.13.1) (1.3.1)\n",
1150
+ "Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.10/dist-packages (from markdown-it-py>=2.2.0->rich->keras-core==0.1.0) (0.1.2)\n",
1151
+ "Requirement already satisfied: MarkupSafe>=2.1.1 in /usr/local/lib/python3.10/dist-packages (from werkzeug>=1.0.1->tensorboard<2.14,>=2.13->tensorflow==2.13.1) (3.0.2)\n",
1152
+ "Requirement already satisfied: pyasn1<0.7.0,>=0.4.6 in /usr/local/lib/python3.10/dist-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow==2.13.1) (0.6.1)\n",
1153
+ "Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow==2.13.1) (3.2.2)\n",
1154
+ "Downloading keras_cv-0.6.1-py3-none-any.whl (756 kB)\n",
1155
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m756.2/756.2 kB\u001b[0m \u001b[31m13.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1156
+ "\u001b[?25hDownloading keras_core-0.1.0-py3-none-any.whl (727 kB)\n",
1157
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m728.0/728.0 kB\u001b[0m \u001b[31m28.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1158
+ "\u001b[?25hDownloading tensorflow-2.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479.7 MB)\n",
1159
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m479.7/479.7 MB\u001b[0m \u001b[31m3.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1160
+ "\u001b[?25hDownloading gast-0.4.0-py3-none-any.whl (9.8 kB)\n",
1161
+ "Downloading keras-2.13.1-py3-none-any.whl (1.7 MB)\n",
1162
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.7/1.7 MB\u001b[0m \u001b[31m9.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1163
+ "\u001b[?25hDownloading numpy-1.24.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)\n",
1164
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m17.3/17.3 MB\u001b[0m \u001b[31m39.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1165
+ "\u001b[?25hDownloading tensorboard-2.13.0-py3-none-any.whl (5.6 MB)\n",
1166
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m5.6/5.6 MB\u001b[0m \u001b[31m73.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1167
+ "\u001b[?25hDownloading tensorflow_estimator-2.13.0-py2.py3-none-any.whl (440 kB)\n",
1168
+ "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m440.8/440.8 kB\u001b[0m \u001b[31m29.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
1169
+ "\u001b[?25hDownloading typing_extensions-4.5.0-py3-none-any.whl (27 kB)\n",
1170
+ "Downloading google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)\n",
1171
+ "Installing collected packages: typing-extensions, tensorflow-estimator, numpy, keras, gast, google-auth-oauthlib, tensorboard, tensorflow, keras-core, keras-cv\n",
1172
+ " Attempting uninstall: typing-extensions\n",
1173
+ " Found existing installation: typing_extensions 4.12.2\n",
1174
+ " Uninstalling typing_extensions-4.12.2:\n",
1175
+ " Successfully uninstalled typing_extensions-4.12.2\n",
1176
+ " Attempting uninstall: numpy\n",
1177
+ " Found existing installation: numpy 1.26.4\n",
1178
+ " Uninstalling numpy-1.26.4:\n",
1179
+ " Successfully uninstalled numpy-1.26.4\n",
1180
+ " Attempting uninstall: keras\n",
1181
+ " Found existing installation: keras 3.5.0\n",
1182
+ " Uninstalling keras-3.5.0:\n",
1183
+ " Successfully uninstalled keras-3.5.0\n",
1184
+ " Attempting uninstall: gast\n",
1185
+ " Found existing installation: gast 0.6.0\n",
1186
+ " Uninstalling gast-0.6.0:\n",
1187
+ " Successfully uninstalled gast-0.6.0\n",
1188
+ " Attempting uninstall: google-auth-oauthlib\n",
1189
+ " Found existing installation: google-auth-oauthlib 1.2.1\n",
1190
+ " Uninstalling google-auth-oauthlib-1.2.1:\n",
1191
+ " Successfully uninstalled google-auth-oauthlib-1.2.1\n",
1192
+ " Attempting uninstall: tensorboard\n",
1193
+ " Found existing installation: tensorboard 2.17.1\n",
1194
+ " Uninstalling tensorboard-2.17.1:\n",
1195
+ " Successfully uninstalled tensorboard-2.17.1\n",
1196
+ " Attempting uninstall: tensorflow\n",
1197
+ " Found existing installation: tensorflow 2.17.1\n",
1198
+ " Uninstalling tensorflow-2.17.1:\n",
1199
+ " Successfully uninstalled tensorflow-2.17.1\n",
1200
+ "\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
1201
+ "sqlalchemy 2.0.36 requires typing-extensions>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible.\n",
1202
+ "albucore 0.0.19 requires numpy>=1.24.4, but you have numpy 1.24.3 which is incompatible.\n",
1203
+ "albumentations 1.4.20 requires numpy>=1.24.4, but you have numpy 1.24.3 which is incompatible.\n",
1204
+ "langchain-core 0.3.19 requires typing-extensions>=4.7, but you have typing-extensions 4.5.0 which is incompatible.\n",
1205
+ "nibabel 5.3.2 requires typing-extensions>=4.6; python_version < \"3.13\", but you have typing-extensions 4.5.0 which is incompatible.\n",
1206
+ "openai 1.54.4 requires typing-extensions<5,>=4.11, but you have typing-extensions 4.5.0 which is incompatible.\n",
1207
+ "pydantic 2.9.2 requires typing-extensions>=4.6.1; python_version < \"3.13\", but you have typing-extensions 4.5.0 which is incompatible.\n",
1208
+ "pydantic-core 2.23.4 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible.\n",
1209
+ "tf-keras 2.17.0 requires tensorflow<2.18,>=2.17, but you have tensorflow 2.13.1 which is incompatible.\n",
1210
+ "torch 2.5.1+cu121 requires typing-extensions>=4.8.0, but you have typing-extensions 4.5.0 which is incompatible.\n",
1211
+ "typeguard 4.4.1 requires typing-extensions>=4.10.0, but you have typing-extensions 4.5.0 which is incompatible.\u001b[0m\u001b[31m\n",
1212
+ "\u001b[0mSuccessfully installed gast-0.4.0 google-auth-oauthlib-1.0.0 keras-2.13.1 keras-core-0.1.0 keras-cv-0.6.1 numpy-1.24.3 tensorboard-2.13.0 tensorflow-2.13.1 tensorflow-estimator-2.13.0 typing-extensions-4.5.0\n"
1213
+ ]
1214
+ },
1215
+ {
1216
+ "output_type": "display_data",
1217
+ "data": {
1218
+ "application/vnd.colab-display-data+json": {
1219
+ "pip_warning": {
1220
+ "packages": [
1221
+ "numpy"
1222
+ ]
1223
+ },
1224
+ "id": "bda050b6b20243f68edf1e045d560d58"
1225
+ }
1226
+ },
1227
+ "metadata": {}
1228
+ }
1229
+ ],
1230
+ "source": [
1231
+ "!pip install keras-cv==0.6.1 keras-core==0.1.0 tensorflow==2.13.1 tensorflow-datasets==4.9.7"
1232
+ ]
1233
+ },
1234
+ {
1235
+ "cell_type": "code",
1236
+ "source": [
1237
+ "import tensorflow as tf\n",
1238
+ "import tensorflow_datasets as tfds\n",
1239
+ "from tensorflow import keras\n",
1240
+ "from tensorflow.keras import optimizers\n",
1241
+ "import keras_cv\n",
1242
+ "import numpy as np\n",
1243
+ "from keras_cv import bounding_box\n",
1244
+ "import os\n",
1245
+ "import resource\n",
1246
+ "from keras_cv import visualization\n",
1247
+ "import tqdm"
1248
+ ],
1249
+ "metadata": {
1250
+ "id": "7lU4oWFfCAQq",
1251
+ "colab": {
1252
+ "base_uri": "https://localhost:8080/"
1253
+ },
1254
+ "outputId": "0a42906e-a737-4190-b196-2b1dc72c785a"
1255
+ },
1256
+ "execution_count": null,
1257
+ "outputs": [
1258
+ {
1259
+ "output_type": "stream",
1260
+ "name": "stdout",
1261
+ "text": [
1262
+ "Using TensorFlow backend\n"
1263
+ ]
1264
+ }
1265
+ ]
1266
+ },
1267
+ {
1268
+ "cell_type": "code",
1269
+ "source": [
1270
+ "# Get a dictionary pointing from int classes to class names\n",
1271
+ "\n",
1272
+ "class_ids = [\n",
1273
+ " \"Aeroplane\",\n",
1274
+ " \"Bicycle\",\n",
1275
+ " \"Bird\",\n",
1276
+ " \"Boat\",\n",
1277
+ " \"Bottle\",\n",
1278
+ " \"Bus\",\n",
1279
+ " \"Car\",\n",
1280
+ " \"Cat\",\n",
1281
+ " \"Chair\",\n",
1282
+ " \"Cow\",\n",
1283
+ " \"Dining Table\",\n",
1284
+ " \"Dog\",\n",
1285
+ " \"Horse\",\n",
1286
+ " \"Motorbike\",\n",
1287
+ " \"Person\",\n",
1288
+ " \"Potted Plant\",\n",
1289
+ " \"Sheep\",\n",
1290
+ " \"Sofa\",\n",
1291
+ " \"Train\",\n",
1292
+ " \"Tvmonitor\",\n",
1293
+ " \"Total\",\n",
1294
+ "]\n",
1295
+ "class_mapping = dict(zip(range(len(class_ids)), class_ids))"
1296
+ ],
1297
+ "metadata": {
1298
+ "id": "CmzbTImk8fwk"
1299
+ },
1300
+ "execution_count": null,
1301
+ "outputs": []
1302
+ },
1303
+ {
1304
+ "cell_type": "code",
1305
+ "source": [
1306
+ "class_mapping"
1307
+ ],
1308
+ "metadata": {
1309
+ "colab": {
1310
+ "base_uri": "https://localhost:8080/"
1311
+ },
1312
+ "id": "mOcC4P3bUnPb",
1313
+ "outputId": "38a25f07-c7c9-4426-cfce-f00760463538"
1314
+ },
1315
+ "execution_count": null,
1316
+ "outputs": [
1317
+ {
1318
+ "output_type": "execute_result",
1319
+ "data": {
1320
+ "text/plain": [
1321
+ "{0: 'Aeroplane',\n",
1322
+ " 1: 'Bicycle',\n",
1323
+ " 2: 'Bird',\n",
1324
+ " 3: 'Boat',\n",
1325
+ " 4: 'Bottle',\n",
1326
+ " 5: 'Bus',\n",
1327
+ " 6: 'Car',\n",
1328
+ " 7: 'Cat',\n",
1329
+ " 8: 'Chair',\n",
1330
+ " 9: 'Cow',\n",
1331
+ " 10: 'Dining Table',\n",
1332
+ " 11: 'Dog',\n",
1333
+ " 12: 'Horse',\n",
1334
+ " 13: 'Motorbike',\n",
1335
+ " 14: 'Person',\n",
1336
+ " 15: 'Potted Plant',\n",
1337
+ " 16: 'Sheep',\n",
1338
+ " 17: 'Sofa',\n",
1339
+ " 18: 'Train',\n",
1340
+ " 19: 'Tvmonitor',\n",
1341
+ " 20: 'Total'}"
1342
+ ]
1343
+ },
1344
+ "metadata": {},
1345
+ "execution_count": 4
1346
+ }
1347
+ ]
1348
+ },
1349
+ {
1350
+ "cell_type": "code",
1351
+ "source": [
1352
+ "BATCH_SIZE = 4"
1353
+ ],
1354
+ "metadata": {
1355
+ "id": "eMm6wJEK5R-h"
1356
+ },
1357
+ "execution_count": null,
1358
+ "outputs": []
1359
+ },
1360
+ {
1361
+ "cell_type": "code",
1362
+ "source": [
1363
+ "def visualize_dataset(inputs, value_range, rows, cols, bounding_box_format):\n",
1364
+ " inputs = next(iter(inputs.take(1)))\n",
1365
+ " images, bounding_boxes = inputs[\"images\"], inputs[\"bounding_boxes\"]\n",
1366
+ " visualization.plot_bounding_box_gallery(\n",
1367
+ " images,\n",
1368
+ " value_range=value_range,\n",
1369
+ " rows=rows,\n",
1370
+ " cols=cols,\n",
1371
+ " y_true=bounding_boxes,\n",
1372
+ " scale=5,\n",
1373
+ " font_scale=0.7,\n",
1374
+ " bounding_box_format=bounding_box_format,\n",
1375
+ " class_mapping=class_mapping,\n",
1376
+ " )"
1377
+ ],
1378
+ "metadata": {
1379
+ "id": "sDfJCn_o5STH"
1380
+ },
1381
+ "execution_count": null,
1382
+ "outputs": []
1383
+ },
1384
+ {
1385
+ "cell_type": "code",
1386
+ "source": [
1387
+ "# https://keras.io/api/keras_cv/bounding_box/formats/#rel_xyxy-class\n",
1388
+ "def unpackage_raw_tfds_inputs(inputs, bounding_box_format):\n",
1389
+ " image = inputs[\"image\"]\n",
1390
+ " boxes = keras_cv.bounding_box.convert_format(\n",
1391
+ " inputs[\"objects\"][\"bbox\"],\n",
1392
+ " images=image,\n",
1393
+ " source=\"rel_yxyx\",\n",
1394
+ " target=bounding_box_format,\n",
1395
+ " )\n",
1396
+ " bounding_boxes = {\n",
1397
+ " \"classes\": tf.cast(inputs[\"objects\"][\"label\"], dtype=tf.float32),\n",
1398
+ " \"boxes\": tf.cast(boxes, dtype=tf.float32),\n",
1399
+ " }\n",
1400
+ " return {\n",
1401
+ " \"images\": tf.cast(image, tf.float32), \"bounding_boxes\": bounding_boxes\n",
1402
+ " }"
1403
+ ],
1404
+ "metadata": {
1405
+ "id": "q-6Netbl5egs"
1406
+ },
1407
+ "execution_count": null,
1408
+ "outputs": []
1409
+ },
1410
+ {
1411
+ "cell_type": "code",
1412
+ "source": [
1413
+ "def load_pascal_voc(split, dataset, bounding_box_format):\n",
1414
+ " ds = tfds.load(dataset, split=split, with_info=False, shuffle_files=True)\n",
1415
+ " ds = ds.map(\n",
1416
+ " lambda x: unpackage_raw_tfds_inputs(\n",
1417
+ " x, bounding_box_format=bounding_box_format),\n",
1418
+ " num_parallel_calls=tf.data.AUTOTUNE,\n",
1419
+ " )\n",
1420
+ " return ds"
1421
+ ],
1422
+ "metadata": {
1423
+ "id": "KdgejrK35hJn"
1424
+ },
1425
+ "execution_count": null,
1426
+ "outputs": []
1427
+ },
1428
+ {
1429
+ "cell_type": "code",
1430
+ "source": [
1431
+ "train_ds = load_pascal_voc(\n",
1432
+ " split=\"train\", dataset=\"voc/2007\", bounding_box_format=\"xywh\"\n",
1433
+ ")\n",
1434
+ "eval_ds = load_pascal_voc(\n",
1435
+ " split=\"test\", dataset=\"voc/2007\", bounding_box_format=\"xywh\"\n",
1436
+ ")\n",
1437
+ "\n",
1438
+ "train_ds = train_ds.shuffle(BATCH_SIZE * 4)"
1439
+ ],
1440
+ "metadata": {
1441
+ "colab": {
1442
+ "base_uri": "https://localhost:8080/",
1443
+ "height": 131,
1444
+ "referenced_widgets": [
1445
+ "51249c6f8533471da3b7d1f2abe12fd0",
1446
+ "85937c323c604c8396088e2fd13da7dd",
1447
+ "f0bb5d38c4a74a92a92f9d2355cbb65d",
1448
+ "52913697f32d40fdabdc19a8dcf5359e",
1449
+ "300bfc78377b4191b8470e0862fa1280",
1450
+ "2cab8e60531448ccbc5124233440910f",
1451
+ "bce35323a2d44b9f8518a4c22116faa8",
1452
+ "ef9c3c43a58d4bd99015cf1daec8a805",
1453
+ "0beef2fcce354680ae2e0f55842b73a4",
1454
+ "b3f513bde9624e188aca98f04057f5f4",
1455
+ "a9815c8cd280499a9136dfc227641e44",
1456
+ "cc56c882a5554bd78a73383917c47910",
1457
+ "886c57a260d4411d87f470f923589a40",
1458
+ "5baadea5205e43b780ec5d33e1c14161",
1459
+ "0c6db111ebba4e68aa06a2a5c860f0c6",
1460
+ "e4c6da3c621a4f7e8d32b81dd6ce4307",
1461
+ "b38b0125b2014be0ba24334d7f253e9e",
1462
+ "1b88a97149b544b3819c6f65d0a88a46",
1463
+ "60a73596101e41d381966bdb1fcc5582",
1464
+ "4b7e3d2580ab4523a63ac8dd9cee938c",
1465
+ "276e447779db46ad9fd10540ffa7cfc6",
1466
+ "745c46ab19bd4ab193ebfaba1a9f4252",
1467
+ "b72af253d0144c32a191c080ce930743",
1468
+ "abd3690d14204c12a1ed9e9b9f7e3419",
1469
+ "0a405d7fad88452cba6a6a216707d88a",
1470
+ "8a18fbad4d3c4b83a9071a8ff05d1d14",
1471
+ "f101fb6b582e47808bb1845bafad0bb5",
1472
+ "a96b179fedba482db63b694ba9b4b033",
1473
+ "be4f200dcedf43f09fe3aca5c19f6496",
1474
+ "70bdd090e564475fa255c26ddd6b3ac8",
1475
+ "e0f0878909c84843a74299cbfd581180",
1476
+ "8ff3897946d24e4ebe6b7479e72a67cd",
1477
+ "dc426a08eb8e4b4bbe350154cc17ffa8"
1478
+ ]
1479
+ },
1480
+ "id": "u_AA83df5ldF",
1481
+ "outputId": "4f0a97cb-3939-416e-a0b3-e938571d8592"
1482
+ },
1483
+ "execution_count": null,
1484
+ "outputs": [
1485
+ {
1486
+ "output_type": "stream",
1487
+ "name": "stdout",
1488
+ "text": [
1489
+ "Downloading and preparing dataset 868.85 MiB (download: 868.85 MiB, generated: Unknown size, total: 868.85 MiB) to /root/tensorflow_datasets/voc/2007/4.0.0...\n"
1490
+ ]
1491
+ },
1492
+ {
1493
+ "output_type": "display_data",
1494
+ "data": {
1495
+ "text/plain": [
1496
+ "Dl Completed...: 0 url [00:00, ? url/s]"
1497
+ ],
1498
+ "application/vnd.jupyter.widget-view+json": {
1499
+ "version_major": 2,
1500
+ "version_minor": 0,
1501
+ "model_id": "51249c6f8533471da3b7d1f2abe12fd0"
1502
+ }
1503
+ },
1504
+ "metadata": {}
1505
+ },
1506
+ {
1507
+ "output_type": "display_data",
1508
+ "data": {
1509
+ "text/plain": [
1510
+ "Dl Size...: 0 MiB [00:00, ? MiB/s]"
1511
+ ],
1512
+ "application/vnd.jupyter.widget-view+json": {
1513
+ "version_major": 2,
1514
+ "version_minor": 0,
1515
+ "model_id": "cc56c882a5554bd78a73383917c47910"
1516
+ }
1517
+ },
1518
+ "metadata": {}
1519
+ },
1520
+ {
1521
+ "output_type": "display_data",
1522
+ "data": {
1523
+ "text/plain": [
1524
+ "Extraction completed...: 0 file [00:00, ? file/s]"
1525
+ ],
1526
+ "application/vnd.jupyter.widget-view+json": {
1527
+ "version_major": 2,
1528
+ "version_minor": 0,
1529
+ "model_id": "b72af253d0144c32a191c080ce930743"
1530
+ }
1531
+ },
1532
+ "metadata": {}
1533
+ }
1534
+ ]
1535
+ },
1536
+ {
1537
+ "cell_type": "code",
1538
+ "source": [
1539
+ "# We use ragged batch since images can be of different sizes\n",
1540
+ "# and each image can have variable number of objects\n",
1541
+ "\n",
1542
+ "train_ds = train_ds.ragged_batch(BATCH_SIZE, drop_remainder=True)\n",
1543
+ "eval_ds = eval_ds.ragged_batch(BATCH_SIZE, drop_remainder=True)"
1544
+ ],
1545
+ "metadata": {
1546
+ "id": "FjCLhrhe5o8p"
1547
+ },
1548
+ "execution_count": null,
1549
+ "outputs": []
1550
+ },
1551
+ {
1552
+ "cell_type": "code",
1553
+ "source": [
1554
+ "# Visualize the dataset to ensure bounding boxes are in the right place\n",
1555
+ "# with correct labels. If done incorrectly, bounding boxes will not appear\n",
1556
+ "# or they will be in the wrong place.\n",
1557
+ "\n",
1558
+ "visualize_dataset(\n",
1559
+ " train_ds, bounding_box_format=\"xywh\", value_range=(0, 255), rows=2, cols=2\n",
1560
+ ")"
1561
+ ],
1562
+ "metadata": {
1563
+ "id": "3VhgWh6k5uWm"
1564
+ },
1565
+ "execution_count": null,
1566
+ "outputs": []
1567
+ },
1568
+ {
1569
+ "cell_type": "code",
1570
+ "source": [
1571
+ "# Visualize validation set\n",
1572
+ "visualize_dataset(\n",
1573
+ " eval_ds,\n",
1574
+ " bounding_box_format=\"xywh\",\n",
1575
+ " value_range=(0, 255),\n",
1576
+ " rows=2,\n",
1577
+ " cols=2,\n",
1578
+ ")"
1579
+ ],
1580
+ "metadata": {
1581
+ "id": "nee55HMp5ySf"
1582
+ },
1583
+ "execution_count": null,
1584
+ "outputs": []
1585
+ },
1586
+ {
1587
+ "cell_type": "code",
1588
+ "source": [
1589
+ "# Data augmentation is complex since after the image is modified, the bounding\n",
1590
+ "# boxes must also be modified accordingly!\n",
1591
+ "augmenter = keras.Sequential(\n",
1592
+ " layers=[\n",
1593
+ " keras_cv.layers.RandomFlip(\n",
1594
+ " mode=\"horizontal\",\n",
1595
+ " bounding_box_format=\"xywh\"),\n",
1596
+ " keras_cv.layers.JitteredResize(\n",
1597
+ " target_size=(640, 640),\n",
1598
+ " scale_factor=(0.75, 1.3),\n",
1599
+ " bounding_box_format=\"xywh\"\n",
1600
+ " ),\n",
1601
+ " ]\n",
1602
+ ")"
1603
+ ],
1604
+ "metadata": {
1605
+ "id": "1TS1JnDf50XH"
1606
+ },
1607
+ "execution_count": null,
1608
+ "outputs": []
1609
+ },
1610
+ {
1611
+ "cell_type": "code",
1612
+ "source": [
1613
+ "train_ds = train_ds.map(augmenter, num_parallel_calls=tf.data.AUTOTUNE)\n",
1614
+ "visualize_dataset(\n",
1615
+ " train_ds, bounding_box_format=\"xywh\", value_range=(0, 255), rows=2, cols=2\n",
1616
+ ")"
1617
+ ],
1618
+ "metadata": {
1619
+ "id": "bPA28xrA58Gr"
1620
+ },
1621
+ "execution_count": null,
1622
+ "outputs": []
1623
+ },
1624
+ {
1625
+ "cell_type": "code",
1626
+ "source": [
1627
+ "# Let's use deterministic resizing for the validation set\n",
1628
+ "\n",
1629
+ "inference_resizing = keras_cv.layers.Resizing(\n",
1630
+ " 640, 640, bounding_box_format=\"xywh\", pad_to_aspect_ratio=True\n",
1631
+ ")\n",
1632
+ "eval_ds = eval_ds.map(inference_resizing, num_parallel_calls=tf.data.AUTOTUNE)"
1633
+ ],
1634
+ "metadata": {
1635
+ "id": "1kvb--SW5-n5"
1636
+ },
1637
+ "execution_count": null,
1638
+ "outputs": []
1639
+ },
1640
+ {
1641
+ "cell_type": "code",
1642
+ "source": [
1643
+ "# Let's make sure the resizing worked\n",
1644
+ "\n",
1645
+ "visualize_dataset(\n",
1646
+ " eval_ds, bounding_box_format=\"xywh\", value_range=(0, 255), rows=2, cols=2\n",
1647
+ ")"
1648
+ ],
1649
+ "metadata": {
1650
+ "id": "zDNiu-uo6CQz"
1651
+ },
1652
+ "execution_count": null,
1653
+ "outputs": []
1654
+ },
1655
+ {
1656
+ "cell_type": "code",
1657
+ "source": [
1658
+ "# This is the final form our model expects:\n",
1659
+ "# tuple of (images, bounding_box_dictionary)\n",
1660
+ "# to_dense() makes the batch compatible with TPU\n",
1661
+ "\n",
1662
+ "def dict_to_tuple(inputs):\n",
1663
+ " return inputs[\"images\"], bounding_box.to_dense(\n",
1664
+ " inputs[\"bounding_boxes\"], max_boxes=32\n",
1665
+ " )"
1666
+ ],
1667
+ "metadata": {
1668
+ "id": "x6gy0KH_6E3R"
1669
+ },
1670
+ "execution_count": null,
1671
+ "outputs": []
1672
+ },
1673
+ {
1674
+ "cell_type": "code",
1675
+ "source": [
1676
+ "train_ds = train_ds.map(dict_to_tuple, num_parallel_calls=tf.data.AUTOTUNE)\n",
1677
+ "eval_ds = eval_ds.map(dict_to_tuple, num_parallel_calls=tf.data.AUTOTUNE)\n",
1678
+ "\n",
1679
+ "train_ds = train_ds.prefetch(tf.data.AUTOTUNE)\n",
1680
+ "eval_ds = eval_ds.prefetch(tf.data.AUTOTUNE)"
1681
+ ],
1682
+ "metadata": {
1683
+ "id": "SjDQ6Kzm6J40"
1684
+ },
1685
+ "execution_count": null,
1686
+ "outputs": []
1687
+ },
1688
+ {
1689
+ "cell_type": "code",
1690
+ "source": [
1691
+ "# Global clipnorm helps to reduce exploding gradient\n",
1692
+ "\n",
1693
+ "base_lr = 0.005\n",
1694
+ "# including a global_clipnorm is extremely important in object detection tasks\n",
1695
+ "optimizer = tf.keras.optimizers.SGD(\n",
1696
+ " learning_rate=base_lr, momentum=0.9, global_clipnorm=10.0\n",
1697
+ ")"
1698
+ ],
1699
+ "metadata": {
1700
+ "id": "cbpsC9_t6MZK"
1701
+ },
1702
+ "execution_count": null,
1703
+ "outputs": []
1704
+ },
1705
+ {
1706
+ "cell_type": "code",
1707
+ "source": [
1708
+ "# Creates a \"RetinaNet\" from ResNet50 backbone\n",
1709
+ "\n",
1710
+ "model = keras_cv.models.RetinaNet.from_preset(\n",
1711
+ " \"resnet50_imagenet\",\n",
1712
+ " num_classes=len(class_mapping),\n",
1713
+ " bounding_box_format=\"xywh\",\n",
1714
+ ")"
1715
+ ],
1716
+ "metadata": {
1717
+ "id": "8MRczVBd6t81"
1718
+ },
1719
+ "execution_count": null,
1720
+ "outputs": []
1721
+ },
1722
+ {
1723
+ "cell_type": "code",
1724
+ "source": [
1725
+ "model.compile(\n",
1726
+ " classification_loss=\"focal\",\n",
1727
+ " box_loss=\"smoothl1\",\n",
1728
+ " optimizer=optimizer,\n",
1729
+ ")"
1730
+ ],
1731
+ "metadata": {
1732
+ "id": "KPhsTs7g6x3-"
1733
+ },
1734
+ "execution_count": null,
1735
+ "outputs": []
1736
+ },
1737
+ {
1738
+ "cell_type": "code",
1739
+ "source": [
1740
+ "# Remove take(20) for full training (takes very long!)\n",
1741
+ "model.fit(\n",
1742
+ " train_ds.take(20),\n",
1743
+ " validation_data=eval_ds.take(20),\n",
1744
+ " epochs=10,\n",
1745
+ ")"
1746
+ ],
1747
+ "metadata": {
1748
+ "id": "aGoArYns606Q"
1749
+ },
1750
+ "execution_count": null,
1751
+ "outputs": []
1752
+ },
1753
+ {
1754
+ "cell_type": "code",
1755
+ "source": [
1756
+ "# Let's load a fully trained model to test predictions\n",
1757
+ "model = keras_cv.models.RetinaNet.from_preset(\n",
1758
+ " \"retinanet_resnet50_pascalvoc\", bounding_box_format=\"xywh\"\n",
1759
+ ")\n",
1760
+ "\n",
1761
+ "# construct a dataset with larger batches:\n",
1762
+ "visualization_ds = eval_ds.unbatch()\n",
1763
+ "visualization_ds = visualization_ds.ragged_batch(16)\n",
1764
+ "visualization_ds = visualization_ds.shuffle(8)"
1765
+ ],
1766
+ "metadata": {
1767
+ "id": "w5cZUlDq634K"
1768
+ },
1769
+ "execution_count": null,
1770
+ "outputs": []
1771
+ },
1772
+ {
1773
+ "cell_type": "code",
1774
+ "source": [
1775
+ "def visualize_detections(model, dataset, bounding_box_format):\n",
1776
+ " images, y_true = next(iter(dataset.take(1)))\n",
1777
+ " y_pred = model.predict(images)\n",
1778
+ " y_pred = bounding_box.to_ragged(y_pred)\n",
1779
+ " visualization.plot_bounding_box_gallery(\n",
1780
+ " images,\n",
1781
+ " value_range=(0, 255),\n",
1782
+ " bounding_box_format=bounding_box_format,\n",
1783
+ " y_true=y_true,\n",
1784
+ " y_pred=y_pred,\n",
1785
+ " scale=4,\n",
1786
+ " rows=4,\n",
1787
+ " cols=2,\n",
1788
+ " show=True,\n",
1789
+ " font_scale=0.7,\n",
1790
+ " class_mapping=class_mapping,\n",
1791
+ " )"
1792
+ ],
1793
+ "metadata": {
1794
+ "id": "TQ-ovxSfJrrq"
1795
+ },
1796
+ "execution_count": null,
1797
+ "outputs": []
1798
+ },
1799
+ {
1800
+ "cell_type": "code",
1801
+ "source": [
1802
+ "# Set IoU and confidence threshold\n",
1803
+ "model.prediction_decoder = keras_cv.layers.MultiClassNonMaxSuppression(\n",
1804
+ " bounding_box_format=\"xywh\",\n",
1805
+ " from_logits=True,\n",
1806
+ " iou_threshold=0.5,\n",
1807
+ " confidence_threshold=0.5,\n",
1808
+ ")"
1809
+ ],
1810
+ "metadata": {
1811
+ "id": "UIupgL-fJuzQ"
1812
+ },
1813
+ "execution_count": null,
1814
+ "outputs": []
1815
+ },
1816
+ {
1817
+ "cell_type": "code",
1818
+ "source": [
1819
+ "visualize_detections(model, dataset=visualization_ds, bounding_box_format=\"xywh\")"
1820
+ ],
1821
+ "metadata": {
1822
+ "id": "7PdVm8eTJzc4"
1823
+ },
1824
+ "execution_count": null,
1825
+ "outputs": []
1826
+ },
1827
+ {
1828
+ "cell_type": "code",
1829
+ "source": [],
1830
+ "metadata": {
1831
+ "id": "xTlezK2AJ2ye"
1832
+ },
1833
+ "execution_count": null,
1834
+ "outputs": []
1835
+ },
1836
+ {
1837
+ "cell_type": "code",
1838
+ "source": [],
1839
+ "metadata": {
1840
+ "id": "S0acXBWCxiJL"
1841
+ },
1842
+ "execution_count": null,
1843
+ "outputs": []
1844
+ },
1845
+ {
1846
+ "cell_type": "code",
1847
+ "source": [],
1848
+ "metadata": {
1849
+ "id": "oaG3igwFxiQU"
1850
+ },
1851
+ "execution_count": null,
1852
+ "outputs": []
1853
+ },
1854
+ {
1855
+ "cell_type": "code",
1856
+ "source": [],
1857
+ "metadata": {
1858
+ "id": "PzQJleyoxiWi"
1859
+ },
1860
+ "execution_count": null,
1861
+ "outputs": []
1862
+ },
1863
+ {
1864
+ "cell_type": "markdown",
1865
+ "source": [
1866
+ "![](https://deeplearningcourses.com/notebooks_v3_pxl?sc=vBiV-xzzlvyPsJ2Vyu3WMg&n=Train+Object+Detection+Simple)"
1867
+ ],
1868
+ "metadata": {
1869
+ "id": "PFJd4PmsxjKb"
1870
+ }
1871
+ }
1872
+ ]
1873
+ }