Files changed (1) hide show
  1. MyDogHuggy.ipynb +1227 -0
MyDogHuggy.ipynb ADDED
@@ -0,0 +1,1227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nbformat": 4,
3
+ "nbformat_minor": 0,
4
+ "metadata": {
5
+ "colab": {
6
+ "provenance": [],
7
+ "gpuType": "T4"
8
+ },
9
+ "kernelspec": {
10
+ "name": "python3",
11
+ "display_name": "Python 3"
12
+ },
13
+ "language_info": {
14
+ "name": "python"
15
+ },
16
+ "accelerator": "GPU",
17
+ "widgets": {
18
+ "application/vnd.jupyter.widget-state+json": {
19
+ "197637a1275b48778c87e68d500cce76": {
20
+ "model_module": "@jupyter-widgets/controls",
21
+ "model_name": "VBoxModel",
22
+ "model_module_version": "1.5.0",
23
+ "state": {
24
+ "_dom_classes": [],
25
+ "_model_module": "@jupyter-widgets/controls",
26
+ "_model_module_version": "1.5.0",
27
+ "_model_name": "VBoxModel",
28
+ "_view_count": null,
29
+ "_view_module": "@jupyter-widgets/controls",
30
+ "_view_module_version": "1.5.0",
31
+ "_view_name": "VBoxView",
32
+ "box_style": "",
33
+ "children": [
34
+ "IPY_MODEL_d8d50b4f46354036816a85a836a9ab8c",
35
+ "IPY_MODEL_28b4548881604ce9aca5b537c9263c32",
36
+ "IPY_MODEL_ad934b72e93342038b673e7008f6e122",
37
+ "IPY_MODEL_f0627894670b41969345227831b86b51"
38
+ ],
39
+ "layout": "IPY_MODEL_f3d8acdda2bd454f8c48b6d2e22e4090"
40
+ }
41
+ },
42
+ "6aa5025c6a3449fbb777dbf8a896830b": {
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_fec6dd813d094cde973025117de2ee1a",
58
+ "placeholder": "​",
59
+ "style": "IPY_MODEL_466c139d8d884c348947436b31e36839",
60
+ "value": "<center> <img\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.svg\nalt='Hugging Face'> <br> Copy a token from <a\nhref=\"https://huggingface.co/settings/tokens\" target=\"_blank\">your Hugging Face\ntokens page</a> and paste it below. <br> Immediately click login after copying\nyour token or it might be stored in plain text in this notebook file. </center>"
61
+ }
62
+ },
63
+ "2de2db86ac374ab3ae2fca1d31c606a1": {
64
+ "model_module": "@jupyter-widgets/controls",
65
+ "model_name": "PasswordModel",
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": "PasswordModel",
72
+ "_view_count": null,
73
+ "_view_module": "@jupyter-widgets/controls",
74
+ "_view_module_version": "1.5.0",
75
+ "_view_name": "PasswordView",
76
+ "continuous_update": true,
77
+ "description": "Token:",
78
+ "description_tooltip": null,
79
+ "disabled": false,
80
+ "layout": "IPY_MODEL_4d04e5ea5c244c45ba3f27bbbd5e8453",
81
+ "placeholder": "​",
82
+ "style": "IPY_MODEL_a3d4755688b44b41a5093403ac7f26a2",
83
+ "value": ""
84
+ }
85
+ },
86
+ "624f416c6b304c69ba8b63b3ed4cf955": {
87
+ "model_module": "@jupyter-widgets/controls",
88
+ "model_name": "CheckboxModel",
89
+ "model_module_version": "1.5.0",
90
+ "state": {
91
+ "_dom_classes": [],
92
+ "_model_module": "@jupyter-widgets/controls",
93
+ "_model_module_version": "1.5.0",
94
+ "_model_name": "CheckboxModel",
95
+ "_view_count": null,
96
+ "_view_module": "@jupyter-widgets/controls",
97
+ "_view_module_version": "1.5.0",
98
+ "_view_name": "CheckboxView",
99
+ "description": "Add token as git credential?",
100
+ "description_tooltip": null,
101
+ "disabled": false,
102
+ "indent": true,
103
+ "layout": "IPY_MODEL_776502ed96cd4b1894dee5dbb81785ad",
104
+ "style": "IPY_MODEL_9b1b663a57f947fb9231eab7b7bbaf23",
105
+ "value": true
106
+ }
107
+ },
108
+ "d0bd4bc9686145c2bda27d0e6e63ecae": {
109
+ "model_module": "@jupyter-widgets/controls",
110
+ "model_name": "ButtonModel",
111
+ "model_module_version": "1.5.0",
112
+ "state": {
113
+ "_dom_classes": [],
114
+ "_model_module": "@jupyter-widgets/controls",
115
+ "_model_module_version": "1.5.0",
116
+ "_model_name": "ButtonModel",
117
+ "_view_count": null,
118
+ "_view_module": "@jupyter-widgets/controls",
119
+ "_view_module_version": "1.5.0",
120
+ "_view_name": "ButtonView",
121
+ "button_style": "",
122
+ "description": "Login",
123
+ "disabled": false,
124
+ "icon": "",
125
+ "layout": "IPY_MODEL_e4d169f7d68f40bfa63fed62ed4ab071",
126
+ "style": "IPY_MODEL_3d517e4e38b34656a70057f834a4a067",
127
+ "tooltip": ""
128
+ }
129
+ },
130
+ "cb52c33767e947d98829da69e646481b": {
131
+ "model_module": "@jupyter-widgets/controls",
132
+ "model_name": "HTMLModel",
133
+ "model_module_version": "1.5.0",
134
+ "state": {
135
+ "_dom_classes": [],
136
+ "_model_module": "@jupyter-widgets/controls",
137
+ "_model_module_version": "1.5.0",
138
+ "_model_name": "HTMLModel",
139
+ "_view_count": null,
140
+ "_view_module": "@jupyter-widgets/controls",
141
+ "_view_module_version": "1.5.0",
142
+ "_view_name": "HTMLView",
143
+ "description": "",
144
+ "description_tooltip": null,
145
+ "layout": "IPY_MODEL_05bf1791aa7340aa915fe3e380c3f915",
146
+ "placeholder": "​",
147
+ "style": "IPY_MODEL_5ba6d696e13441c0a6d93c2d8fd038a6",
148
+ "value": "\n<b>Pro Tip:</b> If you don't already have one, you can create a dedicated\n'notebooks' token with 'write' access, that you can then easily reuse for all\nnotebooks. </center>"
149
+ }
150
+ },
151
+ "f3d8acdda2bd454f8c48b6d2e22e4090": {
152
+ "model_module": "@jupyter-widgets/base",
153
+ "model_name": "LayoutModel",
154
+ "model_module_version": "1.2.0",
155
+ "state": {
156
+ "_model_module": "@jupyter-widgets/base",
157
+ "_model_module_version": "1.2.0",
158
+ "_model_name": "LayoutModel",
159
+ "_view_count": null,
160
+ "_view_module": "@jupyter-widgets/base",
161
+ "_view_module_version": "1.2.0",
162
+ "_view_name": "LayoutView",
163
+ "align_content": null,
164
+ "align_items": "center",
165
+ "align_self": null,
166
+ "border": null,
167
+ "bottom": null,
168
+ "display": "flex",
169
+ "flex": null,
170
+ "flex_flow": "column",
171
+ "grid_area": null,
172
+ "grid_auto_columns": null,
173
+ "grid_auto_flow": null,
174
+ "grid_auto_rows": null,
175
+ "grid_column": null,
176
+ "grid_gap": null,
177
+ "grid_row": null,
178
+ "grid_template_areas": null,
179
+ "grid_template_columns": null,
180
+ "grid_template_rows": null,
181
+ "height": null,
182
+ "justify_content": null,
183
+ "justify_items": null,
184
+ "left": null,
185
+ "margin": null,
186
+ "max_height": null,
187
+ "max_width": null,
188
+ "min_height": null,
189
+ "min_width": null,
190
+ "object_fit": null,
191
+ "object_position": null,
192
+ "order": null,
193
+ "overflow": null,
194
+ "overflow_x": null,
195
+ "overflow_y": null,
196
+ "padding": null,
197
+ "right": null,
198
+ "top": null,
199
+ "visibility": null,
200
+ "width": "50%"
201
+ }
202
+ },
203
+ "fec6dd813d094cde973025117de2ee1a": {
204
+ "model_module": "@jupyter-widgets/base",
205
+ "model_name": "LayoutModel",
206
+ "model_module_version": "1.2.0",
207
+ "state": {
208
+ "_model_module": "@jupyter-widgets/base",
209
+ "_model_module_version": "1.2.0",
210
+ "_model_name": "LayoutModel",
211
+ "_view_count": null,
212
+ "_view_module": "@jupyter-widgets/base",
213
+ "_view_module_version": "1.2.0",
214
+ "_view_name": "LayoutView",
215
+ "align_content": null,
216
+ "align_items": null,
217
+ "align_self": null,
218
+ "border": null,
219
+ "bottom": null,
220
+ "display": null,
221
+ "flex": null,
222
+ "flex_flow": null,
223
+ "grid_area": null,
224
+ "grid_auto_columns": null,
225
+ "grid_auto_flow": null,
226
+ "grid_auto_rows": null,
227
+ "grid_column": null,
228
+ "grid_gap": null,
229
+ "grid_row": null,
230
+ "grid_template_areas": null,
231
+ "grid_template_columns": null,
232
+ "grid_template_rows": null,
233
+ "height": null,
234
+ "justify_content": null,
235
+ "justify_items": null,
236
+ "left": null,
237
+ "margin": null,
238
+ "max_height": null,
239
+ "max_width": null,
240
+ "min_height": null,
241
+ "min_width": null,
242
+ "object_fit": null,
243
+ "object_position": null,
244
+ "order": null,
245
+ "overflow": null,
246
+ "overflow_x": null,
247
+ "overflow_y": null,
248
+ "padding": null,
249
+ "right": null,
250
+ "top": null,
251
+ "visibility": null,
252
+ "width": null
253
+ }
254
+ },
255
+ "466c139d8d884c348947436b31e36839": {
256
+ "model_module": "@jupyter-widgets/controls",
257
+ "model_name": "DescriptionStyleModel",
258
+ "model_module_version": "1.5.0",
259
+ "state": {
260
+ "_model_module": "@jupyter-widgets/controls",
261
+ "_model_module_version": "1.5.0",
262
+ "_model_name": "DescriptionStyleModel",
263
+ "_view_count": null,
264
+ "_view_module": "@jupyter-widgets/base",
265
+ "_view_module_version": "1.2.0",
266
+ "_view_name": "StyleView",
267
+ "description_width": ""
268
+ }
269
+ },
270
+ "4d04e5ea5c244c45ba3f27bbbd5e8453": {
271
+ "model_module": "@jupyter-widgets/base",
272
+ "model_name": "LayoutModel",
273
+ "model_module_version": "1.2.0",
274
+ "state": {
275
+ "_model_module": "@jupyter-widgets/base",
276
+ "_model_module_version": "1.2.0",
277
+ "_model_name": "LayoutModel",
278
+ "_view_count": null,
279
+ "_view_module": "@jupyter-widgets/base",
280
+ "_view_module_version": "1.2.0",
281
+ "_view_name": "LayoutView",
282
+ "align_content": null,
283
+ "align_items": null,
284
+ "align_self": null,
285
+ "border": null,
286
+ "bottom": null,
287
+ "display": null,
288
+ "flex": null,
289
+ "flex_flow": null,
290
+ "grid_area": null,
291
+ "grid_auto_columns": null,
292
+ "grid_auto_flow": null,
293
+ "grid_auto_rows": null,
294
+ "grid_column": null,
295
+ "grid_gap": null,
296
+ "grid_row": null,
297
+ "grid_template_areas": null,
298
+ "grid_template_columns": null,
299
+ "grid_template_rows": null,
300
+ "height": null,
301
+ "justify_content": null,
302
+ "justify_items": null,
303
+ "left": null,
304
+ "margin": null,
305
+ "max_height": null,
306
+ "max_width": null,
307
+ "min_height": null,
308
+ "min_width": null,
309
+ "object_fit": null,
310
+ "object_position": null,
311
+ "order": null,
312
+ "overflow": null,
313
+ "overflow_x": null,
314
+ "overflow_y": null,
315
+ "padding": null,
316
+ "right": null,
317
+ "top": null,
318
+ "visibility": null,
319
+ "width": null
320
+ }
321
+ },
322
+ "a3d4755688b44b41a5093403ac7f26a2": {
323
+ "model_module": "@jupyter-widgets/controls",
324
+ "model_name": "DescriptionStyleModel",
325
+ "model_module_version": "1.5.0",
326
+ "state": {
327
+ "_model_module": "@jupyter-widgets/controls",
328
+ "_model_module_version": "1.5.0",
329
+ "_model_name": "DescriptionStyleModel",
330
+ "_view_count": null,
331
+ "_view_module": "@jupyter-widgets/base",
332
+ "_view_module_version": "1.2.0",
333
+ "_view_name": "StyleView",
334
+ "description_width": ""
335
+ }
336
+ },
337
+ "776502ed96cd4b1894dee5dbb81785ad": {
338
+ "model_module": "@jupyter-widgets/base",
339
+ "model_name": "LayoutModel",
340
+ "model_module_version": "1.2.0",
341
+ "state": {
342
+ "_model_module": "@jupyter-widgets/base",
343
+ "_model_module_version": "1.2.0",
344
+ "_model_name": "LayoutModel",
345
+ "_view_count": null,
346
+ "_view_module": "@jupyter-widgets/base",
347
+ "_view_module_version": "1.2.0",
348
+ "_view_name": "LayoutView",
349
+ "align_content": null,
350
+ "align_items": null,
351
+ "align_self": null,
352
+ "border": null,
353
+ "bottom": null,
354
+ "display": null,
355
+ "flex": null,
356
+ "flex_flow": null,
357
+ "grid_area": null,
358
+ "grid_auto_columns": null,
359
+ "grid_auto_flow": null,
360
+ "grid_auto_rows": null,
361
+ "grid_column": null,
362
+ "grid_gap": null,
363
+ "grid_row": null,
364
+ "grid_template_areas": null,
365
+ "grid_template_columns": null,
366
+ "grid_template_rows": null,
367
+ "height": null,
368
+ "justify_content": null,
369
+ "justify_items": null,
370
+ "left": null,
371
+ "margin": null,
372
+ "max_height": null,
373
+ "max_width": null,
374
+ "min_height": null,
375
+ "min_width": null,
376
+ "object_fit": null,
377
+ "object_position": null,
378
+ "order": null,
379
+ "overflow": null,
380
+ "overflow_x": null,
381
+ "overflow_y": null,
382
+ "padding": null,
383
+ "right": null,
384
+ "top": null,
385
+ "visibility": null,
386
+ "width": null
387
+ }
388
+ },
389
+ "9b1b663a57f947fb9231eab7b7bbaf23": {
390
+ "model_module": "@jupyter-widgets/controls",
391
+ "model_name": "DescriptionStyleModel",
392
+ "model_module_version": "1.5.0",
393
+ "state": {
394
+ "_model_module": "@jupyter-widgets/controls",
395
+ "_model_module_version": "1.5.0",
396
+ "_model_name": "DescriptionStyleModel",
397
+ "_view_count": null,
398
+ "_view_module": "@jupyter-widgets/base",
399
+ "_view_module_version": "1.2.0",
400
+ "_view_name": "StyleView",
401
+ "description_width": ""
402
+ }
403
+ },
404
+ "e4d169f7d68f40bfa63fed62ed4ab071": {
405
+ "model_module": "@jupyter-widgets/base",
406
+ "model_name": "LayoutModel",
407
+ "model_module_version": "1.2.0",
408
+ "state": {
409
+ "_model_module": "@jupyter-widgets/base",
410
+ "_model_module_version": "1.2.0",
411
+ "_model_name": "LayoutModel",
412
+ "_view_count": null,
413
+ "_view_module": "@jupyter-widgets/base",
414
+ "_view_module_version": "1.2.0",
415
+ "_view_name": "LayoutView",
416
+ "align_content": null,
417
+ "align_items": null,
418
+ "align_self": null,
419
+ "border": null,
420
+ "bottom": null,
421
+ "display": null,
422
+ "flex": null,
423
+ "flex_flow": null,
424
+ "grid_area": null,
425
+ "grid_auto_columns": null,
426
+ "grid_auto_flow": null,
427
+ "grid_auto_rows": null,
428
+ "grid_column": null,
429
+ "grid_gap": null,
430
+ "grid_row": null,
431
+ "grid_template_areas": null,
432
+ "grid_template_columns": null,
433
+ "grid_template_rows": null,
434
+ "height": null,
435
+ "justify_content": null,
436
+ "justify_items": null,
437
+ "left": null,
438
+ "margin": null,
439
+ "max_height": null,
440
+ "max_width": null,
441
+ "min_height": null,
442
+ "min_width": null,
443
+ "object_fit": null,
444
+ "object_position": null,
445
+ "order": null,
446
+ "overflow": null,
447
+ "overflow_x": null,
448
+ "overflow_y": null,
449
+ "padding": null,
450
+ "right": null,
451
+ "top": null,
452
+ "visibility": null,
453
+ "width": null
454
+ }
455
+ },
456
+ "3d517e4e38b34656a70057f834a4a067": {
457
+ "model_module": "@jupyter-widgets/controls",
458
+ "model_name": "ButtonStyleModel",
459
+ "model_module_version": "1.5.0",
460
+ "state": {
461
+ "_model_module": "@jupyter-widgets/controls",
462
+ "_model_module_version": "1.5.0",
463
+ "_model_name": "ButtonStyleModel",
464
+ "_view_count": null,
465
+ "_view_module": "@jupyter-widgets/base",
466
+ "_view_module_version": "1.2.0",
467
+ "_view_name": "StyleView",
468
+ "button_color": null,
469
+ "font_weight": ""
470
+ }
471
+ },
472
+ "05bf1791aa7340aa915fe3e380c3f915": {
473
+ "model_module": "@jupyter-widgets/base",
474
+ "model_name": "LayoutModel",
475
+ "model_module_version": "1.2.0",
476
+ "state": {
477
+ "_model_module": "@jupyter-widgets/base",
478
+ "_model_module_version": "1.2.0",
479
+ "_model_name": "LayoutModel",
480
+ "_view_count": null,
481
+ "_view_module": "@jupyter-widgets/base",
482
+ "_view_module_version": "1.2.0",
483
+ "_view_name": "LayoutView",
484
+ "align_content": null,
485
+ "align_items": null,
486
+ "align_self": null,
487
+ "border": null,
488
+ "bottom": null,
489
+ "display": null,
490
+ "flex": null,
491
+ "flex_flow": null,
492
+ "grid_area": null,
493
+ "grid_auto_columns": null,
494
+ "grid_auto_flow": null,
495
+ "grid_auto_rows": null,
496
+ "grid_column": null,
497
+ "grid_gap": null,
498
+ "grid_row": null,
499
+ "grid_template_areas": null,
500
+ "grid_template_columns": null,
501
+ "grid_template_rows": null,
502
+ "height": null,
503
+ "justify_content": null,
504
+ "justify_items": null,
505
+ "left": null,
506
+ "margin": null,
507
+ "max_height": null,
508
+ "max_width": null,
509
+ "min_height": null,
510
+ "min_width": null,
511
+ "object_fit": null,
512
+ "object_position": null,
513
+ "order": null,
514
+ "overflow": null,
515
+ "overflow_x": null,
516
+ "overflow_y": null,
517
+ "padding": null,
518
+ "right": null,
519
+ "top": null,
520
+ "visibility": null,
521
+ "width": null
522
+ }
523
+ },
524
+ "5ba6d696e13441c0a6d93c2d8fd038a6": {
525
+ "model_module": "@jupyter-widgets/controls",
526
+ "model_name": "DescriptionStyleModel",
527
+ "model_module_version": "1.5.0",
528
+ "state": {
529
+ "_model_module": "@jupyter-widgets/controls",
530
+ "_model_module_version": "1.5.0",
531
+ "_model_name": "DescriptionStyleModel",
532
+ "_view_count": null,
533
+ "_view_module": "@jupyter-widgets/base",
534
+ "_view_module_version": "1.2.0",
535
+ "_view_name": "StyleView",
536
+ "description_width": ""
537
+ }
538
+ },
539
+ "57d2cc22dcd146b28183e6b08fef78e1": {
540
+ "model_module": "@jupyter-widgets/controls",
541
+ "model_name": "LabelModel",
542
+ "model_module_version": "1.5.0",
543
+ "state": {
544
+ "_dom_classes": [],
545
+ "_model_module": "@jupyter-widgets/controls",
546
+ "_model_module_version": "1.5.0",
547
+ "_model_name": "LabelModel",
548
+ "_view_count": null,
549
+ "_view_module": "@jupyter-widgets/controls",
550
+ "_view_module_version": "1.5.0",
551
+ "_view_name": "LabelView",
552
+ "description": "",
553
+ "description_tooltip": null,
554
+ "layout": "IPY_MODEL_2ba71edaa79b49a1b416e1746020f735",
555
+ "placeholder": "​",
556
+ "style": "IPY_MODEL_7ae4176080c3409fa18c041483e570df",
557
+ "value": "Connecting..."
558
+ }
559
+ },
560
+ "2ba71edaa79b49a1b416e1746020f735": {
561
+ "model_module": "@jupyter-widgets/base",
562
+ "model_name": "LayoutModel",
563
+ "model_module_version": "1.2.0",
564
+ "state": {
565
+ "_model_module": "@jupyter-widgets/base",
566
+ "_model_module_version": "1.2.0",
567
+ "_model_name": "LayoutModel",
568
+ "_view_count": null,
569
+ "_view_module": "@jupyter-widgets/base",
570
+ "_view_module_version": "1.2.0",
571
+ "_view_name": "LayoutView",
572
+ "align_content": null,
573
+ "align_items": null,
574
+ "align_self": null,
575
+ "border": null,
576
+ "bottom": null,
577
+ "display": null,
578
+ "flex": null,
579
+ "flex_flow": null,
580
+ "grid_area": null,
581
+ "grid_auto_columns": null,
582
+ "grid_auto_flow": null,
583
+ "grid_auto_rows": null,
584
+ "grid_column": null,
585
+ "grid_gap": null,
586
+ "grid_row": null,
587
+ "grid_template_areas": null,
588
+ "grid_template_columns": null,
589
+ "grid_template_rows": null,
590
+ "height": null,
591
+ "justify_content": null,
592
+ "justify_items": null,
593
+ "left": null,
594
+ "margin": null,
595
+ "max_height": null,
596
+ "max_width": null,
597
+ "min_height": null,
598
+ "min_width": null,
599
+ "object_fit": null,
600
+ "object_position": null,
601
+ "order": null,
602
+ "overflow": null,
603
+ "overflow_x": null,
604
+ "overflow_y": null,
605
+ "padding": null,
606
+ "right": null,
607
+ "top": null,
608
+ "visibility": null,
609
+ "width": null
610
+ }
611
+ },
612
+ "7ae4176080c3409fa18c041483e570df": {
613
+ "model_module": "@jupyter-widgets/controls",
614
+ "model_name": "DescriptionStyleModel",
615
+ "model_module_version": "1.5.0",
616
+ "state": {
617
+ "_model_module": "@jupyter-widgets/controls",
618
+ "_model_module_version": "1.5.0",
619
+ "_model_name": "DescriptionStyleModel",
620
+ "_view_count": null,
621
+ "_view_module": "@jupyter-widgets/base",
622
+ "_view_module_version": "1.2.0",
623
+ "_view_name": "StyleView",
624
+ "description_width": ""
625
+ }
626
+ },
627
+ "d8d50b4f46354036816a85a836a9ab8c": {
628
+ "model_module": "@jupyter-widgets/controls",
629
+ "model_name": "LabelModel",
630
+ "model_module_version": "1.5.0",
631
+ "state": {
632
+ "_dom_classes": [],
633
+ "_model_module": "@jupyter-widgets/controls",
634
+ "_model_module_version": "1.5.0",
635
+ "_model_name": "LabelModel",
636
+ "_view_count": null,
637
+ "_view_module": "@jupyter-widgets/controls",
638
+ "_view_module_version": "1.5.0",
639
+ "_view_name": "LabelView",
640
+ "description": "",
641
+ "description_tooltip": null,
642
+ "layout": "IPY_MODEL_60bbaf772c434ebcb54d5038eb0740f3",
643
+ "placeholder": "​",
644
+ "style": "IPY_MODEL_562447ad0a764443aba444de820ca42c",
645
+ "value": "Token is valid (permission: write)."
646
+ }
647
+ },
648
+ "28b4548881604ce9aca5b537c9263c32": {
649
+ "model_module": "@jupyter-widgets/controls",
650
+ "model_name": "LabelModel",
651
+ "model_module_version": "1.5.0",
652
+ "state": {
653
+ "_dom_classes": [],
654
+ "_model_module": "@jupyter-widgets/controls",
655
+ "_model_module_version": "1.5.0",
656
+ "_model_name": "LabelModel",
657
+ "_view_count": null,
658
+ "_view_module": "@jupyter-widgets/controls",
659
+ "_view_module_version": "1.5.0",
660
+ "_view_name": "LabelView",
661
+ "description": "",
662
+ "description_tooltip": null,
663
+ "layout": "IPY_MODEL_852ef1d1c2d94cb0ad15b6f3f7c91fe5",
664
+ "placeholder": "​",
665
+ "style": "IPY_MODEL_fde506ecac6244f4a305aeffc1beb02a",
666
+ "value": "Your token has been saved in your configured git credential helpers (store)."
667
+ }
668
+ },
669
+ "ad934b72e93342038b673e7008f6e122": {
670
+ "model_module": "@jupyter-widgets/controls",
671
+ "model_name": "LabelModel",
672
+ "model_module_version": "1.5.0",
673
+ "state": {
674
+ "_dom_classes": [],
675
+ "_model_module": "@jupyter-widgets/controls",
676
+ "_model_module_version": "1.5.0",
677
+ "_model_name": "LabelModel",
678
+ "_view_count": null,
679
+ "_view_module": "@jupyter-widgets/controls",
680
+ "_view_module_version": "1.5.0",
681
+ "_view_name": "LabelView",
682
+ "description": "",
683
+ "description_tooltip": null,
684
+ "layout": "IPY_MODEL_6d5645cc58bf46ef9e4f748d928c9fb6",
685
+ "placeholder": "​",
686
+ "style": "IPY_MODEL_b81ff80c1ff84119b95f9a15881da7b1",
687
+ "value": "Your token has been saved to /root/.cache/huggingface/token"
688
+ }
689
+ },
690
+ "f0627894670b41969345227831b86b51": {
691
+ "model_module": "@jupyter-widgets/controls",
692
+ "model_name": "LabelModel",
693
+ "model_module_version": "1.5.0",
694
+ "state": {
695
+ "_dom_classes": [],
696
+ "_model_module": "@jupyter-widgets/controls",
697
+ "_model_module_version": "1.5.0",
698
+ "_model_name": "LabelModel",
699
+ "_view_count": null,
700
+ "_view_module": "@jupyter-widgets/controls",
701
+ "_view_module_version": "1.5.0",
702
+ "_view_name": "LabelView",
703
+ "description": "",
704
+ "description_tooltip": null,
705
+ "layout": "IPY_MODEL_6638ab7ae7db460aa61485f830bbcd0a",
706
+ "placeholder": "​",
707
+ "style": "IPY_MODEL_709c9c0818d344bd9ee729c294306e45",
708
+ "value": "Login successful"
709
+ }
710
+ },
711
+ "60bbaf772c434ebcb54d5038eb0740f3": {
712
+ "model_module": "@jupyter-widgets/base",
713
+ "model_name": "LayoutModel",
714
+ "model_module_version": "1.2.0",
715
+ "state": {
716
+ "_model_module": "@jupyter-widgets/base",
717
+ "_model_module_version": "1.2.0",
718
+ "_model_name": "LayoutModel",
719
+ "_view_count": null,
720
+ "_view_module": "@jupyter-widgets/base",
721
+ "_view_module_version": "1.2.0",
722
+ "_view_name": "LayoutView",
723
+ "align_content": null,
724
+ "align_items": null,
725
+ "align_self": null,
726
+ "border": null,
727
+ "bottom": null,
728
+ "display": null,
729
+ "flex": null,
730
+ "flex_flow": null,
731
+ "grid_area": null,
732
+ "grid_auto_columns": null,
733
+ "grid_auto_flow": null,
734
+ "grid_auto_rows": null,
735
+ "grid_column": null,
736
+ "grid_gap": null,
737
+ "grid_row": null,
738
+ "grid_template_areas": null,
739
+ "grid_template_columns": null,
740
+ "grid_template_rows": null,
741
+ "height": null,
742
+ "justify_content": null,
743
+ "justify_items": null,
744
+ "left": null,
745
+ "margin": null,
746
+ "max_height": null,
747
+ "max_width": null,
748
+ "min_height": null,
749
+ "min_width": null,
750
+ "object_fit": null,
751
+ "object_position": null,
752
+ "order": null,
753
+ "overflow": null,
754
+ "overflow_x": null,
755
+ "overflow_y": null,
756
+ "padding": null,
757
+ "right": null,
758
+ "top": null,
759
+ "visibility": null,
760
+ "width": null
761
+ }
762
+ },
763
+ "562447ad0a764443aba444de820ca42c": {
764
+ "model_module": "@jupyter-widgets/controls",
765
+ "model_name": "DescriptionStyleModel",
766
+ "model_module_version": "1.5.0",
767
+ "state": {
768
+ "_model_module": "@jupyter-widgets/controls",
769
+ "_model_module_version": "1.5.0",
770
+ "_model_name": "DescriptionStyleModel",
771
+ "_view_count": null,
772
+ "_view_module": "@jupyter-widgets/base",
773
+ "_view_module_version": "1.2.0",
774
+ "_view_name": "StyleView",
775
+ "description_width": ""
776
+ }
777
+ },
778
+ "852ef1d1c2d94cb0ad15b6f3f7c91fe5": {
779
+ "model_module": "@jupyter-widgets/base",
780
+ "model_name": "LayoutModel",
781
+ "model_module_version": "1.2.0",
782
+ "state": {
783
+ "_model_module": "@jupyter-widgets/base",
784
+ "_model_module_version": "1.2.0",
785
+ "_model_name": "LayoutModel",
786
+ "_view_count": null,
787
+ "_view_module": "@jupyter-widgets/base",
788
+ "_view_module_version": "1.2.0",
789
+ "_view_name": "LayoutView",
790
+ "align_content": null,
791
+ "align_items": null,
792
+ "align_self": null,
793
+ "border": null,
794
+ "bottom": null,
795
+ "display": null,
796
+ "flex": null,
797
+ "flex_flow": null,
798
+ "grid_area": null,
799
+ "grid_auto_columns": null,
800
+ "grid_auto_flow": null,
801
+ "grid_auto_rows": null,
802
+ "grid_column": null,
803
+ "grid_gap": null,
804
+ "grid_row": null,
805
+ "grid_template_areas": null,
806
+ "grid_template_columns": null,
807
+ "grid_template_rows": null,
808
+ "height": null,
809
+ "justify_content": null,
810
+ "justify_items": null,
811
+ "left": null,
812
+ "margin": null,
813
+ "max_height": null,
814
+ "max_width": null,
815
+ "min_height": null,
816
+ "min_width": null,
817
+ "object_fit": null,
818
+ "object_position": null,
819
+ "order": null,
820
+ "overflow": null,
821
+ "overflow_x": null,
822
+ "overflow_y": null,
823
+ "padding": null,
824
+ "right": null,
825
+ "top": null,
826
+ "visibility": null,
827
+ "width": null
828
+ }
829
+ },
830
+ "fde506ecac6244f4a305aeffc1beb02a": {
831
+ "model_module": "@jupyter-widgets/controls",
832
+ "model_name": "DescriptionStyleModel",
833
+ "model_module_version": "1.5.0",
834
+ "state": {
835
+ "_model_module": "@jupyter-widgets/controls",
836
+ "_model_module_version": "1.5.0",
837
+ "_model_name": "DescriptionStyleModel",
838
+ "_view_count": null,
839
+ "_view_module": "@jupyter-widgets/base",
840
+ "_view_module_version": "1.2.0",
841
+ "_view_name": "StyleView",
842
+ "description_width": ""
843
+ }
844
+ },
845
+ "6d5645cc58bf46ef9e4f748d928c9fb6": {
846
+ "model_module": "@jupyter-widgets/base",
847
+ "model_name": "LayoutModel",
848
+ "model_module_version": "1.2.0",
849
+ "state": {
850
+ "_model_module": "@jupyter-widgets/base",
851
+ "_model_module_version": "1.2.0",
852
+ "_model_name": "LayoutModel",
853
+ "_view_count": null,
854
+ "_view_module": "@jupyter-widgets/base",
855
+ "_view_module_version": "1.2.0",
856
+ "_view_name": "LayoutView",
857
+ "align_content": null,
858
+ "align_items": null,
859
+ "align_self": null,
860
+ "border": null,
861
+ "bottom": null,
862
+ "display": null,
863
+ "flex": null,
864
+ "flex_flow": null,
865
+ "grid_area": null,
866
+ "grid_auto_columns": null,
867
+ "grid_auto_flow": null,
868
+ "grid_auto_rows": null,
869
+ "grid_column": null,
870
+ "grid_gap": null,
871
+ "grid_row": null,
872
+ "grid_template_areas": null,
873
+ "grid_template_columns": null,
874
+ "grid_template_rows": null,
875
+ "height": null,
876
+ "justify_content": null,
877
+ "justify_items": null,
878
+ "left": null,
879
+ "margin": null,
880
+ "max_height": null,
881
+ "max_width": null,
882
+ "min_height": null,
883
+ "min_width": null,
884
+ "object_fit": null,
885
+ "object_position": null,
886
+ "order": null,
887
+ "overflow": null,
888
+ "overflow_x": null,
889
+ "overflow_y": null,
890
+ "padding": null,
891
+ "right": null,
892
+ "top": null,
893
+ "visibility": null,
894
+ "width": null
895
+ }
896
+ },
897
+ "b81ff80c1ff84119b95f9a15881da7b1": {
898
+ "model_module": "@jupyter-widgets/controls",
899
+ "model_name": "DescriptionStyleModel",
900
+ "model_module_version": "1.5.0",
901
+ "state": {
902
+ "_model_module": "@jupyter-widgets/controls",
903
+ "_model_module_version": "1.5.0",
904
+ "_model_name": "DescriptionStyleModel",
905
+ "_view_count": null,
906
+ "_view_module": "@jupyter-widgets/base",
907
+ "_view_module_version": "1.2.0",
908
+ "_view_name": "StyleView",
909
+ "description_width": ""
910
+ }
911
+ },
912
+ "6638ab7ae7db460aa61485f830bbcd0a": {
913
+ "model_module": "@jupyter-widgets/base",
914
+ "model_name": "LayoutModel",
915
+ "model_module_version": "1.2.0",
916
+ "state": {
917
+ "_model_module": "@jupyter-widgets/base",
918
+ "_model_module_version": "1.2.0",
919
+ "_model_name": "LayoutModel",
920
+ "_view_count": null,
921
+ "_view_module": "@jupyter-widgets/base",
922
+ "_view_module_version": "1.2.0",
923
+ "_view_name": "LayoutView",
924
+ "align_content": null,
925
+ "align_items": null,
926
+ "align_self": null,
927
+ "border": null,
928
+ "bottom": null,
929
+ "display": null,
930
+ "flex": null,
931
+ "flex_flow": null,
932
+ "grid_area": null,
933
+ "grid_auto_columns": null,
934
+ "grid_auto_flow": null,
935
+ "grid_auto_rows": null,
936
+ "grid_column": null,
937
+ "grid_gap": null,
938
+ "grid_row": null,
939
+ "grid_template_areas": null,
940
+ "grid_template_columns": null,
941
+ "grid_template_rows": null,
942
+ "height": null,
943
+ "justify_content": null,
944
+ "justify_items": null,
945
+ "left": null,
946
+ "margin": null,
947
+ "max_height": null,
948
+ "max_width": null,
949
+ "min_height": null,
950
+ "min_width": null,
951
+ "object_fit": null,
952
+ "object_position": null,
953
+ "order": null,
954
+ "overflow": null,
955
+ "overflow_x": null,
956
+ "overflow_y": null,
957
+ "padding": null,
958
+ "right": null,
959
+ "top": null,
960
+ "visibility": null,
961
+ "width": null
962
+ }
963
+ },
964
+ "709c9c0818d344bd9ee729c294306e45": {
965
+ "model_module": "@jupyter-widgets/controls",
966
+ "model_name": "DescriptionStyleModel",
967
+ "model_module_version": "1.5.0",
968
+ "state": {
969
+ "_model_module": "@jupyter-widgets/controls",
970
+ "_model_module_version": "1.5.0",
971
+ "_model_name": "DescriptionStyleModel",
972
+ "_view_count": null,
973
+ "_view_module": "@jupyter-widgets/base",
974
+ "_view_module_version": "1.2.0",
975
+ "_view_name": "StyleView",
976
+ "description_width": ""
977
+ }
978
+ }
979
+ }
980
+ }
981
+ },
982
+ "cells": [
983
+ {
984
+ "cell_type": "code",
985
+ "execution_count": 2,
986
+ "metadata": {
987
+ "id": "6WNoL04M7rTa"
988
+ },
989
+ "outputs": [],
990
+ "source": [
991
+ "%%capture\n",
992
+ "# Clone the repository (can take 3min)\n",
993
+ "!git clone --depth 1 https://github.com/Unity-Technologies/ml-agents"
994
+ ]
995
+ },
996
+ {
997
+ "cell_type": "code",
998
+ "source": [
999
+ "%%capture\n",
1000
+ "# Go inside the repository and install the package (can take 3min)\n",
1001
+ "%cd ml-agents\n",
1002
+ "!pip3 install -e ./ml-agents-envs\n",
1003
+ "!pip3 install -e ./ml-agents"
1004
+ ],
1005
+ "metadata": {
1006
+ "id": "DOHT2iB7yLZH"
1007
+ },
1008
+ "execution_count": 3,
1009
+ "outputs": []
1010
+ },
1011
+ {
1012
+ "cell_type": "code",
1013
+ "execution_count": 4,
1014
+ "metadata": {
1015
+ "id": "C9Ls6_6eOKiA"
1016
+ },
1017
+ "outputs": [],
1018
+ "source": [
1019
+ "!mkdir ./trained-envs-executables\n",
1020
+ "!mkdir ./trained-envs-executables/linux"
1021
+ ]
1022
+ },
1023
+ {
1024
+ "cell_type": "code",
1025
+ "source": [
1026
+ "!wget \"https://github.com/huggingface/Huggy/raw/main/Huggy.zip\" -O ./trained-envs-executables/linux/Huggy.zip"
1027
+ ],
1028
+ "metadata": {
1029
+ "colab": {
1030
+ "base_uri": "https://localhost:8080/"
1031
+ },
1032
+ "id": "c--QZt_ayLbV",
1033
+ "outputId": "c8f5f3d5-80b7-4d97-b7b1-568a3ca5d64a"
1034
+ },
1035
+ "execution_count": 5,
1036
+ "outputs": [
1037
+ {
1038
+ "output_type": "stream",
1039
+ "name": "stdout",
1040
+ "text": [
1041
+ "--2024-02-23 11:50:39-- https://github.com/huggingface/Huggy/raw/main/Huggy.zip\n",
1042
+ "Resolving github.com (github.com)... 140.82.114.3\n",
1043
+ "Connecting to github.com (github.com)|140.82.114.3|:443... connected.\n",
1044
+ "HTTP request sent, awaiting response... 302 Found\n",
1045
+ "Location: https://media.githubusercontent.com/media/huggingface/Huggy/main/Huggy.zip [following]\n",
1046
+ "--2024-02-23 11:50:40-- https://media.githubusercontent.com/media/huggingface/Huggy/main/Huggy.zip\n",
1047
+ "Resolving media.githubusercontent.com (media.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
1048
+ "Connecting to media.githubusercontent.com (media.githubusercontent.com)|185.199.108.133|:443... connected.\n",
1049
+ "HTTP request sent, awaiting response... 200 OK\n",
1050
+ "Length: 39214997 (37M) [application/zip]\n",
1051
+ "Saving to: ‘./trained-envs-executables/linux/Huggy.zip’\n",
1052
+ "\n",
1053
+ "./trained-envs-exec 100%[===================>] 37.40M 221MB/s in 0.2s \n",
1054
+ "\n",
1055
+ "2024-02-23 11:50:42 (221 MB/s) - ‘./trained-envs-executables/linux/Huggy.zip’ saved [39214997/39214997]\n",
1056
+ "\n"
1057
+ ]
1058
+ }
1059
+ ]
1060
+ },
1061
+ {
1062
+ "cell_type": "code",
1063
+ "source": [
1064
+ "%%capture\n",
1065
+ "!unzip -d ./trained-envs-executables/linux/ ./trained-envs-executables/linux/Huggy.zip"
1066
+ ],
1067
+ "metadata": {
1068
+ "id": "vowa1oKhyLcn"
1069
+ },
1070
+ "execution_count": 6,
1071
+ "outputs": []
1072
+ },
1073
+ {
1074
+ "cell_type": "code",
1075
+ "source": [
1076
+ "!chmod -R 755 ./trained-envs-executables/linux/Huggy"
1077
+ ],
1078
+ "metadata": {
1079
+ "id": "ozPPLU1_yLg-"
1080
+ },
1081
+ "execution_count": 7,
1082
+ "outputs": []
1083
+ },
1084
+ {
1085
+ "cell_type": "code",
1086
+ "source": [
1087
+ "!mlagents-learn ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=\"Huggy2\" --no-graphics"
1088
+ ],
1089
+ "metadata": {
1090
+ "colab": {
1091
+ "base_uri": "https://localhost:8080/"
1092
+ },
1093
+ "id": "wI1jZsj9yLkZ",
1094
+ "outputId": "159df410-fade-4c62-f20c-da3af985145b"
1095
+ },
1096
+ "execution_count": 8,
1097
+ "outputs": [
1098
+ {
1099
+ "output_type": "stream",
1100
+ "name": "stdout",
1101
+ "text": [
1102
+ "/usr/local/lib/python3.10/dist-packages/torch/__init__.py:696: UserWarning: torch.set_default_tensor_type() is deprecated as of PyTorch 2.1, please use torch.set_default_dtype() and torch.set_default_device() as alternatives. (Triggered internally at ../torch/csrc/tensor/python_tensor.cpp:451.)\n",
1103
+ " _C._set_default_tensor_type(t)\n",
1104
+ "Traceback (most recent call last):\n",
1105
+ " File \"/content/ml-agents/ml-agents/mlagents/trainers/cli_utils.py\", line 322, in load_config\n",
1106
+ " with open(config_path) as data_file:\n",
1107
+ "FileNotFoundError: [Errno 2] No such file or directory: './config/ppo/Huggy.yaml'\n",
1108
+ "\n",
1109
+ "During handling of the above exception, another exception occurred:\n",
1110
+ "\n",
1111
+ "Traceback (most recent call last):\n",
1112
+ " File \"/usr/local/bin/mlagents-learn\", line 33, in <module>\n",
1113
+ " sys.exit(load_entry_point('mlagents', 'console_scripts', 'mlagents-learn')())\n",
1114
+ " File \"/content/ml-agents/ml-agents/mlagents/trainers/learn.py\", line 270, in main\n",
1115
+ " run_cli(parse_command_line())\n",
1116
+ " File \"/content/ml-agents/ml-agents/mlagents/trainers/learn.py\", line 56, in parse_command_line\n",
1117
+ " return RunOptions.from_argparse(args)\n",
1118
+ " File \"/content/ml-agents/ml-agents/mlagents/trainers/settings.py\", line 914, in from_argparse\n",
1119
+ " configured_dict.update(load_config(config_path))\n",
1120
+ " File \"/content/ml-agents/ml-agents/mlagents/trainers/cli_utils.py\", line 326, in load_config\n",
1121
+ " raise TrainerConfigError(f\"Config file could not be found at {abs_path}.\")\n",
1122
+ "mlagents.trainers.exception.TrainerConfigError: Config file could not be found at /content/ml-agents/config/ppo/Huggy.yaml.\n"
1123
+ ]
1124
+ }
1125
+ ]
1126
+ },
1127
+ {
1128
+ "cell_type": "code",
1129
+ "source": [
1130
+ "from huggingface_hub import notebook_login\n",
1131
+ "notebook_login()"
1132
+ ],
1133
+ "metadata": {
1134
+ "colab": {
1135
+ "base_uri": "https://localhost:8080/",
1136
+ "height": 145,
1137
+ "referenced_widgets": [
1138
+ "197637a1275b48778c87e68d500cce76",
1139
+ "6aa5025c6a3449fbb777dbf8a896830b",
1140
+ "2de2db86ac374ab3ae2fca1d31c606a1",
1141
+ "624f416c6b304c69ba8b63b3ed4cf955",
1142
+ "d0bd4bc9686145c2bda27d0e6e63ecae",
1143
+ "cb52c33767e947d98829da69e646481b",
1144
+ "f3d8acdda2bd454f8c48b6d2e22e4090",
1145
+ "fec6dd813d094cde973025117de2ee1a",
1146
+ "466c139d8d884c348947436b31e36839",
1147
+ "4d04e5ea5c244c45ba3f27bbbd5e8453",
1148
+ "a3d4755688b44b41a5093403ac7f26a2",
1149
+ "776502ed96cd4b1894dee5dbb81785ad",
1150
+ "9b1b663a57f947fb9231eab7b7bbaf23",
1151
+ "e4d169f7d68f40bfa63fed62ed4ab071",
1152
+ "3d517e4e38b34656a70057f834a4a067",
1153
+ "05bf1791aa7340aa915fe3e380c3f915",
1154
+ "5ba6d696e13441c0a6d93c2d8fd038a6",
1155
+ "57d2cc22dcd146b28183e6b08fef78e1",
1156
+ "2ba71edaa79b49a1b416e1746020f735",
1157
+ "7ae4176080c3409fa18c041483e570df",
1158
+ "d8d50b4f46354036816a85a836a9ab8c",
1159
+ "28b4548881604ce9aca5b537c9263c32",
1160
+ "ad934b72e93342038b673e7008f6e122",
1161
+ "f0627894670b41969345227831b86b51",
1162
+ "60bbaf772c434ebcb54d5038eb0740f3",
1163
+ "562447ad0a764443aba444de820ca42c",
1164
+ "852ef1d1c2d94cb0ad15b6f3f7c91fe5",
1165
+ "fde506ecac6244f4a305aeffc1beb02a",
1166
+ "6d5645cc58bf46ef9e4f748d928c9fb6",
1167
+ "b81ff80c1ff84119b95f9a15881da7b1",
1168
+ "6638ab7ae7db460aa61485f830bbcd0a",
1169
+ "709c9c0818d344bd9ee729c294306e45"
1170
+ ]
1171
+ },
1172
+ "id": "_SURusNa2lZt",
1173
+ "outputId": "d7012a26-0ad6-4d3f-e08e-6140cfbbf569"
1174
+ },
1175
+ "execution_count": 9,
1176
+ "outputs": [
1177
+ {
1178
+ "output_type": "display_data",
1179
+ "data": {
1180
+ "text/plain": [
1181
+ "VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…"
1182
+ ],
1183
+ "application/vnd.jupyter.widget-view+json": {
1184
+ "version_major": 2,
1185
+ "version_minor": 0,
1186
+ "model_id": "197637a1275b48778c87e68d500cce76"
1187
+ }
1188
+ },
1189
+ "metadata": {}
1190
+ }
1191
+ ]
1192
+ },
1193
+ {
1194
+ "cell_type": "code",
1195
+ "source": [
1196
+ "!mlagents-push-to-hf --run-id=\"HuggyTraining\" --local-dir=\"./results/Huggy\" --repo-id=\"ThomasSimonini/ppo-Huggy\" --commit-message=\"Huggy\""
1197
+ ],
1198
+ "metadata": {
1199
+ "colab": {
1200
+ "base_uri": "https://localhost:8080/"
1201
+ },
1202
+ "id": "D9jXQUft2lku",
1203
+ "outputId": "b609cf38-3aa4-40d0-abe3-7bcfb7cd00ea"
1204
+ },
1205
+ "execution_count": 10,
1206
+ "outputs": [
1207
+ {
1208
+ "output_type": "stream",
1209
+ "name": "stdout",
1210
+ "text": [
1211
+ "[INFO] This function will create a model card and upload your HuggyTraining into HuggingFace Hub. This is a work in progress: If you encounter a bug, please send open an issue\n",
1212
+ "Traceback (most recent call last):\n",
1213
+ " File \"/usr/local/bin/mlagents-push-to-hf\", line 33, in <module>\n",
1214
+ " sys.exit(load_entry_point('mlagents', 'console_scripts', 'mlagents-push-to-hf')())\n",
1215
+ " File \"/content/ml-agents/ml-agents/mlagents/utils/push_to_hf.py\", line 205, in main\n",
1216
+ " package_to_hub(\n",
1217
+ " File \"/content/ml-agents/ml-agents/mlagents/utils/push_to_hf.py\", line 159, in package_to_hub\n",
1218
+ " _generate_config(local_path, configfile_name)\n",
1219
+ " File \"/content/ml-agents/ml-agents/mlagents/utils/push_to_hf.py\", line 29, in _generate_config\n",
1220
+ " with open(os.path.join(local_dir, configfile_name)) as yaml_in:\n",
1221
+ "FileNotFoundError: [Errno 2] No such file or directory: 'results/Huggy/configuration.yaml'\n"
1222
+ ]
1223
+ }
1224
+ ]
1225
+ }
1226
+ ]
1227
+ }