Instructions to make submissions to the NeurIPS 2019 : MineRL Challenge.
Participants will have to submit their code, with packaging specifications, and the evaluator will automatically build a docker image and execute their code against a series of secret datasets.
- Anaconda (By following instructions here) At least version
4.5.11
is required to correctly populateenvironment.yml
.
- Create your new conda environment
conda create --name minerl_challenge
conda activate minerl_challenge
- Your code specific dependencies
conda install <your-package>
git clone git@github.com:AIcrowd/neurips2019_minerl_challenge_starter_kit.git
cd neurips2019_minerl_challenge_starter_kit
pip install -r requirements.txt
To get started with the environment and dataset please check out our quick start guide here!
This competition uses a set of Gym environments based on Malmo. The environment and dataset loader will be available through a pip package.
The main task of the competition is solving the ObtainDiamond
environment. In this environment, the agent begins in a random starting location without any items, and is tasked with obtaining a diamond. This task can only be accomplished by navigating the complex item hierarchy of Minecraft.
The software runtime is specified by exporting your conda
env to the root
of your repository by doing :
conda env export --no-build > environment.yml
# It might make sense here to remove the requirements.txt here to avoid confusion as environment.yml takes precedence over requirements.txt
This environment.yml
file will be used to recreate the conda environment
. This repository includes an example environment.yml
Please follow the structure documented in the included agent.py to adapt the required structure for this round.
aicrowd.json
Each repository should have aaicrowd.json
with the following content :
{
"challenge_id": "aicrowd-neurips-2019-minerl-challenge",
"grader_id": "aicrowd-neurips-2019-minerl-challenge",
"authors": ["your-aicrowd-username"],
"description": "sample description about your awesome agent",
"license": "MIT",
"gpu": true
}
This is used to map your submission to the said challenge, so please remember to use the correct challenge_id
and grader_id
as specified above.
Please specify if your code will a GPU or not for the evaluation of your model. If you specify true
for the GPU, a NVIDIA Tesla K80 GPU will be provided and used for the evaluation.
The recommended way is to use Anaconda configuration files using environment.yml files.
# The included environment.yml is generated by the command below, and you do not need to run it again
# if you did not add any custom dependencies
conda env export --no-build > environment.yml
# Note the `--no-build` flag, which is important if you want your anaconda env to be replicable across all
# Or if you have a rather simple softwar runtime, then even a :
#
# pip freeze > requirements.txt
#
# could work.
The evaluator will use /home/aicrowd/run.sh
as the entrypoint, so please remember to have a run.sh
at the root, which can instantitate any necessary environment variables, and also start executing your actual code. This repository includes a sample run.sh
file.
If you are using a Dockerfile to specify your software environment, please remember to create a aicrowd
user, and place the entrypoint code at run.sh
.
To make a submission, you will have to create a private repository on https://gitlab.aicrowd.com/.
You will have to add your SSH Keys to your GitLab account by following the instructions here. If you do not have SSH Keys, you will first need to generate one.
Then you can create a submission by making a tag push to your repository on https://gitlab.aicrowd.com/.
Any tag push (where the tag name begins with "submission-") to your private repository is considered as a submission
Then you can add the correct git remote, and finally submit by doing :
cd neurips2019_minerl_challenge_starter_kit
# Add AIcrowd git remote endpoint
git remote add aicrowd git@gitlab.aicrowd.com:<YOUR_AICROWD_USER_NAME>/neurips2019_minerl_challenge_starter_kit.git
git push aicrowd master
# Create a tag for your submission and push
git tag -am "submission-v0.1" submission-v0.1
git push aicrowd master
git push aicrowd submission-v0.1
# Note : If the contents of your repository (latest commit hash) does not change,
# then pushing a new tag will **not** trigger a new evaluation.
You now should be able to see the details of your submission at : gitlab.aicrowd.com/<YOUR_AICROWD_USER_NAME>/neurips2019_minerl_challenge_starter_kit/issues
NOTE: Remember to update your username in the link above 😉
In the link above, you should start seeing something like this take shape (each of the steps can take a bit of time, so please be patient too 😉 ) :
and if everything works out correctly, then you should be able to see the final scores like this :
Best of Luck 🎉 🎉
Shivam Khandelwal https://twitter.com/skbly7