Loading

The Neural-MMO Challenge

Getting Started

This notebook walks you through installing dependencies and helps you make your first submission

siddhartha

Getting started

Clone Starter Kit and Install Dependencies

In [1]:
!git clone https://gitlab.aicrowd.com/neural-mmo/neural-mmo-starter-kit
!pip install neural-mmo

#Optional: Install ML dependencies
!pip install -U -r neural-mmo-starter-kit/requirements.txt
Cloning into 'neural-mmo-starter-kit'...
warning: redirecting to https://gitlab.aicrowd.com/neural-mmo/neural-mmo-starter-kit.git/
remote: Enumerating objects: 414, done.
remote: Counting objects: 100% (414/414), done.
remote: Compressing objects: 100% (228/228), done.
remote: Total 414 (delta 177), reused 375 (delta 154), pack-reused 0
Receiving objects: 100% (414/414), 6.94 MiB | 3.30 MiB/s, done.
Resolving deltas: 100% (177/177), done.
Collecting neural-mmo
  Downloading https://files.pythonhosted.org/packages/5b/69/13601289f95908d56b4d15caf42410e7cf3a27cc2fbbf21f0ed073461fa0/neural_mmo-1.5.1.2-py3-none-any.whl (125kB)
     |████████████████████████████████| 133kB 4.1MB/s 
Collecting Twisted==19.2.0
  Downloading https://files.pythonhosted.org/packages/f8/2b/a80a70f71eb2b86992ffa5aaae41457791ae67faa70927fd16b76127c2b7/Twisted-19.2.0.tar.bz2 (3.1MB)
     |████████████████████████████████| 3.1MB 36.3MB/s 
Collecting gym==0.17.2
  Downloading https://files.pythonhosted.org/packages/b3/99/7cc3e510678119cdac91f33fb9235b98448f09a6bdf0cafea2b108d9ce51/gym-0.17.2.tar.gz (1.6MB)
     |████████████████████████████████| 1.6MB 35.8MB/s 
Collecting sphinx-rtd-theme==0.5.1
  Downloading https://files.pythonhosted.org/packages/76/81/d5af3a50a45ee4311ac2dac5b599d69f68388401c7a4ca902e0e450a9f94/sphinx_rtd_theme-0.5.1-py2.py3-none-any.whl (2.8MB)
     |████████████████████████████████| 2.8MB 37.0MB/s 
Collecting matplotlib==3.1.3
  Downloading https://files.pythonhosted.org/packages/4c/9b/35ab3469fd1509f7636a344940569ebfd33239673fd2318e80b4700a257c/matplotlib-3.1.3-cp37-cp37m-manylinux1_x86_64.whl (13.1MB)
     |████████████████████████████████| 13.1MB 48.2MB/s 
Collecting vec-noise==1.1.4
  Downloading https://files.pythonhosted.org/packages/65/0f/11ca3df43ace7f9cdb1aeed855879331a53203c643f90da1cf711e6ab296/vec_noise-1.1.4.zip (134kB)
     |████████████████████████████████| 143kB 57.6MB/s 
Collecting fire==0.4.0
  Downloading https://files.pythonhosted.org/packages/11/07/a119a1aa04d37bc819940d95ed7e135a7dcca1c098123a3764a6dcace9e7/fire-0.4.0.tar.gz (87kB)
     |████████████████████████████████| 92kB 10.6MB/s 
Collecting setproctitle==1.1.10
  Downloading https://files.pythonhosted.org/packages/5a/0d/dc0d2234aacba6cf1a729964383e3452c52096dc695581248b548786f2b3/setproctitle-1.1.10.tar.gz
Collecting bokeh==2.2.3
  Downloading https://files.pythonhosted.org/packages/88/20/f67d851da06f0f9358ae4e62296e76fefafaa1a5991f1c69496a83ee09ab/bokeh-2.2.3.tar.gz (8.8MB)
     |████████████████████████████████| 8.9MB 19.8MB/s 
Collecting tqdm==4.61.1
  Downloading https://files.pythonhosted.org/packages/b4/20/9f1e974bb4761128fc0d0a32813eaa92827309b1756c4b892d28adfb4415/tqdm-4.61.1-py2.py3-none-any.whl (75kB)
     |████████████████████████████████| 81kB 7.7MB/s 
Collecting autobahn==19.3.3
  Downloading https://files.pythonhosted.org/packages/9a/47/229e88fb7fc51b0ddbf7d6eca471dde206775e2f73938590fe89af011fe4/autobahn-19.3.3-py2.py3-none-any.whl (389kB)
     |████████████████████████████████| 399kB 40.0MB/s 
Collecting imageio==2.8.0
  Downloading https://files.pythonhosted.org/packages/4c/2b/9dd19644f871b10f7e32eb2dbd6b45149c350b4d5f2893e091b882e03ab7/imageio-2.8.0-py3-none-any.whl (3.3MB)
     |████████████████████████████████| 3.3MB 29.3MB/s 
Collecting zope.interface>=4.4.2
  Downloading https://files.pythonhosted.org/packages/bb/a7/94e1a92c71436f934cdd2102826fa041c83dcb7d21dd0f1fb1a57f6e0620/zope.interface-5.4.0-cp37-cp37m-manylinux2010_x86_64.whl (251kB)
     |████████████████████████████████| 256kB 56.8MB/s 
