Skip to content

[Question] Getting the BabyAI make_agent_demos.py script to work in Minigrid #474

@bmitc

Description

@bmitc

Question

Hello! I have been pointed to the https://github.com/mila-iqia/babyai repository with the task of getting the make_agent_demos.py script working.

Of course, I see that the https://github.com/mila-iqia/babyai repository is no longer maintained and that users are pointed to this https://github.com/Farama-Foundation/Minigrid repository.

Also, I do see the following notes in https://github.com/mila-iqia/babyai:

This repository still contains scripts which, if adapted to the Minigrid library, could be used to:

Produce demonstrations using the BabyAI bot,
Train Imitation Learning agents using the bot-generated demonstrations as training trajectories.


What I am looking for is advice on the easiest way to proceed to get the make_agent_demos.py script working, either in the old BabyAI repository or within Minigrid. Some options I see:

  1. Use the Dockerfile. However, this Dockerfile isn't mentioned in any of the setup instructions, and it doesn't build, so it's unclear whether it's used or needed or not.
  2. Use the Conda instructions. Is there confidence that this works? I haven't tried this yet because we use Poetry, and so I'd need to try the Conda instructions out in a container to avoid polluting my Python environment.
  3. "Port" the make_agent_demos.py script to the Minigrid library.
    a. Is this a viable path? If so, any recommendations on where to start?
    b. Does the bot still exist in the Minigrid library, or would it need porting as well?

Thank you so much! I am happy to go off try things myself, but I wanted to check in since the library developers and maintainers are often most aware of the path of least resistance on things like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions