DeepMind Lab (https://github.com/deepmind/lab) is a 3D learning environment that provides a suite of environments with challenging tasks, such as 3D navigation through mazes and puzzle solving. It is built based on a handful of pieces of open source software, including the famous Quake III Arena.
The environment interface is very similar to the Gym interface that we have used extensively in this book so far. To get a feel for what the environment interface actually looks like, have a look at the following code snippet:
import deepmind_labnum_steps = 1000config = { 'width': 640, 'height': 480, 'fps': 30}...env = deepmind_lab.Lab(level, ['RGB_INTERLEAVED'], config=config, renderer='software')for step in range(num_steps) if done: ...