Farama-Foundation / Minigrid

Simple and easily configurable grid world environments for reinforcement learning
https://minigrid.farama.org/
Other
2.09k stars 604 forks source link

[Question] How to access the BabyAI environments? #283

Closed JRC1995 closed 1 year ago

JRC1995 commented 1 year ago

I can make gym environments for minigrid, but the document don't specify the registration ids for BabyAI environments. Trying "BabyAI--v0" doesn't seem to work (gives a NameNoutFound error).

rodrigodelazcano commented 1 year ago

Hi @JRC1995. We are making a release that includes the BabyAI environments soon (probably today). For now you can install the library from source:

git clone https://github.com/Farama-Foundation/Minigrid.git
cd Minigrid/
pip install -e.

Also, the documentation for the BabyAI environments will be updated in the near future. Currently, the name id's of the environments can be found here: https://github.com/Farama-Foundation/Minigrid/blob/268c56b691c330425544c4917db0a19746d83dc0/minigrid/__init__.py#L509

rodrigodelazcano commented 1 year ago

New release 2.1.0 with these changes has been made