Giter Site home page Giter Site logo

roj4s / quadcopter-rl Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 59.86 MB

Deep Reinforcement Learning drone controlling Agent based on Policy-Based Actor-Critic algorithm.

Jupyter Notebook 41.96% Dockerfile 0.15% HTML 54.43% Python 3.45% Shell 0.02%

quadcopter-rl's Introduction

Deep RL Quadcopter Controller

The agent implemented follows the approach in [1] and consists of a Policy-Based Actor-Critic algorithm called Deep Deterministic Policy Dradients (DDPG). In actor-critics two oposite components denominated as actor and critic improve mutually from the other's output, the former learns how to perform actions in a given environment trying to maximize reward based on the evaluation made by the critic and the later uses predictions made by the actor and rewards of such actions in order to enhance evaluation in further iterations.

In DDPG the components previously mentioned are neuronal networks. The actor's first and final layers has as many nodes as parameters describing the state and action spaces respectivelly, and three hidden full connected layers with Relu activations. The critic maps state-action pairs to a Q-value matrix, it has two input layers with as many nodes as parameters describing the state an action spaces respectivelly, wich are preceded by two full connected Relu activated layers and added up before connecting with a final full conected for the Q-value.

[1] Lillicrap, Timothy P., et al. "Continuous control with deep reinforcement learning." arXiv preprint arXiv:1509.02971 (2015).

Project Instructions

  1. Clone the repository and navigate to the downloaded folder.
git clone https://github.com/roj4s/quadcop_rl.git
cd quadcop_rl
  1. Build docker image.
docker build -t roj4s/quadcop .
  1. Run docker image.
docker run --gpus all -p 8080:8080 roj4s/quadcop

  1. Open the notebook in any browser at http://localhost:8080.

quadcopter-rl's People

Contributors

roj4s avatar alexisbcook avatar lcrucks avatar

Watchers

James Cloos 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.