This code is developed based on DDPG_Torcs (https://github.com/yanpanlau/DDPG-Keras-Torcs), Gym-Torcs (https://raw.githubusercontent.com/ugo-nama-kun/gym_torcs) and DDPG_Torcs_PyTorch (https://github.com/jastfkjg/DDPG_Torcs_PyTorch).
The detailed explanation of original TORCS for AI research is given by Daniele Loiacono et al. (https://arxiv.org/pdf/1304.1672.pdf)
- Python 3
- gym_torcs
- PyTorch 0.4.1
git clone https://github.com/YYan99/Torcs_PyTorch.git
cd Torcs_PyTorch
python test_DDPG.py
python test_PPO.py
python test_SAC.py
python test_TD3.py
python test_LSTM_TD3.py # LSTM_TD3
python test_TD3P.py # TAD3