mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-29 11:10:26 +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 only exists in Colab.\n",
|
||||||
" %tensorflow_version 2.x\n",
|
" %tensorflow_version 2.x\n",
|
||||||
" !apt update && apt install -y libpq-dev libsdl2-dev swig xorg-dev xvfb\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",
|
" IS_COLAB = True\n",
|
||||||
"except Exception:\n",
|
"except Exception:\n",
|
||||||
" IS_COLAB = False\n",
|
" IS_COLAB = False\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user