FranBesq / tlc-baselines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Traffic Light Control Baselines

This repo provides OpenAI Gym compatible environments for traffic light control scenario and a bunch of baseline methods.

Environments include single intersetion (single-agent) and multi intersections (multi-agents) with different road network and traffic flow settings.

Baselines include traditional TLC algorithms and reinforcement learning based methods.

About this fork

  • Adds flow and roadmap files from Colight's repo
  • Random agent for lower bound performance
  • (WIP) Better and unified logging without conflicting files. (copying what was done with run_dqn.py)
  • (WIP) Insta plotting

Requirements

  • CityFlow
  • Tensorflow 1.1x
  • OpenAI gym
  • Numpy

Run

Just run any of the run_* scripts

python run_dqn.py

About


Languages

Language:Python 100.0%