Skip to content

Commit 7f68613

Browse files
pre-commit-ci[bot]Higgcz
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6f3b303 commit 7f68613

13 files changed

+309
-309
lines changed

examples/notebooks/Brax_Experiments_Visualization.ipynb

+29-29
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "fc7b28eb-db2b-4a02-87d4-dfc44a9fecc2",
5+
"id": "0",
66
"metadata": {},
77
"source": [
88
"# Visualization of the `brax` Experiment Results\n",
@@ -13,7 +13,7 @@
1313
{
1414
"cell_type": "code",
1515
"execution_count": null,
16-
"id": "d5350a77-c84b-4d05-9e1c-4a6e0e2f6d0d",
16+
"id": "1",
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
@@ -24,7 +24,7 @@
2424
{
2525
"cell_type": "code",
2626
"execution_count": null,
27-
"id": "e4c4d0df-0480-4c5f-a4ab-d34727286cc1",
27+
"id": "2",
2828
"metadata": {},
2929
"outputs": [],
3030
"source": [
@@ -34,7 +34,7 @@
3434
},
3535
{
3636
"cell_type": "markdown",
37-
"id": "d64f3d04-680a-43c5-a807-dbaf9f917198",
37+
"id": "3",
3838
"metadata": {},
3939
"source": [
4040
"---"
@@ -43,7 +43,7 @@
4343
{
4444
"cell_type": "code",
4545
"execution_count": null,
46-
"id": "7025f8b3-9982-4196-9790-9e8c1491dc06",
46+
"id": "4",
4747
"metadata": {},
4848
"outputs": [],
4949
"source": [
@@ -55,7 +55,7 @@
5555
{
5656
"cell_type": "code",
5757
"execution_count": null,
58-
"id": "d5bccb74-a64a-4e55-9ae9-9686f772fa60",
58+
"id": "5",
5959
"metadata": {},
6060
"outputs": [],
6161
"source": [
@@ -66,7 +66,7 @@
6666
{
6767
"cell_type": "code",
6868
"execution_count": null,
69-
"id": "0d71c7c3-bb36-47fb-88dc-bd285c54c44a",
69+
"id": "6",
7070
"metadata": {},
7171
"outputs": [],
7272
"source": [
@@ -77,7 +77,7 @@
7777
{
7878
"cell_type": "code",
7979
"execution_count": null,
80-
"id": "54c7bee4-bf5c-445c-b009-40484391461c",
80+
"id": "7",
8181
"metadata": {},
8282
"outputs": [],
8383
"source": [
@@ -89,7 +89,7 @@
8989
{
9090
"cell_type": "code",
9191
"execution_count": null,
92-
"id": "30eca014-be71-4162-b675-0eaf8b037bce",
92+
"id": "8",
9393
"metadata": {},
9494
"outputs": [],
9595
"source": [
@@ -100,7 +100,7 @@
100100
},
101101
{
102102
"cell_type": "markdown",
103-
"id": "78ce1f2f-cb89-432e-ad98-07f7e1d5d457",
103+
"id": "9",
104104
"metadata": {},
105105
"source": [
106106
"Below, we put the values of the center solution into the policy network as parameters:"
@@ -109,7 +109,7 @@
109109
{
110110
"cell_type": "code",
111111
"execution_count": null,
112-
"id": "545d693d-ccd9-4ea7-b068-06b832f32be5",
112+
"id": "10",
113113
"metadata": {},
114114
"outputs": [],
115115
"source": [
@@ -118,7 +118,7 @@
118118
},
119119
{
120120
"cell_type": "markdown",
121-
"id": "e7c7581d-24ba-4f06-88e2-41bb3274cd37",
121+
"id": "11",
122122
"metadata": {},
123123
"source": [
124124
"---\n",
@@ -131,7 +131,7 @@
131131
{
132132
"cell_type": "code",
133133
"execution_count": null,
134-
"id": "8d798a71-003f-4bed-9f12-391dc7b797c0",
134+
"id": "12",
135135
"metadata": {},
136136
"outputs": [],
137137
"source": [
@@ -143,7 +143,7 @@
143143
{
144144
"cell_type": "code",
145145
"execution_count": null,
146-
"id": "30080d4b-227c-4bde-8009-7a97c6e177f1",
146+
"id": "13",
147147
"metadata": {},
148148
"outputs": [],
149149
"source": [
@@ -153,7 +153,7 @@
153153
{
154154
"cell_type": "code",
155155
"execution_count": null,
156-
"id": "c64a6482-0533-40c8-b8f9-1b1ad3ee0019",
156+
"id": "14",
157157
"metadata": {},
158158
"outputs": [],
159159
"source": [
@@ -163,7 +163,7 @@
163163
{
164164
"cell_type": "code",
165165
"execution_count": null,
166-
"id": "ee69ba99-bcb7-4d21-9f5c-6c330cb3ed96",
166+
"id": "15",
167167
"metadata": {},
168168
"outputs": [],
169169
"source": [
@@ -183,7 +183,7 @@
183183
{
184184
"cell_type": "code",
185185
"execution_count": null,
186-
"id": "c99f0ea4-7638-4e8a-a0a2-d9f483c8c096",
186+
"id": "16",
187187
"metadata": {},
188188
"outputs": [],
189189
"source": [
@@ -194,7 +194,7 @@
194194
},
195195
{
196196
"cell_type": "markdown",
197-
"id": "19d38fe1-9d6f-40ec-926d-3c4066a4b66a",
197+
"id": "17",
198198
"metadata": {},
199199
"source": [
200200
"Below, we define a utility function named `use_policy(...)`.\n",
@@ -214,7 +214,7 @@
214214
{
215215
"cell_type": "code",
216216
"execution_count": null,
217-
"id": "e8c6554d-4bdb-49b9-8c2e-956bce6ddb8a",
217+
"id": "18",
218218
"metadata": {},
219219
"outputs": [],
220220
"source": [
@@ -238,7 +238,7 @@
238238
},
239239
{
240240
"cell_type": "markdown",
241-
"id": "28c044fe-4639-411c-be78-ac09cbe5e78f",
241+
"id": "19",
242242
"metadata": {},
243243
"source": [
244244
"We now initialize a new instance of our brax environment, and trigger the jit compilation on its `reset` and `step` methods."
@@ -247,7 +247,7 @@
247247
{
248248
"cell_type": "code",
249249
"execution_count": null,
250-
"id": "c1251e82-1d0f-4e43-a6c5-1ec4c0275dab",
250+
"id": "20",
251251
"metadata": {},
252252
"outputs": [],
253253
"source": [
@@ -258,7 +258,7 @@
258258
},
259259
{
260260
"cell_type": "markdown",
261-
"id": "55229cc2-aad5-4c78-b095-010a538adb40",
261+
"id": "21",
262262
"metadata": {},
263263
"source": [
264264
"Below we run our policy and collect the states of the episodes."
@@ -267,7 +267,7 @@
267267
{
268268
"cell_type": "code",
269269
"execution_count": null,
270-
"id": "220ec837-1d1a-401e-a144-5516bdb3e493",
270+
"id": "22",
271271
"metadata": {},
272272
"outputs": [],
273273
"source": [
@@ -291,7 +291,7 @@
291291
},
292292
{
293293
"cell_type": "markdown",
294-
"id": "c9bbe53a-40f5-4bf5-a063-47f1d88032d6",
294+
"id": "23",
295295
"metadata": {},
296296
"source": [
297297
"Length of the episode and the total reward:"
@@ -300,7 +300,7 @@
300300
{
301301
"cell_type": "code",
302302
"execution_count": null,
303-
"id": "80345e9c-0694-413d-81c2-205dfacdfb5a",
303+
"id": "24",
304304
"metadata": {},
305305
"outputs": [],
306306
"source": [
@@ -310,7 +310,7 @@
310310
{
311311
"cell_type": "code",
312312
"execution_count": null,
313-
"id": "8d2e2506-5bb2-4b1f-bb00-004465008fa3",
313+
"id": "25",
314314
"metadata": {},
315315
"outputs": [],
316316
"source": [
@@ -325,7 +325,7 @@
325325
},
326326
{
327327
"cell_type": "markdown",
328-
"id": "8b6ec424-e6cc-453a-93fd-eb07e44c1bd6",
328+
"id": "26",
329329
"metadata": {},
330330
"source": [
331331
"Visualization of the policy:"
@@ -334,7 +334,7 @@
334334
{
335335
"cell_type": "code",
336336
"execution_count": null,
337-
"id": "29b9c3aa-8068-40bc-9ec2-e5ff759ed22c",
337+
"id": "27",
338338
"metadata": {},
339339
"outputs": [],
340340
"source": [
@@ -349,7 +349,7 @@
349349
{
350350
"cell_type": "code",
351351
"execution_count": null,
352-
"id": "b50e36a7-dd33-4fc3-9f9d-2d7dca93110b",
352+
"id": "28",
353353
"metadata": {},
354354
"outputs": [],
355355
"source": [

0 commit comments

Comments
 (0)