Coder Social home page Coder Social logo

dennisrotondi / deep_rl_world_models_grid_world Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 959 KB

Project for the course Deep Learning and Applied AI a.y. 2021/2022, Dept. of Computer Science, Prof. Emanuele Rodolà

Python 99.37% Shell 0.63%
pytorch-lightning world minigrid models reinforcement-learning

deep_rl_world_models_grid_world's Introduction

Deep Learning and Applied Ai Project:

Dennis Rotondi, World Models in MiniGrid

How to reproduce the results:

  • clone this repository on your machine
git clone https://github.com/DennisRotondi/dlai_project.git
  • install the requirements inside the cloned folder
pip3 install -r requirements.txt
  • install the package
python3 setup.py install
  • create the dataset
python3 src/env/grid_save.py 
  • train the models {vae, mdnrnn, controller} (pick one each time, in this order)
python3 src/models/{vae, mdnrnn, controller}_train.py
eg.
python3 src/models/vae_train.py
    • or request access to my dvc remote folder (dvc on google drive requires it, also if the folder were public it still need to be shared individually) and pull my uploaded files for dataset and ckpt
dvc pull
  • now enjoy watching the agent solving the game... or at least trying
python3 src/env/play.py test_env.visualize=True

deep_rl_world_models_grid_world's People

Contributors

dennisrotondi avatar dependabot[bot] 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.