Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 4.62 KB

File metadata and controls

69 lines (49 loc) · 4.62 KB

🚀 Deep Reinforcement Learning Nanodegree udacity

This nanodegree program by Udacity consists of 4 courses - Foundations of Reinforcement Learning, Value-Based Methods, Policy-Based Methods, Multi-Agent Reinforcement Learning - to learn cutting-edge deep reinforcement learning algorithms from Deep Q-Networks (DQN) to Deep Deterministic Policy Gradients (DDPG) and apply these concepts to train agents to walk, drive, or perform other complex tasks.

The 3 projects I completed as part of this nanodegree:

Getting Started

First clone this repository. To set up your python environment, follow the instructions below.

  1. Create (and activate) a new environment with Python 3.6.
python -m ipykernel install --user --name drlnd --display-name "drlnd"
conda create --name drlnd python=3.6 
activate drlnd
  1. Follow the instructions in this repository to perform a minimal install of OpenAI gym.

    • Next, install the classic control environment group by following the instructions here.
    • Then, install the box2d environment group by following the instructions here.
    pip install gym
  2. Install several dependencies

conda install Pillow matplotlib numpy jupyter pytest docopt pyyaml protobuf grpcio pandas scipy ipykernel
conda install -y pytorch -c pytorch
pip install tensorflow==2.2.0rc4
pip install unityagents
  1. Download the environment from one of the links below. You need only select the environment that matches your operating system:

    Project 1: Navigation

    image1

    Project 2: Continuous Control: Reacher environment.

    image1

    Project 3: Collaboration and Competition Tennis environment.

    gif

  2. Place the environment file in the corresponding project folder navigation/ or continuous-control/ or collab-compet/ and unzip (or decompress) the file.

  3. Follow the instructions in Navigation.ipynb / Continuous_Control.ipynb / Tennis.ipynb to get started with training your own agent!