From d8971f17676dc4fd0674f3a6fcde5b64655bc0d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Sat, 12 Oct 2019 18:05:41 +0930 Subject: [PATCH] Fix os.join() => os.path.join() --- 18_reinforcement_learning.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/18_reinforcement_learning.ipynb b/18_reinforcement_learning.ipynb index 1e72747..fde8b2b 100644 --- a/18_reinforcement_learning.ipynb +++ b/18_reinforcement_learning.ipynb @@ -2511,7 +2511,7 @@ "source": [ "import PIL\n", "\n", - "image_path = os.join(\"images\", \"rl\", \"breakout.gif\")\n", + "image_path = os.path.join(\"images\", \"rl\", \"breakout.gif\")\n", "frame_images = [PIL.Image.fromarray(frame) for frame in frames[:150]]\n", "frame_images[0].save(image_path, format='GIF',\n", " append_images=frame_images[1:],\n", @@ -2752,7 +2752,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.8" + "version": "3.7.4" } }, "nbformat": 4,