This repository is the MineRL BASALT 2022 Competition Intro Track baseline solution.
MineRL BASALT Intro Track is designed to help you get familiar with the submission system and MineRL. Your task is to create an agent which can obtain a diamond shovel, starting from a random, fresh world.
The baseline agent gets a diamond about 10% of the time and sometimes crafts a diamond pickaxe. Your task is to make it craft a diamond shovel.
See the AICrowd competition page for further information.
Install MineRL v1.0.0 (or newer) and the requirements for OpenAI VPT.
Download the RL from Early Game model .weights and .model files for the OpenAI VPT model.
Place these files under data
to match the following structure:
├── data
│ └── VPT-models
│ ├── 2x.model
│ └── rl-from-early-game-2x.weights
Before submitting, remember to add the models. For that you need to use git lfs
. See instructions here.
To watch the baseline agent play, uncomment the env.render()
line in test.py
and run the following command:
python test.py
This will run a single short episode. If you want to see complete episodes, set debug
to false
in aicrowd.json
.
To submit this baseline agent follow the submission instructions, but use this repo instead of the starter kit repo.
Remember to add the newly added model files as part of the submission!
Per the AI Capstone Project that this baseline submission was completed for, shown here is a 15-minute video of the model and weights being played: https://youtu.be/Ptj4IEiW_wQ