The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

36 lines
666 B

4 weeks ago
  1. ---
  2. layout: "contents"
  3. title: Basic Usage
  4. firstpage:
  5. ---
  6. ## Basic Usage
  7. There is a UI application which allows you to manually control the agent with the arrow keys:
  8. ```bash
  9. ./minigrid/manual_control.py
  10. ```
  11. The environment being run can be selected with the `--env` option, eg:
  12. ```bash
  13. ./minigrid/manual_control.py --env MiniGrid-Empty-8x8-v0
  14. ```
  15. ## Installation
  16. Minigrid call be installed via `pip`:
  17. ```bash
  18. python3 -m pip install minigrid
  19. ```
  20. To modify the codebase or contribute to Minigrid, you would need to install Minigrid from source:
  21. ```bash
  22. git clone https://github.com/Farama-Foundation/Minigrid.git
  23. cd Minigrid
  24. python3 -m pip install -e .
  25. ```