Skip to content

This is for Reinforcement Learning course project. Based on "Using Keras and Deep Deterministic Policy Gradient to play TORCS", we add experience training before RL process.

License

Notifications You must be signed in to change notification settings

yongming-qin/auto_car_experience_training

Repository files navigation

auto_car_experience_training

This is for Reinforcement Learning course project. Based on "Using Keras and Deep Deterministic Policy Gradient to play TORCS", we add experience training before RL process.

How to Run?

python pre_train.py Before that, should set up the environment following below original tutorial.


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)

About

This is for Reinforcement Learning course project. Based on "Using Keras and Deep Deterministic Policy Gradient to play TORCS", we add experience training before RL process.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published