GithubHelp home page GithubHelp logo

drlnd-p2's Introduction

Udacity Deep Reinforcement Learning Nanodegree Project 2: Contiunous Control

Synopsis

This is my solution to the second project of the Udacity Deep Reinforcement Learning Nanodegree. In this project we were asked to build an agent that could control a double-jointed arm towards specific locations.

#Environment

We were prodived an environment built with Unity ML-Agent toolkit.

Here is the project description of the environment:

In this environment, a double-jointed arm can move to target locations. A reward of +0.1 is provided for each step that the agent's hand is in the goal location. Thus, the goal of your agent is to maintain its position at the target location for as many time steps as possible.

The observation space consists of 33 variables corresponding to position, rotation, velocity, and angular velocities of the arm. Each action is a vector with four numbers, corresponding to torque applicable to two joints. Every entry in the action vector should be a number between -1 and 1.

Requirements

Environment

How to run

  1. Download the environment and unzip it into the directory of the project. Rename the folder to reacher and ensure that it contains Reacher.exe
  2. Use jupyter to run the Report.ipynb notebook: jupyter notebook report.ipynb
  3. To train the agent run the cells in order. They will initialize the environment and train until it reaches the goal condition of +30
  4. A graph of the scores during training will be displayed after training.

Code

The code is split between three files and Report.ipynb

agent.py

Contains the definition of the DDPG actor. It sets up the 4 network the Actor's target and local network and the critics target and local network.

model.py

Defines the two model achitecture (further details in Report.ipynb on them)

replay_buffer.py

Implements a experience store for experience replay.

drlnd-p2's People

Contributors

nkassis avatar

Stargazers

 avatar

Watchers

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