PPO-TORCS
This repo contains code for PPO to solve non vision TORCS
The TORCS gym env has been taken from https://github.com/ugo-nama-kun/gym_torcs . A few changes have been made to that code.
setting up:
-
cd into TORCS/vtorcs-RL-color
sudo apt-get install libglib2.0-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libplib-dev libopenal-dev libalut-dev libxi-dev libxmu-dev libxrender-dev libxrandr-dev libpng-dev
./configure
sudo make
sudo make install
sudo make datainstall
- python dependancies:
conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
pip install gym
pip install tensorboardX
Running:
python main.py