Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
img added aimsun examples and tutorials Jan 12, 2019
README.md
tutorial01_sumo.ipynb modified tutorials Jan 9, 2019
tutorial02_aimsun.ipynb added aimsun examples and tutorials Jan 12, 2019
tutorial03_rllib.ipynb modified tutorial 3 to be compatible with ray 0.6.1 Feb 5, 2019
tutorial04_rllab.ipynb added aimsun examples and tutorials Jan 12, 2019
tutorial05_visualize.ipynb added aimsun examples and tutorials Jan 12, 2019
tutorial06_scenarios.ipynb added aimsun examples and tutorials Jan 12, 2019
tutorial07_environments.ipynb added aimsun examples and tutorials Jan 12, 2019
tutorial08_controllers.ipynb added aimsun examples and tutorials Jan 12, 2019
tutorial09_traffic_lights.ipynb added aimsun examples and tutorials Jan 12, 2019
tutorial10_inflows.ipynb
tutorial11_rllab_ec2.ipynb

README.md

Flow Tutorials

Setup

  1. Make sure you have Python 3 installed (we recommend using the Anaconda Python distribution).
  2. Install Jupyter with pip install jupyter. Verify that you can start a Jupyter notebook with the command jupyter-notebook.
  3. Install Flow by executing the following installation instructions.

Tutorials

Each file tutorials/tutorial*.ipynb is a separate tutorial. They can be opened in a Jupyter notebook by running the following commands.

cd <flow-path>/tutorials/exercises
jupyter-notebook

Instructions are written in each file. To do each exercise, first run all of the cells in the Jupyter notebook. Then modify the ones that need to be modified in order to prevent any exceptions from being raised. Throughout these exercises, you may find the Flow documentation helpful. The content of each exercise is as follows:

Tutorial 1: Running SUMO simulations in Flow.

Tutorial 2: Running Aimsun simulations in Flow.

Tutorial 3: Running RLlib experiments for mixed-autonomy traffic.

Tutorial 4: Running rllab experiments for mixed-autonomy traffic.

Tutorial 5: Saving and visualizing resuls from non-RL simulations and testing simulations in the presence of an RLlib/rllab agent.

Tutorial 6: Creating custom scenarios.

Tutorial 7: Creating custom environments.

Tutorial 8: Creating custom controllers.

Tutorial 9: Traffic lights.

Tutorial 10: Running simulations with inflows of vehicles.

Tutorial 11: Running rllab experiments on Amazon EC2 instances.