Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.81 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.81 KB

Deep RL Quadcopter Controller

This project is part of Udacity's Reinforcement Learning chapter in the Machine Learning Engineer Nanodegree Program and the Deep Learning Nanodegree Program.

The original repository can be found here.

Goal

This project aims to derive an agent that controls a quadcopter drone to perform take off task with maximized accuracy.

Algorithm

The algorithm used in the final design of the agent is the Deep Deterministic Policy Gradients (DDPG). The agent consists of an actor and a critic, both used deep neural networks as the learning engine.

Result

The results can be found in the project's notebook.

Project Instructions

  1. Clone the repository and navigate to the downloaded folder.
git clone https://github.com/bqnguyen94/RL-Quadcopter-2.git
cd RL-Quadcopter-2
  1. Create and activate a new environment.
conda create -n quadcop python=3.6 matplotlib numpy pandas
source activate quadcop
  1. Create an IPython kernel for the quadcop environment.
python -m ipykernel install --user --name quadcop --display-name "quadcop"
  1. You will need to install Keras and a backend package to train the actor and critic. It is recommended to use Keras + Tensorflow. Installation of these packages on Unix systems should be straightforward; on Windows, you can follow these steps.. Note that you can opt for the GPU-supported version of Tensorflow for better performance; to do so, follow this guide.

  2. Now that everything is set, you can open the notebook.

jupyter notebook Quadcopter_Project.ipynb