Skip to content

ddayzzz/deepmind_lab_gym_wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gym wrapper for DeepMind Lab environments

This is a gym-like wrapper for Deepmind lab environment. This repo is inspired by jkulhanek/gym-deepmindlab-env and I add some observation options which might helpful!

Usage

According to Deepmind lab's documents, we defined some task-specific wrappers:

environment id Class names
DeepmindLabEnv-v0 DeepmindLabEnvironment
DeepmindLabNavEnv-v0 DeepmindLabMazeNavigationEnvironment

Please note that DeepmindLabMazeNavigationEnvironment is a class extends DeepmindLabEnvironment and implements abstract methods in base class.

Gym-like abstract methods:

  • reset
  • step
  • render
  • get_action_meanings

Common use:

import gym
import deepmind_lab_as_gym

env = gym.make(id='DeepmindLabNavEnv-v0', level=level)

# Use the environment
observation = env.reset()

Installation

python setup.py develop  # for development
python setup.py install  # for users

Thanks

References

About

Deepmind lab gym-like wrapper

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages