Skip to content

shubham10divakar/Collecting-Banana-Udacity-Deep-Reinforcement-Learning-Project-

Repository files navigation

Unity Banana Navigation

banana

Project details

Check out the link to the blog of project- https://medium.com/@shubham.divakar/collect-bananas-deep-reinforcement-learning-udacity-project-fe661ebfa90d This Project is created as first project on Udacity Deep Reinforcement Learning nanodegree. The goal of the agent is to gather yellow bananas while avoiding the blue ones. Here are Unity details of the environment:

Unity brain name: BananaBrain
        Number of Visual Observations (per agent): 0
        Vector Observation space type: continuous
        Vector Observation space size (per agent): 37
        Number of stacked Vector Observation: 1
        Vector Action space type: discrete
        Vector Action space size (per agent): 4
        Vector Action descriptions: , , , 

That means we work with state vector containing 37 continous values and 4 discrete actions representing moves (forward, backward, turn left, turn right). The environment is considered solved when agents reaches average score of 13.0 on 100 consecutive episodes.

Getting started

Make sure you have python 3.6 installed and virtual environment of your choosing activated. Unity has to be installed on your system. Run:

source ./install.sh

to install python dependencies. Then you should be able to run jupyter notebook and view Final_Solution.ipynb. File model.py contains neural network class used as a Q function and file drl.py contains agent code.

Instructions

Run Final_Solution.ipynb for further details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published