Skip to content

Commit

Permalink
Merge branch 'develop' into feature/upgrade-docker-and-python
Browse files Browse the repository at this point in the history
  • Loading branch information
KaleabTessera authored Jan 10, 2023
2 parents 2c99283 + 31891b2 commit 54f807d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
28 changes: 19 additions & 9 deletions examples/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,25 @@
"source": [
"%%capture\n",
"#@title Install required packages. (Run Cell)\n",
"! rm -r ./Mava\n",
"! git clone https://github.com/instadeepai/Mava.git\n",
"!pip install ./Mava[reverb,jax,launchpad,envs]\n",
"\n",
"# Installs for agent visualisation.\n",
"!pip install ./Mava[record_episode]\n",
"! apt-get update -y && apt-get install -y xvfb && apt-get install -y python-opengl && apt-get install ffmpeg && pip install pyvirtualdisplay \n",
"# Google colab has an old version of cloudpickle - issue with lp. \n",
"!pip install cloudpickle -U"
"# Fix common bug in installing 'box-2d'\n",
"!apt-get install swig\n",
"\n",
"# Get Mava\n",
"%pip install \"id-mava[reverb,jax,envs] @ git+https://github.com/instadeepai/mava.git\"\n",
"\n",
"# Visualisation stuff\n",
"!apt-get update -y && apt-get install -y xvfb && apt-get install -y python-opengl && apt-get install ffmpeg && pip install pyvirtualdisplay \n",
"\n",
"# Colab has an old version of cloudpickle\n",
"%pip install cloudpickle -U"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"At this point, it is necessary to restart the runtime. On the top menu, click `Runtime -> Restart runtime`. Alternatively, use the shortcut, `⌘/Ctrl + M .`"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"absl-py",
"dm_env",
"dm-tree",
"numpy",
"numpy==1.22.4",
"pillow",
"matplotlib",
"dataclasses",
Expand Down

0 comments on commit 54f807d

Please sign in to comment.