/Udacity-DRLND-projects

Udacity's Deep Reinforcement Learning Nanodegree

Primary LanguagePython

Udacity DRLND Projects

Introduction

This repository gather the projects in Udacity DRLND(Deep Reinforcement Learning Nanodegree).

Getting Started

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

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

    • Linux or Mac:
    conda create --name drlnd python=3.6
    source activate drlnd
    • Windows:
    conda create --name drlnd python=3.6 
    activate drlnd
  2. Install PyTorch 0.4

    You can use the code below to install PyTorch without CUDA or refer to here.

    conda install pytorch=0.4.1 -c pytorch
  3. Clone the repository (if you haven't already!), and navigate to the python/ folder. Then, install several dependencies. After install the dependencies, the installation in each project can be ignored.

git clone https://github.com/sunezr/Udacity-DRLND-projects.git
cd Udacity-DRLND-projects/python
pip install .
  1. Create an IPython kernel for the drlnd environment.
python -m ipykernel install --user --name drlnd --display-name "drlnd"
  1. Before running code in a notebook, change the kernel to match the drlnd environment by using the drop-down Kernel menu.