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.
This project aims to derive an agent that controls a quadcopter drone to perform take off task with maximized accuracy.
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.
The results can be found in the project's notebook.
- Clone the repository and navigate to the downloaded folder.
git clone https://github.com/bqnguyen94/RL-Quadcopter-2.git
cd RL-Quadcopter-2
- Create and activate a new environment.
conda create -n quadcop python=3.6 matplotlib numpy pandas
source activate quadcop
- Create an IPython kernel for the
quadcop
environment.
python -m ipykernel install --user --name quadcop --display-name "quadcop"
-
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.
-
Now that everything is set, you can open the notebook.
jupyter notebook Quadcopter_Project.ipynb