Giter Site home page Giter Site logo

stokhos / mva-drl-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arthurpignet/mva-drl-project

0.0 0.0 0.0 917 KB

The aim of this project is to reimplement the algorithm from the paper Continious control with deep reinforcement learning

License: MIT License

Python 4.76% Jupyter Notebook 95.24%

mva-drl-project's Introduction

MVA Deep RL Project

Authors: Raphaël Rozenberg, Arthur Pignet, Frédéric Zheng

The aim of this project is to reimplement the algorithm from the paper Continious control with deep reinforcement learning

Project Organization

│   .gitignore
│   LICENSE
│   README.md           <- The top-level README.
│   requirements.txt    <- List of third parts libraries used in this project.
│
├───models              <- Trained models. Please don't push them
│       .gitkeep
│
├───notebooks           <- Jupyter notebooks used in Colab.
│       DDPG.ipynb
│       
│
├───results
│   │   .gitkeep
│   │   log1.npy
│   │   loss_error.png
│   │
│   └───figures
│           actor_loss.png
│           critic_loss.png
│           returns.png
│
├───src                <- Source code used in this project.
│       agents.py                   <- DDPG Agent main class.
│       data.py                     <- Data structure classes.
│       environments.py             <- Wrapped environment classes.
│       interaction_loops.py        <- Functions used to interact with the env and train the agent.
│       logs.py                     <- Log utils.
│       networks.py                 <- Neural network definitions.
│       plot_utils.py               <- Plot utils.
│       replay_buffer.py            <- Replay buffer class.
│       utils.py                    <- General utils.
│       __init__.py
│
└───_can_be_deleted    <- Trash bin (!! git ignored)

Installation

Clone this repo and install the requierement. Note that we are using Jax and Gym, so you need to be in a compatible environment.

$ git clone https://github.com/arthurPignet/mva-drl-project.git
$ cd mva-drl-project/
$ pip install -v .

Tested configuration

This installation was tested in Google Colab (free version) and with a Azure VM running with Ubuntu 20.04.4 LTS

Result example

Unfortunatly do to a lack of computational power, we were not able to replicate the results of the paper. However we manage to have an agent learning something on the Inverted Pendulum environment.

Losses

Actor loss Critic loss

Returns' evolution

Returns

mva-drl-project's People

Contributors

arthurpignet avatar rrozen 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.