Skip to content

RobeSafe-UAH/DDPG-CARLA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Deterministic Policy Gradient

Deep Reinforcement Learning based on DDPG using CARLA Simulator for self-driving vehicles. DQN architecture

Overview

This project uses CARLA Simulator and DQN algorithm to training agents which could predict the following action to be taken by a self-driving vehicle in terms of control commands. Several agents are contemplated in the project depending on the input data used to train the Deep Reinforcement Learning algorithm. Both training and validation programs are available in the repository.

Requirements

  • Python3.6
  • Numpy
  • Tensorflow==1.14.0
  • Keras==2.2.4
  • OpenCV==4.1.2

This requirements will be installed automatically by using

pip3 install -e requirements.txt"

Get Started and Usage

config.py

Choose the desire settings in config.py before launch any training or play stage. Make sure that the paths involve in the program exist, if not, create them to avoid failures in execution.

DDPG/critc.py & DDP/actor.py

Settings for Neural Networks involve in training process.

launch_DQN.py

In a terminal make:

python3 launch_DDPG.py

Results

Each training attempt generates a log file into logs folder where some metrics are saved in order to check how the process is working. DQN average reward DQN average distance DQN maximum reward

Video

DQN gif DQN gif

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages