This repo trains a DDPG agent to solve the Unity Reacher 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 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.
-
Clone this repo.
-
Install the python dependencies by running
pip install -r requirements.txt
-
Download the Unity environment matching your OS to the root folder of the repo and unzip the file.
- Version 2: Twenty (20) Agents
- Linux: click here
- Mac OSX: click here
- Windows (32-bit): click here
- Windows (64-bit): click here
- Version 2: Twenty (20) Agents
Follow the instructions in Continuous_Control.ipynb
to get started with training the agent!