Skip to content

trivikram-c/doorkey_dp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic Programming for Minigrid Environment

Important Code Files

  1. main.py
  2. trial1.ipynb

How to Run

cd /path/to/dir/code 
python3 main.py ### Generates all gifs for the dynamic and the static environments

Dependencies

A comprehensive list of dependencies is added in the attached requirements.txt file given in the folder </path/to/dir/code>/code/starter_code/. Some important packages are -

numpy
matplotlib
minigrid
imageio

To install the required dependencies, we can create a new mamba (or conda) environment named <env> .

pip install -r requirements.txt ## Replace with conda if preferred

Outputs

The file main.py creates gif visualization of the trajectories for the known environment and random environment cases.

The file trial1.ipynb does the same but in an interactive jupyter notebook for better control.

File Structure

.
├── code
│   └── starter_code
│       ├── create_env.py
│       ├── doorkey.py
│       ├── envs
│       ├── example.py
│       ├── gif
│            └── ## Result gifs from all environments
│       ├── main.py
│       ├── __pycache__
│       ├── README.md  ## Readme for the project problem statement
│       ├── requirements.txt
│       ├── trial1.ipynb
│       └── utils.py
├── ECE276B_PR1.pdf
├── environment.yml
└── README.md ## Output Readme for the work done

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published