Computational framework for reinforcement learning in traffic control https://github.com/flow-project/flow
Questions tagged [flow-project]
98 questions
1
vote
0 answers
Errors in tutorial03_rlib
when running the tutorial03_rllib, I faced some errors.
At step 4.2 (initializing Flow) the errors are:
2020-05-07 21:43:00,585 INFO node.py:498 -- Process STDOUT and STDERR is being redirected to…

Fabiana Fierro
- 11
- 1
1
vote
0 answers
Sumo-gui does not open when running Flow examples
I have tried to install Flow and SUMO within Ubuntu 16.04 by following the steps listed in the documentation:
https://flow.readthedocs.io/en/latest/flow_setup.html
The issue I am facing arises when I reach "Testing your SUMO and Flow installation"…

Lost Fool
- 19
- 5
1
vote
1 answer
Environment object is not subscriptable
I am following the tutorial on the web.
When I tried to run the examples on the tutorials.
On tutorial 1,5,6.There are similar errors:
For tutorial 1,5: TypeError:'AccelEnv' object is not subscriptable.
For tutorial 6: TypeError:'TestEnv' object is…

toby
- 21
- 7
1
vote
1 answer
How to retrieve induction loop information in custom environment?
Hell guys,
I am trying to set up my own environment to train traffic lights to optimize the traffic flow. To do this I want to use area lane detectors.
In the flow tutorials and examples usually general information is retrieved from the whole…

Vallout
- 50
- 9
1
vote
1 answer
'Observation outside expected value range' error when running example 'traffic_light_grid.py'
I'm trying to learn how to use FLOW. When I was trying to run 'flow/example/rllib/traffic_light_grid.py', it kept returning 'Observation outside expected value range' errors, until it reached the maximum error number. I have no idea why only this…

Ming
- 11
- 1
1
vote
1 answer
Errors in tutorial_06 :FileNotFoundError
It can't generate .net.xml file after I run the command in tutorials 06:
# create the environment
env = TestEnv(
env_params=env_params,
sim_params=sim_params,
network=network
)
# run the simulation for 1000 steps
exp =…

QMarkLi
- 203
- 1
- 2
- 5
1
vote
0 answers
I would like to set the speed of a vehicle (or more) using Traci in Flow
I'm using Flow to create a traffic simulation and I should manage the speed of the vehicles using TraCi in a SUMO network designed by me. Unfortunately I cannot understand how to recall in my code the primitives of TraCi made available by FLOW. I…

gi95
- 11
- 1
1
vote
2 answers
FLOW error when running “python examples/SUMO/highway.py”
(flow) lab@lab-500-471cn:~/flow/examples/sumo$ python highway_ramps.py
netconvert: symbol lookup error: netconvert: undefined symbol: _ZN10OGRFeature16GetFieldAsStringEi
Error during start: [Errno 2] No such file or directory:…

Y.Gou
- 11
- 1
1
vote
1 answer
Error in creating a conda environment using 'python setup.py develop'
At first, after I run the command conda env create -f environment.yml. I recieve the following warning:
Warning : you have pip-isntalled dependencies in your environment file, but you do not list pip itself as one of your conda…

QMarkLi
- 203
- 1
- 2
- 5
1
vote
1 answer
Define inflow/s with different depart speeds
I want the vehicles in the inflow to drive constant speed but I want this constant speed to change between episodes (let's make this speed uniformly sampled between 10 m/s and 25 m/s).
E.g. in episode #5 all vehicles drive in 12.3 m/s and in episode…

Gabizon
- 339
- 4
- 15
1
vote
1 answer
Error processing event with use of ray's PPO algorithm
I am using the PPO algorithm - provided by ray - to train an RL agent to stabilize traffic. During the training process, I keep seeing ValueError('Observation outside expected value range', Box(500,) screenshot
However, I don't know which part of my…

Isaac
- 43
- 6
1
vote
1 answer
No module flow.controllers Aimsun/Flow-project
I can't run any of the flow-project examples for aimsun, even though I have followed all the installation steps. The error I get for the sugiyama example is No module named flow.controllers and No module flow.core.experiment for the small_template…

GeorgiaP
- 11
- 2
1
vote
0 answers
Is dynamic user equilibrium (duaRouter) compatible with FLOW?
In the grid example, I found vehicles are not turning and routes are fixed. Is there any method to let vehicles iteratively find 'shortest path'? I mean, can we implement dynamic user equilibrium when using FLOW?
SUMO provides duaIterate.py, can…

Pao Raw
- 37
- 6
1
vote
2 answers
Adding bus stops to routes? (Flow, SUMO)
I want to create bus stops (or train stops). How can I do this in flow?
SUMO has this Option: https://sumo.dlr.de/wiki/Simulation/Public_Transport, but routes do not seem to have this option (in Flow).
I tried adding them nevertheless to the…

Who Knows
- 68
- 5
1
vote
1 answer
Error when running green wave example script for rllib flow
I am trying to run the python green_wave rllib example to learn how to implement RL traffic lights and I can not manage to get any of the scripts to run. It gives me an error each time to say "Trials did not complete" and I don't know why.
Here is…

Lottie Roman
- 11
- 1