All Projects → anassinator → dqn-obstacle-avoidance

anassinator / dqn-obstacle-avoidance

Licence: MIT license
Deep Reinforcement Learning for Fixed-Wing Flight Control with Deep Q-Network

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to dqn-obstacle-avoidance

Deep-Reinforcement-Learning-With-Python
Master classic RL, deep RL, distributional RL, inverse RL, and more using OpenAI Gym and TensorFlow with extensive Math
Stars: ✭ 222 (+289.47%)
Mutual labels:  deep-reinforcement-learning, dqn
Deeprl
Modularized Implementation of Deep RL Algorithms in PyTorch
Stars: ✭ 2,640 (+4531.58%)
Mutual labels:  deep-reinforcement-learning, dqn
Drl
Repository for codes of 'Deep Reinforcement Learning'
Stars: ✭ 172 (+201.75%)
Mutual labels:  deep-reinforcement-learning, dqn
king-pong
Deep Reinforcement Learning Pong Agent, King Pong, he's the best
Stars: ✭ 23 (-59.65%)
Mutual labels:  deep-reinforcement-learning, dqn
pytorch-distributed
Ape-X DQN & DDPG with pytorch & tensorboard
Stars: ✭ 98 (+71.93%)
Mutual labels:  deep-reinforcement-learning, dqn
Minimalrl
Implementations of basic RL algorithms with minimal lines of codes! (pytorch based)
Stars: ✭ 2,051 (+3498.25%)
Mutual labels:  deep-reinforcement-learning, dqn
Hands On Intelligent Agents With Openai Gym
Code for Hands On Intelligent Agents with OpenAI Gym book to get started and learn to build deep reinforcement learning agents using PyTorch
Stars: ✭ 189 (+231.58%)
Mutual labels:  deep-reinforcement-learning, dqn
Easy Rl
强化学习中文教程,在线阅读地址:https://datawhalechina.github.io/easy-rl/
Stars: ✭ 3,004 (+5170.18%)
Mutual labels:  deep-reinforcement-learning, dqn
Learning To Communicate Pytorch
Learning to Communicate with Deep Multi-Agent Reinforcement Learning in PyTorch
Stars: ✭ 236 (+314.04%)
Mutual labels:  deep-reinforcement-learning, dqn
Pytorch Drl
PyTorch implementations of various Deep Reinforcement Learning (DRL) algorithms for both single agent and multi-agent.
Stars: ✭ 233 (+308.77%)
Mutual labels:  deep-reinforcement-learning, dqn
DQN-using-PyTorch-and-ML-Agents
A simple example of how to implement vector based DQN using PyTorch and a ML-Agents environment
Stars: ✭ 81 (+42.11%)
Mutual labels:  deep-reinforcement-learning, dqn
Drl based selfdrivingcarcontrol
Deep Reinforcement Learning (DQN) based Self Driving Car Control with Vehicle Simulator
Stars: ✭ 249 (+336.84%)
Mutual labels:  deep-reinforcement-learning, dqn
Keras Rl2
Reinforcement learning with tensorflow 2 keras
Stars: ✭ 134 (+135.09%)
Mutual labels:  deep-reinforcement-learning, dqn
Deep Reinforcement Learning Algorithms
31 projects in the framework of Deep Reinforcement Learning algorithms: Q-learning, DQN, PPO, DDPG, TD3, SAC, A2C and others. Each project is provided with a detailed training log.
Stars: ✭ 167 (+192.98%)
Mutual labels:  deep-reinforcement-learning, dqn
Deep Rl Tensorflow
TensorFlow implementation of Deep Reinforcement Learning papers
Stars: ✭ 1,552 (+2622.81%)
Mutual labels:  deep-reinforcement-learning, dqn
Machine Learning Is All You Need
🔥🌟《Machine Learning 格物志》: ML + DL + RL basic codes and notes by sklearn, PyTorch, TensorFlow, Keras & the most important, from scratch!💪 This repository is ALL You Need!
Stars: ✭ 173 (+203.51%)
Mutual labels:  deep-reinforcement-learning, dqn
Torchrl
Highly Modular and Scalable Reinforcement Learning
Stars: ✭ 102 (+78.95%)
Mutual labels:  deep-reinforcement-learning, dqn
Reinforcement Learning
🤖 Implements of Reinforcement Learning algorithms.
Stars: ✭ 104 (+82.46%)
Mutual labels:  deep-reinforcement-learning, dqn
Deep Rl Trading
playing idealized trading games with deep reinforcement learning
Stars: ✭ 228 (+300%)
Mutual labels:  deep-reinforcement-learning, dqn
Reinforcement Learning
Minimal and Clean Reinforcement Learning Examples
Stars: ✭ 2,863 (+4922.81%)
Mutual labels:  deep-reinforcement-learning, dqn

Deep Reinforcement Learning for Fixed-Wing Flight Control

This is a Deep Q-Network (DQN) reinforcement learning agent which navigates a fixed wing aircraft in a simulator to a target waypoint while avoiding stationary and moving obstacles.

This is our submission to our final project of McGill University's ECSE 526 - Artificial Intelligence course.

screen shot 2016-11-30 at 02 24 59

Setup

To run this, one needs to set up MIT's director visualization tool as it will be used to display the simulator. Instructions on how to build this can be found here.

Following that, you must set up an alias for the directorPython executable that was built. This can be simply done by running:

alias director=/path/to/director/build/install/bin/directorPython

You can add this to your shell profile to avoid running this every time.

Finally, you need to install Tensorflow for Python 2.7. This can be done by following the steps here.

Running

Once everything is setup, you can simply run:

director simulator.py

or

director simulator.py --help

for advanced options.

If everything works out, a window should appear with a plane model that flies around slowly learning how to reach the green circle and avoiding the white circle as in the screenshot above. The white circles denote obstacles, whereas the green circle denotes a target waypoint. The rays protruding from the plane represent the distances measured by the plane's sensor.

The learning process will take several hundreds of episodes, but rerunning the simulation will proceed from where it left off by reusing the model.ckpt file.

Acknowledgements

This project was inspired by the work found here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].