Skip to content

Deep Reinforcement Learning (BLG604E) Project Files for Students

Notifications You must be signed in to change notification settings

myildirimm/blg604-proje

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environment Setup

Download Simstar from the link:

https://drive.google.com/open?id=1Gp-XXnOX9dbDcfqFJNJ4UtZqo9sWqjUg

v.1.5.3

A new version of SimStar is released. It has fixed step with syncronized mode and faster simulation features.

Python API also has been updated for this new release, you need to install Python API again.

v.1.5.3.D Changelog

Change Log:

  • Run simulation in server mode without a new window.

  • Flags are added every 200meters along the track.

  • Example eval script with a new evaluation track added. Lap progress and lap time is measured. Eval is fixed at 10hz sampling.

Checkout GymEnv/Readme.md for details.

Windows

Just click on Simstar.exe and Simstar is ready

Linux

cd Simstar

chmod 777 -R *

./Simstar.sh

Requirements

Python Package Requirements

Option 1: Install using Anaconda

Create a new environment using anaconda.

conda env create --file environment.yml

conda activate final604

Option 2: Install using pip

Install required python libraries from requirements.txt by

pip install -r requirements.txt

Pytorch Installation

Follow the official guide from the link.

The final evaluation will be using pytorch version 1.5 and CUDA version 10.2.

Install Python API

  cd PythonAPI

  python setup.py install

Installation Test

There are multiple stages that needs to be checked.

1. Test Simstar Executable

Open the simstar executable, allow for networking if asked.

opening_screen

2. Test PythonAPI installation

Run the following with success.

cd PythonAPI

python python_api_intro.py

3. Test Environment Setup

cd GymEnv

python example_experiment.py

Optional Test

To test a closed loop training with Pytorch, you can run the example DDPG agent from examples folder.

cd examples/pytorch

python train.py

About

Deep Reinforcement Learning (BLG604E) Project Files for Students

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%