Skip to content

Commit 1639009

Browse files
committed
typo fix
1 parent 8279509 commit 1639009

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lab3/solutions/RL_Solution.ipynb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"colab": {
66
"name": "RL_Solution.ipynb",
77
"provenance": [],
8-
"collapsed_sections": []
8+
"collapsed_sections": [
9+
"jrI6q7RmWQam"
10+
]
911
},
1012
"kernelspec": {
1113
"name": "python3",
@@ -960,7 +962,7 @@
960962
"# Rollout with single batch\r\n",
961963
"single_batch_size = 1\r\n",
962964
"memories = collect_rollout(single_batch_size, env, test_model, choose_action)\r\n",
963-
"rollout_video = mdl.lab3.save_video_of_memory(memories[0], \"CartPole-Random-Agent.mp4\")\r\n",
965+
"rollout_video = mdl.lab3.save_video_of_memory(memories[0], \"Pong-Random-Agent.mp4\")\r\n",
964966
"\r\n",
965967
"# Play back video of memories\r\n",
966968
"mdl.lab3.play_video(rollout_video)"
@@ -1093,8 +1095,8 @@
10931095
},
10941096
"source": [
10951097
"latest_pong = mdl.lab3.save_video_of_model(\n",
1096-
" pong_model, \"Pong-v0\", suffix=\"latest\")\n",
1097-
"mdl.lab3.play_video(latest_pong)"
1098+
" pong_model, \"Pong-v0\", suffix=\"_latest\")\n",
1099+
"mdl.lab3.play_video(latest_pong, width=400)"
10981100
],
10991101
"execution_count": null,
11001102
"outputs": []

0 commit comments

Comments
 (0)