GithubHelp home page GithubHelp logo

bobiblazeski / navigation Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 212 KB

Navigation for collecting Banana project in Deep Reinforcement Learning Nanodegree

License: MIT License

Jupyter Notebook 89.64% Python 10.36%
deep-reinforcement-learning pytorch reinforcement-learning

navigation's Introduction

Navigation

Navigation project from Udacity Deep Reinforcement Learning Nanodegree. It demonstrates how to teach an agent to collect yellow bananas while avoiding blue bananas.

Installation

Install deep reinforcement learning repository

  1. Clone deep reinforcement learning repository
  2. Fallow the instructions to install necessary dependencies

Download the Unity Environment

  1. Download environment for your system into this repository root
  1. Unzip (or decompress) the archive

Run the project

  1. Start the jupyter server
  2. Open the Navigation.ipynb notebook
  3. Change the kernel to drlnd
  4. You should be able to run all the cells

Environment

This project uses the Unity based environment prepared by the Udacity team.

There is one agent interacting with the environment.

There are 4 actions available to the agent:

  • 0 - walk forward
  • 1 - walk backward
  • 2 - turn left
  • 3 - turn right

The state is represented as a vector of 37 dimensions.

There is a reward of +1 for collecting a yellow banana and a reward of -1 for collecting a blue banana.

Weights

The directory saves contains saved weights for 4 different agents:

  • checkpoint_single_16.pth - DQN
  • checkpoint_double_16.pth - Double DQN
  • checkpoint_dueling_16.pth - Dueling Double DQN
  • checkpoint_priority.pth - Priority Experience + Dueling Double DQN

Credits

Most of the code is based on Deep Q-Networks lesson. The Experience Replay Buffer and SumTree are minimally adapted from Yuan Liu's RainBow implementation.

navigation's People

Contributors

bobiblazeski avatar

Stargazers

 avatar

Watchers

James Cloos 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.