From 90e53af92c80faaa14eeb64ca6715a03ce94a7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Sat, 20 Mar 2021 10:46:02 +1300 Subject: [PATCH] Install gym[box2d] on Colab for LunarLander-v2 policy gradients exercise solution --- 18_reinforcement_learning.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/18_reinforcement_learning.ipynb b/18_reinforcement_learning.ipynb index fe276a1..10e07b6 100644 --- a/18_reinforcement_learning.ipynb +++ b/18_reinforcement_learning.ipynb @@ -57,7 +57,7 @@ " # %tensorflow_version only exists in Colab.\n", " %tensorflow_version 2.x\n", " !apt update && apt install -y libpq-dev libsdl2-dev swig xorg-dev xvfb\n", - " !pip install -q -U tf-agents pyvirtualdisplay gym[atari]\n", + " !pip install -q -U tf-agents pyvirtualdisplay gym[atari,box2d]\n", " IS_COLAB = True\n", "except Exception:\n", " IS_COLAB = False\n",