Giter Site home page Giter Site logo

deep-rl's Introduction

Solving REACHER with Deep Reinforcement Learning

image-20220516022528231

Project Details

This repository contains python code that implements deep reinforcement learning to solve the problem of controlling a double jointed arm and keeping the hand in a specified three dimensional space.

Environment Details

The environment consists of 20 arms to control and keep in different target locations. For each arm, the environment keeps track of 33 variables provide data for:

  1. Position
  2. Velocity
  3. Rotation
  4. Angular Velocity

Additionally, the action space for each arm consists of 4 real numbers between 1 and -1 that specifies the torque.

Getting Started

Follow the steps below to setup an environment to run the project.

Start by creating a new environment with python 3.6 (Note: python 3.6 is necessary for tensorflow 1.7.1 and the unity environment will not work without this version.)

conda create --name drlnd python=3.6
source activate drlnd

Next, clone the deep-reinforcement-learning repository to install the unity agent dependency.

git clone https://github.com/udacity/deep-reinforcement-learning.git
cd deep-reinforcement-learning/python
pip install .

Then, use pip to install the requirements detailed in the requirements text file.

pip install -r requirments.txt

Finally, source the conda environment with

conda activate drlnd

Execution Instructions

The agents can be trained by executing train_agents.py with the command:

python train_agents.py

Running train_agents.py will start up the unity environment and begin training the model.

image-20220516022244453

deep-rl's People

Contributors

maple-lazuli 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.