← Open Source

Using Keras and Deep Deterministic Policy Gradient to play TORCS.

Model DevelopmentReinforcement LearningPython
Momentum
+0stars in 24 hours0.0%
725
Stars
257
Forks
+0
This week
1
Contributors
Created 2016-10-11 · Updated 2026-11-10 · #18498 today
Top developers
yanpanlau
README

Using Keras and Deep Deterministic Policy Gradient to play TORCS

300 lines of python code to demonstrate DDPG with Keras

Please read the following blog for details

https://yanpanlau.github.io/2016/10/11/Torcs-Keras.html

Installation Dependencies:

  • Python 2.7
  • Keras 1.1.0
  • Tensorflow r0.10
  • gym_torcs

How to Run?

git clone https://github.com/yanpanlau/DDPG-Keras-Torcs.git
cd DDPG-Keras-Torcs
cp *.* ~/gym_torcs
cd ~/gym_torcs
python ddpg.py 

(Change the flag train_indicator=1 in ddpg.py if you want to train the network)

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store