Autonomous driving research using deep reinforcement learning
Top 69.0% on sourcepulse
This project implements a Proximal Policy Optimization (PPO) agent for autonomous driving within the CARLA simulator. It targets researchers and developers interested in applying deep reinforcement learning to continuous control problems in realistic driving scenarios, offering a complete end-to-end solution with a focus on learning from high-dimensional visual input.
How It Works
The core approach combines a Variational Autoencoder (VAE) with the PPO algorithm. The VAE compresses high-dimensional, semantically segmented images from the CARLA simulator into a lower-dimensional latent space, aiming to facilitate faster and more efficient learning for the PPO agent. PPO, an on-policy algorithm, is then used to train the agent to navigate a predetermined route by learning a policy that maps states (latent representations) to continuous actions (steering, throttle, etc.).
Quick Start & Requirements
python -m venv venv
, source venv/bin/activate
), install dependencies (pip install -r requirements.txt
), and run cd poetry/ && poetry update
.python continuous_driver.py --exp-name=ppo --train=False
to use a pre-trained agent.python continuous_driver.py --exp-name ppo
to train a new agent.Highlighted Details
Maintenance & Community
The project is authored by Idrees Razak. Further community or maintenance information is not detailed in the README.
Licensing & Compatibility
Limitations & Caveats
The project specifies CARLA version 0.9.8, which may be outdated. The README mentions a "Duelling DQN agent (work in progress)" but focuses primarily on PPO, suggesting other agents might be less mature.
1 year ago
Inactive