Giter Site home page Giter Site logo

minerl2021-research-baselines's Introduction

MineRL2021-Research-baselines

MineRL 2021 Research track baseline agent uses Behavioural cloning (BC).

The agent can be run in three different ways:

  1. Colab notebook
  2. Standalone file
  3. Submittable repository (Under construction)

Colab notebook

This is the same code as in the standalone file, but with extra documentation and fully running in Colab:
(the only difference is that the DATA_SAMPLES parameter is lower to fit the Colab RAM limits)

MineRL Research track BC

Standalone files

These are used to run the agent on your local machine and are located in the standalone directory.
MineRL requires JDK8 to be installed first. After that, run:

pip install --upgrade minerl
pip install pytorch
pip install stable_baselines3

The agent can be run with:

python Behavioural_cloning.py

The BC agent comes with pretrained models. If you want to train it yourself, you will have to uncomment the train() line at the end of the file.

Submittable repository

The following link will lead you to submittable version of the baselines:

Behavioural cloning

Results

Baseline results over several hundreds of episodes can be seen below:

Results above are achieved using the provided trained models. Colab baselines retrain every time and use a lower DATA_SAMPLES parameter (400,000 instead of 1,000,000) to fit the available RAM. Here are the results from three separate fully retrained models using those parameters:

Credits

Thank you to Anssi Kanervisto for developing most of the Behavioural cloning baseline.

minerl2021-research-baselines's People

Contributors

karolisram avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.