Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanpanlau/DDPG-Keras-Torcs
Using Keras and Deep Deterministic Policy Gradient to play TORCS
https://github.com/yanpanlau/DDPG-Keras-Torcs
Last synced: 2 months ago
JSON representation
Using Keras and Deep Deterministic Policy Gradient to play TORCS
- Host: GitHub
- URL: https://github.com/yanpanlau/DDPG-Keras-Torcs
- Owner: yanpanlau
- Created: 2016-10-11T14:10:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-04T22:54:21.000Z (about 7 years ago)
- Last Synced: 2024-08-03T23:03:32.173Z (6 months ago)
- Language: Python
- Size: 14 MB
- Stars: 715
- Watchers: 34
- Forks: 267
- Open Issues: 60
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Github-Repositories - Using Keras and Deep Deterministic Policy Gradient to play TORCS
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
![](fast.gif)
# Installation Dependencies:
* Python 2.7
* Keras 1.1.0
* Tensorflow r0.10
* [gym_torcs](https://github.com/ugo-nama-kun/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)