Collecting constantly>=15.1
  Downloading https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
Collecting incremental>=16.10.1
  Using cached https://files.pythonhosted.org/packages/99/3b/4f80dd10cb716f3a9e22ae88f026d25c47cc3fdf82c2747f3d59c98e4ff1/incremental-21.3.0-py2.py3-none-any.whl
Collecting Automat>=0.3.0
  Downloading https://files.pythonhosted.org/packages/dd/83/5f6f3c1a562674d65efc320257bdc0873ec53147835aeef7762fe7585273/Automat-20.2.0-py2.py3-none-any.whl
Collecting hyperlink>=17.1.1
  Downloading https://files.pythonhosted.org/packages/6e/aa/8caf6a0a3e62863cbb9dab27135660acba46903b703e224f14f447e57934/hyperlink-21.0.0-py2.py3-none-any.whl (74kB)
     |████████████████████████████████| 81kB 9.8MB/s 
Collecting PyHamcrest>=1.9.0
  Downloading https://files.pythonhosted.org/packages/40/16/e54cc65891f01cb62893540f44ffd3e8dab0a22443e1b438f1a9f5574bee/PyHamcrest-2.0.2-py3-none-any.whl (52kB)
     |████████████████████████████████| 61kB 8.4MB/s 
Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.7/dist-packages (from Twisted==19.2.0->neural-mmo) (21.2.0)
Requirement already satisfied: scipy in /usr/local/lib/python3.7/dist-packages (from gym==0.17.2->neural-mmo) (1.4.1)
Requirement already satisfied: numpy>=1.10.4 in /usr/local/lib/python3.7/dist-packages (from gym==0.17.2->neural-mmo) (1.19.5)
Requirement already satisfied: pyglet<=1.5.0,>=1.4.0 in /usr/local/lib/python3.7/dist-packages (from gym==0.17.2->neural-mmo) (1.5.0)
Requirement already satisfied: cloudpickle<1.4.0,>=1.2.0 in /usr/local/lib/python3.7/dist-packages (from gym==0.17.2->neural-mmo) (1.3.0)
Requirement already satisfied: sphinx in /usr/local/lib/python3.7/dist-packages (from sphinx-rtd-theme==0.5.1->neural-mmo) (1.8.5)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib==3.1.3->neural-mmo) (2.4.7)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/dist-packages (from matplotlib==3.1.3->neural-mmo) (0.10.0)
Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib==3.1.3->neural-mmo) (2.8.1)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib==3.1.3->neural-mmo) (1.3.1)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from fire==0.4.0->neural-mmo) (1.15.0)
Requirement already satisfied: termcolor in /usr/local/lib/python3.7/dist-packages (from fire==0.4.0->neural-mmo) (1.1.0)
Requirement already satisfied: PyYAML>=3.10 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo) (3.13)
Requirement already satisfied: Jinja2>=2.7 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo) (2.11.3)
Requirement already satisfied: pillow>=7.1.0 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo) (7.1.2)
Requirement already satisfied: packaging>=16.8 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo) (20.9)
Requirement already satisfied: tornado>=5.1 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo) (5.1.1)
Requirement already satisfied: typing_extensions>=3.7.4 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo) (3.7.4.3)
Collecting txaio>=18.8.1
  Downloading https://files.pythonhosted.org/packages/55/53/c9b89497ba46395bbf84a8c511550626cc5c507c0b76680df54435553e53/txaio-21.2.1-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (from zope.interface>=4.4.2->Twisted==19.2.0->neural-mmo) (57.0.0)
Requirement already satisfied: idna>=2.5 in /usr/local/lib/python3.7/dist-packages (from hyperlink>=17.1.1->Twisted==19.2.0->neural-mmo) (2.10)
Requirement already satisfied: future in /usr/local/lib/python3.7/dist-packages (from pyglet<=1.5.0,>=1.4.0->gym==0.17.2->neural-mmo) (0.16.0)
Requirement already satisfied: docutils>=0.11 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (0.17.1)
Requirement already satisfied: babel!=2.0,>=1.3 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (2.9.1)
Requirement already satisfied: alabaster<0.8,>=0.7 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (0.7.12)
Requirement already satisfied: sphinxcontrib-websupport in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (1.2.4)
Requirement already satisfied: Pygments>=2.0 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (2.6.1)
Requirement already satisfied: requests>=2.0.0 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (2.23.0)
Requirement already satisfied: imagesize in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (1.2.0)
Requirement already satisfied: snowballstemmer>=1.1 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (2.1.0)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.7/dist-packages (from Jinja2>=2.7->bokeh==2.2.3->neural-mmo) (2.0.1)
Requirement already satisfied: pytz>=2015.7 in /usr/local/lib/python3.7/dist-packages (from babel!=2.0,>=1.3->sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (2018.9)
Requirement already satisfied: sphinxcontrib-serializinghtml in /usr/local/lib/python3.7/dist-packages (from sphinxcontrib-websupport->sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (1.1.5)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests>=2.0.0->sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (2021.5.30)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests>=2.0.0->sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests>=2.0.0->sphinx->sphinx-rtd-theme==0.5.1->neural-mmo) (1.24.3)
Building wheels for collected packages: Twisted, gym, vec-noise, fire, setproctitle, bokeh
  Building wheel for Twisted (setup.py) ... done
  Created wheel for Twisted: filename=Twisted-19.2.0-cp37-cp37m-linux_x86_64.whl size=3045098 sha256=0574eb12482b077c8be660a0f69bdaa05d155dd0274b60a3e52fd81a39d7dc1b
  Stored in directory: /root/.cache/pip/wheels/57/c0/6c/874eb1b6a5ab9ac5434ab9d2700cf78fed3c151ea33cf668af
  Building wheel for gym (setup.py) ... done
  Created wheel for gym: filename=gym-0.17.2-cp37-none-any.whl size=1650888 sha256=00859d06895f16884315d961efe2e426a21a0712ff0eec4788e09b16f364596f
  Stored in directory: /root/.cache/pip/wheels/87/e0/91/f56e44e8062f8cd549673da49f59e1d4fe8b17398119b1d221
  Building wheel for vec-noise (setup.py) ... done
  Created wheel for vec-noise: filename=vec_noise-1.1.4-cp37-cp37m-linux_x86_64.whl size=80614 sha256=4f673fb4cc386ab02553dba30d79732fd83608745b1fcc570f7df88974cfd273
  Stored in directory: /root/.cache/pip/wheels/88/be/73/91f183f94eade0fd7af297aadca45eab50edc395ef36af48f7
  Building wheel for fire (setup.py) ... done
  Created wheel for fire: filename=fire-0.4.0-py2.py3-none-any.whl size=115943 sha256=1cf97c9c2ceaabcc1aa1d9759316e6659aaf4a96045047144ec83a1f23ee1132
  Stored in directory: /root/.cache/pip/wheels/af/19/30/1ea0cad502dcb4e66ed5a690279628c827aea38bbbab75d5ed
  Building wheel for setproctitle (setup.py) ... done
  Created wheel for setproctitle: filename=setproctitle-1.1.10-cp37-cp37m-linux_x86_64.whl size=35180 sha256=aa6dc56e9f7cd849573e3e48a037a40de6af0d729e40ec130bad4b4d68f5aa4e
  Stored in directory: /root/.cache/pip/wheels/e6/b1/a6/9719530228e258eba904501fef99d5d85c80d52bd8f14438a3
  Building wheel for bokeh (setup.py) ... done
  Created wheel for bokeh: filename=bokeh-2.2.3-cp37-none-any.whl size=9296320 sha256=eca670440b31ab0ca8c1deeb47a4657bb5a2c54de4d8d524f6f1f8d84b66ffda
  Stored in directory: /root/.cache/pip/wheels/dc/96/7b/9c9d48ed392511bc708e39580e18dc7a92f475795cd26b51bf
Successfully built Twisted gym vec-noise fire setproctitle bokeh
ERROR: panel 0.11.3 has requirement bokeh<2.4.0,>=2.3.0, but you'll have bokeh 2.2.3 which is incompatible.
ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.
Installing collected packages: zope.interface, constantly, incremental, Automat, hyperlink, PyHamcrest, Twisted, gym, sphinx-rtd-theme, matplotlib, vec-noise, fire, setproctitle, bokeh, tqdm, txaio, autobahn, imageio, neural-mmo
  Found existing installation: gym 0.17.3
    Uninstalling gym-0.17.3:
      Successfully uninstalled gym-0.17.3
  Found existing installation: matplotlib 3.2.2
    Uninstalling matplotlib-3.2.2:
      Successfully uninstalled matplotlib-3.2.2
  Found existing installation: bokeh 2.3.2
    Uninstalling bokeh-2.3.2:
      Successfully uninstalled bokeh-2.3.2
  Found existing installation: tqdm 4.41.1
    Uninstalling tqdm-4.41.1:
      Successfully uninstalled tqdm-4.41.1
  Found existing installation: imageio 2.4.1
    Uninstalling imageio-2.4.1:
      Successfully uninstalled imageio-2.4.1
Successfully installed Automat-20.2.0 PyHamcrest-2.0.2 Twisted-19.2.0 autobahn-19.3.3 bokeh-2.2.3 constantly-15.1.0 fire-0.4.0 gym-0.17.2 hyperlink-21.0.0 imageio-2.8.0 incremental-21.3.0 matplotlib-3.1.3 neural-mmo-1.5.1.2 setproctitle-1.1.10 sphinx-rtd-theme-0.5.1 tqdm-4.61.1 txaio-21.2.1 vec-noise-1.1.4 zope.interface-5.4.0
Collecting flexdict
  Downloading https://files.pythonhosted.org/packages/ef/57/fa2542fa85ae52cc2c88dd4e93139960dc9dfac4112b6105272175da5048/flexdict-0.0.1a1-py2.py3-none-any.whl
Requirement already up-to-date: neural-mmo[rllib] in /usr/local/lib/python3.7/dist-packages (from -r neural-mmo-starter-kit/requirements.txt (line 2)) (1.5.1.2)
Requirement already satisfied, skipping upgrade: Twisted==19.2.0 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (19.2.0)
Requirement already satisfied, skipping upgrade: gym==0.17.2 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.17.2)
Requirement already satisfied, skipping upgrade: fire==0.4.0 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.4.0)
Requirement already satisfied, skipping upgrade: bokeh==2.2.3 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.2.3)
Requirement already satisfied, skipping upgrade: imageio==2.8.0 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.8.0)
Requirement already satisfied, skipping upgrade: sphinx-rtd-theme==0.5.1 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.5.1)
Requirement already satisfied, skipping upgrade: setproctitle==1.1.10 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.1.10)
Requirement already satisfied, skipping upgrade: tqdm==4.61.1 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (4.61.1)
Requirement already satisfied, skipping upgrade: matplotlib==3.1.3 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (3.1.3)
Requirement already satisfied, skipping upgrade: vec-noise==1.1.4 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.1.4)
Requirement already satisfied, skipping upgrade: autobahn==19.3.3 in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (19.3.3)
Collecting dm-tree==0.1.5; extra == "rllib"
  Downloading https://files.pythonhosted.org/packages/6b/d9/6d88e8d32bb454c4ef8f50c62714b0eb20170f4c1d2cd316e0d99755405e/dm_tree-0.1.5-cp37-cp37m-manylinux1_x86_64.whl (294kB)
     |████████████████████████████████| 296kB 5.4MB/s 
