GithubHelp home page GithubHelp logo

ddqn_banana_picking_game's Introduction

Project Overview

This my final project, in this project I trained an agent to pick up yellow bananas that are scattered throughout a square world. The agent must learn to navigate in its environment to reach yellow bananas (reward of +1 each) while avoiding to collect blue bananas (reward of -1 each).

Instructions

Follow the instructions in final_project.ipynb to train an agent from scratch or simply watch a pretrained agent

Settings

To set up your python environment to run the code, follow the instructions below.

  1. Create (and activate) a new environment with Python 3.6.

    o Linux or Mac:

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

    o Windows:

         conda create --name drlnd python=3.6 
    
         activate drlnd
    
  2. terminal:

       pip install ipykernel
    
  3. Create an IPython kernel for the drlnd environment.

       python -m ipykernel install --user --name drlnd --display-name "drlnd"
    
  4. Before running code in a notebook, change the kernel to match the ‘drlnd’ environment by using the drop-down Kernel menu.

  5. terminal:

       pip install unityagents,torch,scipy
    
  6. I have download the unity file in the package ,if you want to update Banana.unity, go to this github source https://github.com/udacity/deep-reinforcement-learning/tree/master/p1_navigation

  7. Follow the instructions in Navigation.ipynb to test the environment.

ddqn_banana_picking_game's People

Contributors

qma16443 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.