Skip to content

jastfkjg/DDPG_Torcs_PyTorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d3a542c · Jan 5, 2019

History

15 Commits
Nov 19, 2018
Oct 21, 2018
Oct 19, 2018
Jan 5, 2019
Oct 12, 2018
Nov 17, 2018
Oct 19, 2018
Nov 19, 2018
Oct 19, 2018
Nov 19, 2018
Oct 21, 2018
Oct 12, 2018
Nov 19, 2018

Repository files navigation

Using PyTorch and DDPG to play Torcs

This code is developed based on DDPG_Torcs (https://github.com/yanpanlau/DDPG-Keras-Torcs) and Gym-Torcs (https://raw.githubusercontent.com/ugo-nama-kun/gym_torcs).

The detailed explanation of original TORCS for AI research is given by Daniele Loiacono et al. (https://arxiv.org/pdf/1304.1672.pdf)

Requirements

How to Run?

git clone https://github.com/jastfkjg/DDPG_Torcs_PyTorch.git
cd DDPG_Torcs_PyTorch
python test.py

training

You can train the model both on cpu or gpu.

After 100 episodes (about one hour) the car can have a good performance.

If you want to change the reward function, see gym_torcs.py .

About

Using PyTorch and DDPG to play Torcs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published