Skip to content

truedodo/Behaviour-Cloning-in-MineRL

Repository files navigation

Description

The code provides a simple implementation of behaviour cloning for the various environments in MineRL (in my case, MineRLTreechop-v0). I have created a custom dataloader (data_pipeline.py and buffered_batch_iter.py) to allow support with MineRL v1.0 as well. However, due to issues with env.render() This code currently does not support MineRL v1.0 yet.

Installation

To be able to run this code, follow the installation steps for MineRL v0.4.4. Also install the necessary dataset from MineRL from here.

Run

Uncomment train() in main if you wish to train the model yourself. Run behavioural_cloning.py for training your model and testing it afterwards.

Credits

I was able to write this code with the help of a useful template provided by minerllabs.

About

An implementation of behaviour cloning in MineRL v0.4.4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages