Minimalistic gridworld reinforcement learning environments
Project description
The Minigrid library contains a collection of discrete grid-world environments to conduct research on Reinforcement Learning. The environments follow the Gymnasium standard API and they are designed to be lightweight, fast, and easily customizable.
The documentation website is at minigrid.farama.org, and we have a public discord server (which we also use to coordinate development work) that you can join here: https://discord.gg/B8ZJ92hu
Note that the library was previously known as gym-minigrid and it has been referenced in several publications. If your publication uses the Minigrid library and you wish for it to be included in the list of publications, please create an issue in the GitHub repository.
Installation
To install the Minigrid library use pip install minigrid
.
We support Python 3.7, 3.8, 3.9 and 3.10 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.
Environments
The included environments can be divided in two groups. The original Minigrid
environments and the BabyAI
environments.
Minigrid
The list of the environments that were included in the original Minigrid
library can be found in the documentation. These environments have in common a triangle-like agent with a discrete action space that has to navigate a 2D map with different obstacles (Walls, Lava, Dynamic obstacles) depending on the environment. The task to be accomplished is described by a mission
string returned by the observation of the agent. These mission tasks include different goal-oriented and hierarchical missions such as picking up boxes, opening doors with keys or navigating a maze to reach a goal location. Each environment provides one or more configurations registered with Gymansium. Each environment is also programmatically tunable in terms of size/complexity, which is useful for curriculum learning or to fine-tune difficulty.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Minigrid-2.1.0.tar.gz
.
File metadata
- Download URL: Minigrid-2.1.0.tar.gz
- Upload date:
- Size: 60.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 986be1e0210ae26e75384760d4c4da12e3681f2fa2ace826a0786e4c8f033e63 |
|
MD5 | 7679518c77339aab7f38f0cdd19091fd |
|
BLAKE2b-256 | 070742282b2445832244467cec72eb9fd07f93e16147dc546a538cc177413d00 |
File details
Details for the file Minigrid-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: Minigrid-2.1.0-py3-none-any.whl
- Upload date:
- Size: 92.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f82a994673aadca9fc50a510c8e707134d1b7c70ab93dbda6a6bdf92a950b56 |
|
MD5 | 6d233bce037b784b4eb340fb1c06ec88 |
|
BLAKE2b-256 | fd78403907aeaf0456f8b048a127187cd4251954059ce83fc9e207f9538a818d |