Collecting ray[rllib]==1.4.0; extra == "rllib"
  Downloading https://files.pythonhosted.org/packages/5c/7a/34d018cc6a72b0dd42c6d9fad5fb34c8cc2140a785450bed201d4b2f3427/ray-1.4.0-cp37-cp37m-manylinux2014_x86_64.whl (49.4MB)
     |████████████████████████████████| 49.4MB 144kB/s 
Requirement already satisfied, skipping upgrade: torch; extra == "rllib" in /usr/local/lib/python3.7/dist-packages (from neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.9.0+cu102)
Collecting tensorflow==2.4.1; extra == "rllib"
  Downloading https://files.pythonhosted.org/packages/70/dc/e8c5e7983866fa4ef3fd619faa35f660b95b01a2ab62b3884f038ccab542/tensorflow-2.4.1-cp37-cp37m-manylinux2010_x86_64.whl (394.3MB)
     |████████████████████████████████| 394.3MB 36kB/s 
Requirement already satisfied, skipping upgrade: constantly>=15.1 in /usr/local/lib/python3.7/dist-packages (from Twisted==19.2.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (15.1.0)
Requirement already satisfied, skipping upgrade: attrs>=17.4.0 in /usr/local/lib/python3.7/dist-packages (from Twisted==19.2.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (21.2.0)
Requirement already satisfied, skipping upgrade: incremental>=16.10.1 in /usr/local/lib/python3.7/dist-packages (from Twisted==19.2.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (21.3.0)
Requirement already satisfied, skipping upgrade: hyperlink>=17.1.1 in /usr/local/lib/python3.7/dist-packages (from Twisted==19.2.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (21.0.0)
Requirement already satisfied, skipping upgrade: Automat>=0.3.0 in /usr/local/lib/python3.7/dist-packages (from Twisted==19.2.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (20.2.0)
Requirement already satisfied, skipping upgrade: zope.interface>=4.4.2 in /usr/local/lib/python3.7/dist-packages (from Twisted==19.2.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (5.4.0)
Requirement already satisfied, skipping upgrade: PyHamcrest>=1.9.0 in /usr/local/lib/python3.7/dist-packages (from Twisted==19.2.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.0.2)
Requirement already satisfied, skipping upgrade: pyglet<=1.5.0,>=1.4.0 in /usr/local/lib/python3.7/dist-packages (from gym==0.17.2->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.5.0)
Requirement already satisfied, skipping upgrade: scipy in /usr/local/lib/python3.7/dist-packages (from gym==0.17.2->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.4.1)
Requirement already satisfied, skipping upgrade: cloudpickle<1.4.0,>=1.2.0 in /usr/local/lib/python3.7/dist-packages (from gym==0.17.2->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.3.0)
Requirement already satisfied, skipping upgrade: numpy>=1.10.4 in /usr/local/lib/python3.7/dist-packages (from gym==0.17.2->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.19.5)
Requirement already satisfied, skipping upgrade: termcolor in /usr/local/lib/python3.7/dist-packages (from fire==0.4.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.1.0)
Requirement already satisfied, skipping upgrade: six in /usr/local/lib/python3.7/dist-packages (from fire==0.4.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.15.0)
Requirement already satisfied, skipping upgrade: PyYAML>=3.10 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (3.13)
Requirement already satisfied, skipping upgrade: pillow>=7.1.0 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (7.1.2)
Requirement already satisfied, skipping upgrade: Jinja2>=2.7 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.11.3)
Requirement already satisfied, skipping upgrade: tornado>=5.1 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (5.1.1)
Requirement already satisfied, skipping upgrade: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (3.7.4.3)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.1 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.8.1)
Requirement already satisfied, skipping upgrade: packaging>=16.8 in /usr/local/lib/python3.7/dist-packages (from bokeh==2.2.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (20.9)
Requirement already satisfied, skipping upgrade: sphinx in /usr/local/lib/python3.7/dist-packages (from sphinx-rtd-theme==0.5.1->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.8.5)
Requirement already satisfied, skipping upgrade: cycler>=0.10 in /usr/local/lib/python3.7/dist-packages (from matplotlib==3.1.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.10.0)
Requirement already satisfied, skipping upgrade: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib==3.1.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.4.7)
Requirement already satisfied, skipping upgrade: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib==3.1.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.3.1)
Requirement already satisfied, skipping upgrade: txaio>=18.8.1 in /usr/local/lib/python3.7/dist-packages (from autobahn==19.3.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (21.2.1)
Requirement already satisfied, skipping upgrade: filelock in /usr/local/lib/python3.7/dist-packages (from ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (3.0.12)
Collecting py-spy>=0.2.0
  Downloading https://files.pythonhosted.org/packages/9d/4d/1a9cbe9a0b543e6733cb38afe26451522a9ef8e4897b59e74cc76838f245/py_spy-0.3.7-py2.py3-none-manylinux1_x86_64.whl (3.1MB)
     |████████████████████████████████| 3.1MB 39.9MB/s 
Requirement already satisfied, skipping upgrade: click>=7.0 in /usr/local/lib/python3.7/dist-packages (from ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (7.1.2)
Requirement already satisfied, skipping upgrade: prometheus-client>=0.7.1 in /usr/local/lib/python3.7/dist-packages (from ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.11.0)
Collecting aiohttp
  Downloading https://files.pythonhosted.org/packages/88/c0/5890b4c8b04a79b7360e8fe4490feb0bb3ab179743f199f0e6220cebd568/aiohttp-3.7.4.post0-cp37-cp37m-manylinux2014_x86_64.whl (1.3MB)
     |████████████████████████████████| 1.3MB 39.2MB/s 
Requirement already satisfied, skipping upgrade: jsonschema in /usr/local/lib/python3.7/dist-packages (from ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.6.0)
Collecting gpustat
  Downloading https://files.pythonhosted.org/packages/b4/69/d8c849715171aeabd61af7da080fdc60948b5a396d2422f1f4672e43d008/gpustat-0.6.0.tar.gz (78kB)
     |████████████████████████████████| 81kB 9.0MB/s 
Requirement already satisfied, skipping upgrade: requests in /usr/local/lib/python3.7/dist-packages (from ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.23.0)
Requirement already satisfied, skipping upgrade: msgpack<2.0.0,>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.0.2)
Requirement already satisfied, skipping upgrade: grpcio>=1.28.1 in /usr/local/lib/python3.7/dist-packages (from ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.34.1)
Collecting pydantic>=1.8
  Downloading https://files.pythonhosted.org/packages/9f/f2/2d5425efe57f6c4e06cbe5e587c1fd16929dcf0eb90bd4d3d1e1c97d1151/pydantic-1.8.2-cp37-cp37m-manylinux2014_x86_64.whl (10.1MB)
     |████████████████████████████████| 10.1MB 29.6MB/s 
Collecting aioredis
  Downloading https://files.pythonhosted.org/packages/b0/64/1b1612d0a104f21f80eb4c6e1b6075f2e6aba8e228f46f229cfd3fdac859/aioredis-1.3.1-py3-none-any.whl (65kB)
     |████████████████████████████████| 71kB 8.5MB/s 
Collecting aiohttp-cors
  Downloading https://files.pythonhosted.org/packages/13/e7/e436a0c0eb5127d8b491a9b83ecd2391c6ff7dcd5548dfaec2080a2340fd/aiohttp_cors-0.7.0-py3-none-any.whl
Collecting opencensus
  Downloading https://files.pythonhosted.org/packages/18/59/12044123133d000f705383ad98579aeb0dd82d66b33a254a21b54bf0d6bb/opencensus-0.7.13-py2.py3-none-any.whl (127kB)
     |████████████████████████████████| 133kB 46.6MB/s 
Collecting protobuf>=3.15.3
  Downloading https://files.pythonhosted.org/packages/4c/53/ddcef00219f2a3c863b24288e24a20c3070bd086a1e77706f22994a7f6db/protobuf-3.17.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0MB)
     |████████████████████████████████| 1.0MB 37.7MB/s 
Collecting redis>=3.5.0
  Downloading https://files.pythonhosted.org/packages/a7/7c/24fb0511df653cf1a5d938d8f5d19802a88cef255706fdda242ff97e91b7/redis-3.5.3-py2.py3-none-any.whl (72kB)
     |████████████████████████████████| 81kB 9.5MB/s 
Collecting colorama
  Downloading https://files.pythonhosted.org/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: pandas; extra == "rllib" in /usr/local/lib/python3.7/dist-packages (from ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.1.5)
Collecting opencv-python-headless<=4.3.0.36; extra == "rllib"
  Downloading https://files.pythonhosted.org/packages/78/45/9404a1d37bc975555005083ee166e267d4a406c22fccff1a0799433c4083/opencv_python_headless-4.3.0.36-cp37-cp37m-manylinux2014_x86_64.whl (36.4MB)
     |████████████████████████████████| 36.4MB 1.3MB/s 
Requirement already satisfied, skipping upgrade: tabulate; extra == "rllib" in /usr/local/lib/python3.7/dist-packages (from ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.8.9)
Collecting lz4; extra == "rllib"
  Downloading https://files.pythonhosted.org/packages/e3/52/151c815a486290608e4dc6699a0cfd74141dc5191f8fe928e7d1b28b569e/lz4-3.1.3-cp37-cp37m-manylinux2010_x86_64.whl (1.8MB)
     |████████████████████████████████| 1.8MB 35.3MB/s 
Collecting tensorboardX; extra == "rllib"
  Downloading https://files.pythonhosted.org/packages/99/0b/a26bbe92667c549d39c40b80c5ddec638fbae9521f04aeef26560e07e504/tensorboardX-2.4-py2.py3-none-any.whl (124kB)
     |████████████████████████████████| 133kB 44.5MB/s 
Requirement already satisfied, skipping upgrade: astunparse~=1.6.3 in /usr/local/lib/python3.7/dist-packages (from tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.6.3)
Collecting gast==0.3.3
  Downloading https://files.pythonhosted.org/packages/d6/84/759f5dd23fec8ba71952d97bcc7e2c9d7d63bdc582421f3cd4be845f0c98/gast-0.3.3-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: wheel~=0.35 in /usr/local/lib/python3.7/dist-packages (from tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.36.2)
Requirement already satisfied, skipping upgrade: absl-py~=0.10 in /usr/local/lib/python3.7/dist-packages (from tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.12.0)
Collecting tensorflow-estimator<2.5.0,>=2.4.0
  Downloading https://files.pythonhosted.org/packages/74/7e/622d9849abf3afb81e482ffc170758742e392ee129ce1540611199a59237/tensorflow_estimator-2.4.0-py2.py3-none-any.whl (462kB)
     |████████████████████████████████| 471kB 35.0MB/s 
Requirement already satisfied, skipping upgrade: google-pasta~=0.2 in /usr/local/lib/python3.7/dist-packages (from tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.2.0)
Collecting h5py~=2.10.0
  Downloading https://files.pythonhosted.org/packages/3f/c0/abde58b837e066bca19a3f7332d9d0493521d7dd6b48248451a9e3fe2214/h5py-2.10.0-cp37-cp37m-manylinux1_x86_64.whl (2.9MB)
     |████████████████████████████████| 2.9MB 39.8MB/s 
Requirement already satisfied, skipping upgrade: tensorboard~=2.4 in /usr/local/lib/python3.7/dist-packages (from tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.5.0)
Requirement already satisfied, skipping upgrade: keras-preprocessing~=1.1.2 in /usr/local/lib/python3.7/dist-packages (from tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.1.2)
Requirement already satisfied, skipping upgrade: flatbuffers~=1.12.0 in /usr/local/lib/python3.7/dist-packages (from tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.12)
Requirement already satisfied, skipping upgrade: opt-einsum~=3.3.0 in /usr/local/lib/python3.7/dist-packages (from tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (3.3.0)
Requirement already satisfied, skipping upgrade: wrapt~=1.12.1 in /usr/local/lib/python3.7/dist-packages (from tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.12.1)
Requirement already satisfied, skipping upgrade: idna>=2.5 in /usr/local/lib/python3.7/dist-packages (from hyperlink>=17.1.1->Twisted==19.2.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.10)
Requirement already satisfied, skipping upgrade: setuptools in /usr/local/lib/python3.7/dist-packages (from zope.interface>=4.4.2->Twisted==19.2.0->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (57.0.0)
Requirement already satisfied, skipping upgrade: future in /usr/local/lib/python3.7/dist-packages (from pyglet<=1.5.0,>=1.4.0->gym==0.17.2->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.16.0)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /usr/local/lib/python3.7/dist-packages (from Jinja2>=2.7->bokeh==2.2.3->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.0.1)
Requirement already satisfied, skipping upgrade: snowballstemmer>=1.1 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.1.0)
Requirement already satisfied, skipping upgrade: imagesize in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.2.0)
Requirement already satisfied, skipping upgrade: babel!=2.0,>=1.3 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.9.1)
Requirement already satisfied, skipping upgrade: alabaster<0.8,>=0.7 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.7.12)
Requirement already satisfied, skipping upgrade: sphinxcontrib-websupport in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.2.4)
Requirement already satisfied, skipping upgrade: Pygments>=2.0 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2.6.1)
Requirement already satisfied, skipping upgrade: docutils>=0.11 in /usr/local/lib/python3.7/dist-packages (from sphinx->sphinx-rtd-theme==0.5.1->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.17.1)
Collecting yarl<2.0,>=1.0
  Downloading https://files.pythonhosted.org/packages/f1/62/046834c5fc998c88ab2ef722f5d42122230a632212c8afa76418324f53ff/yarl-1.6.3-cp37-cp37m-manylinux2014_x86_64.whl (294kB)
     |████████████████████████████████| 296kB 48.4MB/s 
Requirement already satisfied, skipping upgrade: chardet<5.0,>=2.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (3.0.4)
Collecting multidict<7.0,>=4.5
  Downloading https://files.pythonhosted.org/packages/7c/a6/4123b8165acbe773d1a8dc8e3f0d1edea16d29f7de018eda769abb56bd30/multidict-5.1.0-cp37-cp37m-manylinux2014_x86_64.whl (142kB)
     |████████████████████████████████| 143kB 53.6MB/s 
Collecting async-timeout<4.0,>=3.0
  Downloading https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Requirement already satisfied, skipping upgrade: nvidia-ml-py3>=7.352.0 in /usr/local/lib/python3.7/dist-packages (from gpustat->ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (7.352.0)
Requirement already satisfied, skipping upgrade: psutil in /usr/local/lib/python3.7/dist-packages (from gpustat->ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (5.4.8)
Collecting blessings>=1.6
  Downloading https://files.pythonhosted.org/packages/03/74/489f85a78247609c6b4f13733cbf3ba0d864b11aa565617b645d6fdf2a4a/blessings-1.7-py3-none-any.whl
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2021.5.30)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.24.3)
Collecting hiredis
  Downloading https://files.pythonhosted.org/packages/ed/33/290cea35b09c80b4634773ad5572a8030a87b5d39736719f698f521d2a13/hiredis-2.0.0-cp37-cp37m-manylinux2010_x86_64.whl (85kB)
     |████████████████████████████████| 92kB 10.8MB/s 
Collecting opencensus-context==0.1.2
  Downloading https://files.pythonhosted.org/packages/f1/33/990f1bd9e7ee770fc8d3c154fc24743a96f16a0e49e14e1b7540cc2fdd93/opencensus_context-0.1.2-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: google-api-core<2.0.0,>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from opencensus->ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.26.3)
Requirement already satisfied, skipping upgrade: pytz>=2017.2 in /usr/local/lib/python3.7/dist-packages (from pandas; extra == "rllib"->ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (2018.9)
Requirement already satisfied, skipping upgrade: google-auth-oauthlib<0.5,>=0.4.1 in /usr/local/lib/python3.7/dist-packages (from tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.4.4)
Requirement already satisfied, skipping upgrade: tensorboard-data-server<0.7.0,>=0.6.0 in /usr/local/lib/python3.7/dist-packages (from tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.6.1)
Requirement already satisfied, skipping upgrade: werkzeug>=0.11.15 in /usr/local/lib/python3.7/dist-packages (from tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.0.1)
Requirement already satisfied, skipping upgrade: google-auth<2,>=1.6.3 in /usr/local/lib/python3.7/dist-packages (from tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.31.0)
Requirement already satisfied, skipping upgrade: tensorboard-plugin-wit>=1.6.0 in /usr/local/lib/python3.7/dist-packages (from tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.8.0)
Requirement already satisfied, skipping upgrade: markdown>=2.6.8 in /usr/local/lib/python3.7/dist-packages (from tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (3.3.4)
Requirement already satisfied, skipping upgrade: sphinxcontrib-serializinghtml in /usr/local/lib/python3.7/dist-packages (from sphinxcontrib-websupport->sphinx->sphinx-rtd-theme==0.5.1->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.1.5)
Requirement already satisfied, skipping upgrade: googleapis-common-protos<2.0dev,>=1.6.0 in /usr/local/lib/python3.7/dist-packages (from google-api-core<2.0.0,>=1.0.0->opencensus->ray[rllib]==1.4.0; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.53.0)
Requirement already satisfied, skipping upgrade: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.7/dist-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (1.3.0)
Requirement already satisfied, skipping upgrade: rsa<5,>=3.1.4; python_version >= "3.6" in /usr/local/lib/python3.7/dist-packages (from google-auth<2,>=1.6.3->tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (4.7.2)
Requirement already satisfied, skipping upgrade: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.7/dist-packages (from google-auth<2,>=1.6.3->tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.2.8)
Requirement already satisfied, skipping upgrade: cachetools<5.0,>=2.0.0 in /usr/local/lib/python3.7/dist-packages (from google-auth<2,>=1.6.3->tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (4.2.2)
Requirement already satisfied, skipping upgrade: importlib-metadata; python_version < "3.8" in /usr/local/lib/python3.7/dist-packages (from markdown>=2.6.8->tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (4.5.0)
Requirement already satisfied, skipping upgrade: oauthlib>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (3.1.1)
Requirement already satisfied, skipping upgrade: pyasn1>=0.1.3 in /usr/local/lib/python3.7/dist-packages (from rsa<5,>=3.1.4; python_version >= "3.6"->google-auth<2,>=1.6.3->tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (0.4.8)
Requirement already satisfied, skipping upgrade: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata; python_version < "3.8"->markdown>=2.6.8->tensorboard~=2.4->tensorflow==2.4.1; extra == "rllib"->neural-mmo[rllib]->-r neural-mmo-starter-kit/requirements.txt (line 2)) (3.4.1)
Building wheels for collected packages: gpustat
  Building wheel for gpustat (setup.py) ... done
  Created wheel for gpustat: filename=gpustat-0.6.0-cp37-none-any.whl size=12621 sha256=05e241fde790ef85669c84e38120c4474a04ed3a0d5d660e7a68703809f2199e
  Stored in directory: /root/.cache/pip/wheels/48/b4/d5/fb5b7f1d040f2ff20687e3bad6867d63155dbde5a7c10f4293
Successfully built gpustat
ERROR: tensorflow 2.4.1 has requirement grpcio~=1.32.0, but you'll have grpcio 1.34.1 which is incompatible.
Installing collected packages: flexdict, dm-tree, py-spy, multidict, yarl, async-timeout, aiohttp, blessings, gpustat, pydantic, hiredis, aioredis, aiohttp-cors, opencensus-context, opencensus, protobuf, redis, colorama, opencv-python-headless, lz4, tensorboardX, ray, gast, tensorflow-estimator, h5py, tensorflow
  Found existing installation: dm-tree 0.1.6
    Uninstalling dm-tree-0.1.6:
      Successfully uninstalled dm-tree-0.1.6
  Found existing installation: protobuf 3.12.4
    Uninstalling protobuf-3.12.4:
      Successfully uninstalled protobuf-3.12.4
  Found existing installation: gast 0.4.0
    Uninstalling gast-0.4.0:
      Successfully uninstalled gast-0.4.0
  Found existing installation: tensorflow-estimator 2.5.0
    Uninstalling tensorflow-estimator-2.5.0:
      Successfully uninstalled tensorflow-estimator-2.5.0
  Found existing installation: h5py 3.1.0
    Uninstalling h5py-3.1.0:
      Successfully uninstalled h5py-3.1.0
  Found existing installation: tensorflow 2.5.0
    Uninstalling tensorflow-2.5.0:
      Successfully uninstalled tensorflow-2.5.0
Successfully installed aiohttp-3.7.4.post0 aiohttp-cors-0.7.0 aioredis-1.3.1 async-timeout-3.0.1 blessings-1.7 colorama-0.4.4 dm-tree-0.1.5 flexdict-0.0.1a1 gast-0.3.3 gpustat-0.6.0 h5py-2.10.0 hiredis-2.0.0 lz4-3.1.3 multidict-5.1.0 opencensus-0.7.13 opencensus-context-0.1.2 opencv-python-headless-4.3.0.36 protobuf-3.17.3 py-spy-0.3.7 pydantic-1.8.2 ray-1.4.0 redis-3.5.3 tensorboardX-2.4 tensorflow-2.4.1 tensorflow-estimator-2.4.0 yarl-1.6.3

Generate maps that will be used for building your models and evaluation

In [2]:
import os
os.chdir('/content/neural-mmo-starter-kit')
os.system('ln -s neuralmmo/resource')

!python neuralmmo/Forge.py generate --config=CompetitionRound1
/usr/local/lib/python3.7/dist-packages/ray/autoscaler/_private/cli_logger.py:61: FutureWarning: Not all Ray CLI dependencies were found. In Ray 1.4+, the Ray CLI, autoscaler, and dashboard will only be usable via `pip install 'ray[default]'`. Please update your install command.
  "update your install command.", FutureWarning)
Generating 256 training and 64 evaluation maps:
100% 320/320 [00:23<00:00, 13.55it/s]

Building your models

Your agents need to implement the NeuralMMOAgent class from evaluator/base_agent.py. You can check the code in agents directory for examples.

Note: If your agent doesn't inherit the NeuralMMOAgent class, the evaluation will fail.

Once your agent class is ready, you can specify the class to use as the player agent in your config.py. The starter kit comes with a machine learning based baseline. The config.py in the starter kit points to this class. You should update it to use your class.

For information on tweaking and training the baseline agents, please refer training baselines.

Evaluating you agents locally

Test your agents locally by running the rollout script

Make sure to include your agent in config.py

In [3]:
!python evaluator/rollout.py
/usr/local/lib/python3.7/dist-packages/ray/autoscaler/_private/cli_logger.py:61: FutureWarning: Not all Ray CLI dependencies were found. In Ray 1.4+, the Ray CLI, autoscaler, and dashboard will only be usable via `pip install 'ray[default]'`. Please update your install command.
  "update your install command.", FutureWarning)
======= Episode 1 =======
Achievement  0
Equipment  0
Exploration  5
PlayerKills  0
Foraging  10.5
=========================
======= Episode 2 =======
Achievement  18
Equipment  0
Exploration  37
PlayerKills  1
Foraging  48.5
=========================

Making a submission

Add your SSH key to AIcrowd GitLab

You can add your SSH Keys to your GitLab account by going to your profile settings here. You will first need to generate one.

In [ ]:
!ssh-keygen 
!cat /root/.ssh/id_rsa.pub
In [ ]:
!ssh-keyscan gitlab.aicrowd.com >> /root/.ssh/known_hosts
!ssh -T git@gitlab.aicrowd.com

Install git lfs

In [ ]:
!curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
!apt-get install git-lfs
!git lfs install

Configure git credentials and change remote

Replace your user name by username on gitlab.aicrowd.com

In [ ]:
!git config --global user.email "username@aicrowd.com"
!git config --global user.name "User Name"
!git remote add aicrowd git@gitlab.aicrowd.com:<user-name>/neural-mmo-starter-kit.git
!git remote rm origin

Run the script to submit

In [ ]:
!bash ./utils/submit.sh "Test submission 1"

Comments

You must login before you can post a comment.

Execute