This repository contains material related to Udacity's Deep Reinforcement Learning Nanodegree program.
To set up your python environment to run the code in this repository, follow the instructions below.
-
Create (and activate) a new environment with Python 3.6.
- Linux or Mac:
conda create --name deeprl python=3.6 source activate deeprl
- Windows:
conda create --name deeprl python=3.6 activate deeprl
-
Follow the instructions in this repository to perform a minimal install of OpenAI gym.
-
Clone the repository, and navigate to the
python/
folder. Then, install several dependencies.
git clone https://github.com/udacity/deep-reinforcement-learning.git
cd deep-reinforcement-learning/python
pip install .
- Create an IPython kernel for the
deeprl
environment.
python -m ipykernel install --user --name deeprl --display-name "deeprl"
- Before running code in a notebook, change the kernel to match the
deeprl
environment by using the drop-downKernel
menu.