Computational framework for reinforcement learning in traffic control https://github.com/flow-project/flow
Questions tagged [flow-project]
98 questions
17
votes
2 answers
Warning after I run the command "conda env create -f environment.yml"
After I run the conda env create -f environment.yml in Conda, I receive the following warning:
Warning : you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies...
What does…

QMarkLi
- 203
- 1
- 2
- 5
6
votes
1 answer
libproj not loaded while installing sumo on macOS
I was going through the Flow installation and when I typed sumo --version into the terminal I got the following error message:
dyld: Library not loaded: /usr/local/opt/proj/lib/libproj.13.dylib
Referenced from:…

Rayyan
- 210
- 2
- 14
3
votes
0 answers
when test the grid scenario, there is an valueError
On flow tutorial_8, I tried another scenario: SimpleGridScenario
I already check the grid.py, and followed the rules for the parameters.
My origianl program is that:
from flow.envs import Env
from gym.spaces.box import Box
from…

user11795736
- 69
- 5
3
votes
1 answer
Flow: How to distribute reinforcement vehicles (RL) vehicles uniformly?
I have a question about Flow the deep re-enforcement learning framework.
How do I add multiple RL vehicles among the human-driven vehicles so that the RL vehicles are distributed evenly?
I checked out the docs and examples but wasn't sure how to…

Mark Stosberg
- 12,961
- 6
- 44
- 49
2
votes
0 answers
Cannot define custom metrics in ray
I'm using a framework called FLOW RL. It enables me to use rllib and ray for my RL algorithm. I have been trying to plot non learning data on tensorboard. Following ray documentation ( link ), I have tried to add custom metrics. Therefore, I need to…

Antonio Domínguez
- 51
- 3
2
votes
1 answer
lxml error when running sugiyama.py on Mac
Recently I want to try flow-project on Mac, and after installing all requirements and trying to run python examples/sumo/sugiyama.py, I got an error as stated below. Could you please help me to solve it?
Traceback (most recent call last):
File…

khahuras
- 21
- 1
2
votes
1 answer
How to change sizes of vehicle in Flow simulation?
It seems that we can only create a stable size of vehicles in Flow Simulation. How can we change the size(include length, width of car) of vehicles?

Hongyong Huang
- 45
- 5
2
votes
1 answer
Running the grid0 baseline benchmark in Flow
Repost from User Timo N.
Hi guys,
When running the grid0 baseline benchmark, I encountered a problem regarding the traffic lights.
I adjusted the number of rows and columns to 1 so the scenario fits my needs.
When running, the traffic lights have…

Alben
- 78
- 5
2
votes
1 answer
Error `no module named flow` when trying to use Aimsun with Flow
Repost from Flow team (question by Ziyuan G.)
I followed Flow's installation steps and everything went well until testing my AIMSUN installation.
AIMSUN was installed correctly, but when I tried python examples/aimsun/sugiyama.py, an error came up…

math.husky
- 193
- 1
- 8
2
votes
1 answer
Load model from snapshot in the Flow environment
Repost from Flow user "ml jack":
I'm in the process of RL training with flow and rllab. Snapshots are periodically saved. Is there a way to load these snapshot and test/re-evaluate them in the flow environment?

Marsalis Gibson
- 41
- 5
2
votes
1 answer
How to integrate SUMO into Flow?
Repost from Antonio D.:
I just installed FLOW following all the instructions given in the following link. After executing the sugiyama example, SUMO shows an error saying this: "Error: tcpip::Storage::readIsSafe: want to read 8 bytes from Storage,…

Fangyu Wu
- 76
- 6
2
votes
1 answer
How I can add a trained RL controlled vehicle to the system in tutorial01?
I would like to know how I can add a trained RL controlled vehicle in the system in the tutorial01.
I have run the tutorial04_rllab. I added an RL controlled vehicle with the name “r1” and successfully trained it. Now, when I want to do the same in…

Ashkan
- 238
- 1
- 10
2
votes
2 answers
How to use Flow for heterogeneous traffic?
Since sumo doesn't natively support heterogeneous traffic, but the published paper says Flow could be used for this type of traffic, I was wondering how this is done with Flow as there is nothing about this in the documentation.

Vishal Hundal
- 23
- 2
1
vote
0 answers
IndexError when run the flow/envs/ring/lane_change_accel
when I run the flow/envs/ring/lane_change_accel,there is an error:
Traceback (most recent call last):
File "/home/vcdc/anaconda3/envs/flow/lib/python3.7/site-packages/ray/tune/trial_runner.py", line 426, in _process_trial
result =…

liw17150934
- 11
- 1
1
vote
1 answer
Missing file (net.xml) in Running Environment Flow
On tutorial 01 from flow:Tutorial 01.
I executed the code
flow_params = dict(
exp_tag='ring_example',
env_name=AccelEnv,
network=RingNetwork,
simulator='traci',
sim=sim_params,
env=env_params,
net=net_params,
…

Sidnetopia
- 97
- 8