AI which aims to solve the SkyBlock Minecraft survival challange. The network is created by using the Double DQN algorithm from StableBaselines3 customized with Prioritized Replay.
- Java 1.8
It is required to have Java SDK 1.8.x.x
installed, unfortunately a newer version such as 1.9 will not work.
To install:
brew install --cask adoptopenjdk8
This will set Java 1.8 to your system-default Java version
Insert the following line to the file ~/.zshrc
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
apt-get install openjdk-8-jdk
Verify that the java-version is correct by running java -version
. The output should be 1.8.x.x
pip install minedojo stable-baselines3 torchvision tensorboard
change variables guiScale and renderDistance in venv/lib/python../site-packages/minedojo/sim/Malmo/Minecraft/run/options.txt to 1
To run the training, use the Jupyter Notebook CoolNotz.ipynb
During training, the training-agent will log it's performance using tensorboard. A tensorboard-server will need to be booted up to view this data. This may be done by entering the following code in the terminal
python3 -m tensorboard.main --logdir ./DQN_steve_tensorboard/