THIS ENVIRONMENT IS NO LONGER SUPPORTED FOR THE IGLU COMPETITION, FOR IGLU 2022, PLEASE USE THE GRIDWORLD ENVIRONMENT
IGLU is a research project aimed at bridging the gap between reinforcement learning and natural language understanding in Minecraft as a collaborative environment. It provides the RL environment where the goal of an agent is to build structures within a dedicated zone. The structures are described by natural language in the game’s chat.
The main documentation is available here.
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdkbrew tap AdoptOpenJDK/openjdk
brew install --cask adoptopenjdk8 #or `brew cask install adoptopenjdk8` for brew version < 3.Please use Windows installer.
By default iglu renders using virtual display using xvfb software renderer.
sudo apt-get install xvfbiglu env requires python version 3.7 or newer. If you are using conda you can easily install that in local conda env:
conda create -n iglu_env python=3.7
conda activate iglu_envYou can install using pip: TODO
To install the package manually, do the following:
git clone [email protected]:iglu-contest/iglu_env.git && cd iglu_env
python setup.py install
cd test && python test_env.py
You can change the download directory for the The Minecraft Dialogue Corpus by setting the IGLU_DATA_PATH environment variable to the directory of your liking.
conda env update --file conda_env.ymlTo use iglu environment inside the docker container proceed to Docker installation section.
You might have another java version installed (e.g. openjdk-11), rather than openjdk-8-jdk. Check the version by running java --version or java -version.
To update default java runtime it's either update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java or update-alternatives --config java. The second one is preferable since it isn't conditioned on a particular path.