Install gym[box2d] on Colab for LunarLander-v2 policy gradients exercise solution
parent
9af016e341
commit
90e53af92c
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue