Questions tagged [flow-project]

Computational framework for reinforcement learning in traffic control https://github.com/flow-project/flow

98 questions
0
votes
1 answer

What exactly is the role of TestEnv class?

I am trying to run the stabilizing_highway.py script in /examples/rllib folder and have collected a set of learning checkpoints. Now I want to compare the improvement due to learning with a baseline scenario like what would have happened if there…
0
votes
0 answers

can't run the sugiyama.py example from the flow example folder

I followed the download instructions and got the conda env to work but when i tried to run the example program I got a message that I did not know how to fix Seems to think that opencv is in python2? any thoughts on why this is happening? Traceback…
0
votes
1 answer

Why does baseline have RL vehicles in the enviornment?

In merge012.py, the baseline performance of the merge scenario should not include any RL control. I am confused, however, because the VehicleParams includes vehicles with an RLController for an acceleration_controller. How can I be sure no RL is…
Isaac
  • 43
  • 6
0
votes
1 answer

How to add stops per vehicle in SUMO , project_flow

I want to add a custom stop for a vehicle, with custom duration time, but the vehicle don't wait the specified duration at the stops I'm trying to use the function 'setStop' from traci/_vehicle. i defined duration and when that didn't work, i tried…
0
votes
1 answer

FLOW error when running "python examples/rllib/traffic_light_grid.py"

I am trying to run a multiagent experiment on the RL-Framework Flow for SUMO. However, if I try to run python examples/rllib/traffic_light_grid.py I get the following errors: traci.exceptions.TraCIException: Invalid departLane definition for…
lospollos
  • 45
  • 5
0
votes
1 answer

How to create a checkpoint in flow

My team and I are trying to determine the throughput of vehicles in a road network for each training iteration. Our plan is to count the number of vehicles that reach an end state(end of road) by the end of the iteration. Is there existing…
Isaac
  • 43
  • 6
0
votes
1 answer

Trouble starting simulation on Ubuntu 18.04

I have no trouble training an RL agent to stabilize traffic on my Macbook pro, but when I attempt to train on Ubuntu 18.04, I receive the following issue: Created LogSyncer for…
Isaac
  • 43
  • 6
0
votes
1 answer

No module Flow found for Aimsun/Flow-project

I am trying to run the sugiyama.py example for Aimsun but it keeps failing and the error I get is no module named 'flow'". I have activated the flow environment (instead of the aimsun-flow) and I have also modified the AIMSUN_NEXT_PATH and…
GeorgiaP
  • 11
  • 2
0
votes
1 answer

Flow package not installed in conda env creation

I have no issue creating an conda environment with the given environment.yml file, but the flow package its self is not installed within the environment. I receive the following error when attempting to import flow within my…
Isaac
  • 43
  • 6
0
votes
1 answer

Where does SUMO locate after installing FLOW? Can we add our own models to SUMO in FLOW?

Sorry the question may sound wierd. I'm looking for the SUMO folder but I can't locate it. Basically I want to add my new car-following model into SUMO, such that I can use the new car following model in FLOW experiments. I'm using Ubuntu 18, after…
Pao Raw
  • 37
  • 6
0
votes
1 answer

Can I use traCI to control traffic signal created by FLOW?

I found the definition of network in SUMO is cumbersome, but FLOW makes it easier to define a larger network (e.g. 10*10 grid) in a more flexible way. I also hope vehicles can turn with certain probablities at intersections. Can I define such…
Pao Raw
  • 37
  • 6
0
votes
0 answers

Can't Run Aimsun examples in FLOW

I followed the installation tutorial and installed FLOW both locally and through Docker. In both cases, the SUMO examples worked but the Aimsun examples didn't run. On my local Ubuntu 18.04 machine, I have installed FLOW and SUMO, and was able to…
Tong Zhao
  • 91
  • 7
0
votes
1 answer

How to implement longest-queue-first rule for traffic lights in SUMO or FLOW?

How to implement longest-queue-first rule for traffic lights in SUMO or FLOW? It seems SUMO only supports three kind of traffic light, which is not flexible enough.
Pao Raw
  • 37
  • 6
0
votes
1 answer

Building wheel for mpi4py (setup.py) ... error message while installing stable_baselines

After pulling the last commit of flow-project, I executed green_wave.py with python3.7.4 and then got these errors consecutively. All these errors happened after executed Running setup.py install for mpi4py ... error command. Below that, you can see…
Ulas Bayram
  • 1
  • 1
  • 1
0
votes
1 answer

Resulting number of episodes_this_iter and timesteps_this_iter

Running the stabilizing highway example and setting: # time horizon of a single rollout HORIZON = 750 # number of rollouts per training iteration N_ROLLOUTS = 10 # number of parallel workers N_CPUS = 1 I would expect it to run an number of…
bmartin
  • 15
  • 3