/reacher-continuous-control

A DDPG agent that solves the Reacher Unity environment

Primary LanguageJupyter Notebook

Reacher - Continuous Control

Introduction

This repo trains a DDPG agent to solve the Unity Reacher environment.

Trained Agent

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 the 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

  1. Clone this repo.

  2. Install the python dependencies by running pip install -r requirements.txt

  3. Download the Unity environment matching your OS to the root folder of the repo and unzip the file.

Instructions

Follow the instructions in Continuous_Control.ipynb to get started with training the agent!