mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Install gym[box2d] on Colab for LunarLander-v2 policy gradients exercise solution
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user