/minerl

Primary LanguagePythonMIT LicenseMIT

MineRL Training Code

Code for a MineRL agent. Runs on Arch Linux, Python 3.8.5.

Installation

pip install -r requirements.txt

Get the dataset (60GB) and install in data/: https://minerl.io/dataset/

Usage

To run a training loop, then evaluate: python main.py --train

Action Space

11 discrete actions. Total list of actions:

  1. cam left
  2. cam right
  3. cam up
  4. cam down
  5. place + jump
  6. place
  7. forward + attack
  8. attack
  9. forward + jump
  10. jump
  11. forward

For Curriculum Learning, we learn a few actions at a time. We do this by keeping the same action space, but masking actions we don't want to learn yet by multiplying by zero.

First Task:

  • cam left
  • cam right
  • forward

Second task:

  • cam left
  • cam right
  • forward + jump
  • jump
  • forward

Third task:

  • cam left
  • cam right
  • cam up
  • cam down
  • attack
  • forward + jump
  • jump
  • forward

Fourth task (full action space):

  • cam left
  • cam right
  • cam up
  • cam down
  • place + jump
  • place
  • forward + attack
  • attack
  • forward + jump
  • jump
  • forward