Giter VIP home page Giter VIP logo

doorkey_dp's Introduction

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

doorkey_dp's People

Contributors

trivikram-c avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.