Code Monkey home page Code Monkey logo

drlnd-p1-navigation's Introduction

Udacity Deep Reinforcement Learning: Project 1, Navigation

Environment

  • Banana Collection Environment
  • The goal of this problem is for the agent to collect yellow bananas (+1 reward) and avoid blue bananas (-1 reward).
  • For the purposes of this project, the environment is considered solved when the agent achieves an average score (accumulated reward over an episode) of +13.0 over 100 episodes.

State Space:

  • 37-Dimensional continuous observation space, (includes agent velocity and ray-based perception of objects in realm of agent`s forward direction)

Action Space:

  • 4-Dimensional discrete space, (Forward, Backward, Left, Right)

Installation and Usage

  • This notebook can be used by simply opening it in the provided Udacity Project Workspace
  • Alternatively, you can run this locally:
    1. Clone this repository
    2. To get the python/conda environment setup, follow these instructions: https://github.com/udacity/Value-based-methods#dependencies
    3. Make sure you have jupyter properly installed, and you may have to get an archived version of pytorch
    4. Download the environment for Linux: https://s3-us-west-1.amazonaws.com/udacity-drlnd/P1/Banana/Banana_Linux.zip or for Mac: https://s3-us-west-1.amazonaws.com/udacity-drlnd/P1/Banana/Banana.app.zip
    5. In the repository directoy root mv <path/to/Banana_Linux.zip\> .
    6. Then run conda activate drlnd
    7. In your local directory, to see the trained agent in action: python run.py "./Banana\_Linux/Banana.x86\_64"
    8. To run the notebook and train the agent yourself, the resulting parameters will overwrite checkpoint.pth. In order to train locally, you will need to change the unity env path in the notebook and skip the first cell! jupyter notebook Navigation.pynb

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.