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
- Python 2.7
- Keras 1.1.0
- Tensorflow r0.10
- gym_torcs
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)