DouPiChen / MineRL_submission

MineRL competition submission of our team (CraftRL)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code for MineRL competition submission

project page

This repo contains code for our team(CraftRL)'s MineRL competition submission.

Dependencies

  • Python 3.6 +
  • PyTorch 1.1.0
  • NumPy
  • gym 0.12.5
  • minerl 0.2.9
  • rlpyt

Hacking rlpyt

In order to run parallel envs, you need to hack rlpyt. If parallel processes start at the same time, minerl will assign the same port to them, which will crash the environment. A workaround is to add time.sleep(60) after w.start() in ParallelSamplerBase.initialize() in rlpyt/samplers/parallel/base.py.

About

MineRL competition submission of our team (CraftRL)


Languages

Language:Python 100.0%