Coder Social home page Coder Social logo

reacher-udacity-deep-reinforcement-learning's Introduction

ReacherEnvironmentDL

Using DDPG , training 20 agents to play in the Reacher Unity Environment


This project works with the Reacher environment.

Trained Agent

Project Details

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.

Getting Started

It is recommended to follow the Udacity DRL ND dependencies instructions here

This project utilises Unity ML-Agents, NumPy and PyTorch

A prebuilt simulator is required in be installed. You need only select the environment that matches your operating system:

Version 1: One (1) Agent

Linux: click here Mac OSX: click here Windows (64-bit): click here

Version 2: Twenty (20) Agents (Used in this project)

Linux: click here Mac OSX: click here Windows (64-bit): click here

The file needs to placed in the root directory of the repository and unzipped.

Next, before starting the environment utilising the corresponding prebuilt app from Udacity Before running the code cell in the notebook, change the file_name parameter to match the location of the Unity environment that you downloaded.

Instructions

Then run the DDPG_Continuous_Control.ipynb notebook using the drlnd kernel to train the DDPG agent.

Once trained the model weights will be saved in the same directory in the files checkpointactor.pth and checkpointcritic.pth.

reacher-udacity-deep-reinforcement-learning's People

Contributors

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