Computational framework for reinforcement learning in traffic control https://github.com/flow-project/flow
Questions tagged [flow-project]
98 questions
0
votes
0 answers
When trying to use "python rllib/ppo_runner.py --benchmark_name merge4_Sim --num_cpus number_of_cores --lr 5e-5 --num_rollouts 2" error is reported
This is a part of my graduation project,when I try to run ‘python rllib/ppo_runner.py --benchmark_name merge4_Sim --num_cpus number_of_cores --lr 5e-5 --num_rollouts 2’ for Centralized experiments,an error occurred .Please see the attachment for…

Auntilz
- 1
0
votes
1 answer
CMake error in installing Ray on Ubuntu 18.04
I cloned the Ray repository from Github (https://github.com/flow-project/ray.git) and am trying to install it on Ubuntu 18.04. I followed the instructions provided on https://flow.readthedocs.io/en/latest/flow_setup.html, but am encountering an…

FahimSh87
- 1
- 1
0
votes
1 answer
Adding exports to ~/.bashrc
I'm working on installing the flow-project and I'm getting a message to add some things into my bashrc. Not sure if it matters but I'm on macOS.
This is the message it reads: https://i.stack.imgur.com/EbP3j.png
~/flow
Add the following to your…

vanillamochi
- 3
- 4
0
votes
1 answer
Ray and flow conflict
ERROR: Cannot install flow==0.5.0.dev0 and ray==0.8.0 because these package versions have conflicting dependencies.
The conflict is caused by:
flow 0.5.0.dev0 depends on redis~=2.10.6
ray 0.8.0 depends on redis>=3.3.2
To fix this you could try…
0
votes
1 answer
Error running "python examples/simulate.py ring"
When I run sumo --version after running scripts/setup_sumo_osx.sh it gives me the error:
dyld: Library not loaded: /usr/local/opt/proj/lib/libproj.15.dylib.
Referenced from: /Users/marsalis/sumo_binaries/bin/sumo
Reason: image not found
This…

Marsalis Gibson
- 41
- 5
0
votes
1 answer
File error while running the tutorial06 "Networks from OpenStreetMap" from FLOW project
I'm learning the FLOW project and doing their tutorial06 "Networks from OpenStreetMap". In this tutorial, one should be able to use the .osm file to run the simulation. However, there is an error raised, that the .xml of the network config files are…

Anjie Qiu
- 11
- 4
0
votes
1 answer
How to disable warnings in Flow?
I have set all loggers to CRITICAL:
import logging
loggers = [logging.getLogger()]
loggers = loggers + [logging.getLogger(name) for name in logging.root.manager.loggerDict]
for logger in loggers:
logger.setLevel(logging.FATAL)
and I still get…

mehh
- 59
- 1
- 9
0
votes
1 answer
Flow-Project tutorial 04 visualizer_rllib.py error
I am new to flow and working through the examples. In tutorial 04 visualize example I get an attribute error. The code in the cell is
!python ../flow/visualize/visualizer_rllib.py data/trained_ring 200 --horizon 2000
and the error I get is:
File…

jaykobbiejnr
- 41
- 6
0
votes
1 answer
error: consider creating fewer actors or increase the resources available to this Ray cluster
I had this problem when I try to run on virtual box: python examples/train.py singleagent_traffic_light_grid.
I appreciate your time to help to fix it.

Saeedeh
- 23
- 1
0
votes
1 answer
Flow-project bind redis to localhost for security
I'm learning flow tutorials and running into a security issue that the package "redis" used by flow is listening to the whole internet.
See https://redis.io/topics/security
The solution is to bind redis to 127.0.0.1 in redis.conf listed in above…

lccycc
- 11
0
votes
0 answers
How to get lateral position in flow
I want to get the position of cars in flow.
I know using both self.k.vehicle.get_position and self.k.vehicle.get_x_by_id can get longitudinal position.
I checked methods in flow/core/kernel/vehicle/traci.py,there are get_edge get_lane get_headway,…

Elizabeth
- 11
- 1
0
votes
0 answers
Replacing the image of the car with something else
Is there a way to swap the default image of the white car used in the flow simulation with another image?
What I tried: I searched the /flow/ directory looking for .jpeg or .png images of a white car. I couldn't find any. Is this being generated via…

Culpable
- 69
- 4
0
votes
2 answers
Error "want to read 4 bytes from Storage, but only 3 remaining" when running example stabilizing_the_ring.py
I am already install flow0.5, sumo 1.1, RLlib and Stable Baseline.
I didn't know how to use sumo_binaries folder automatically downloaded with flow, so I installed sumo 1.1 from source.
The example python examples/sumo/sugiyama.py runs well.
But…

Elizabeth
- 11
- 1
0
votes
2 answers
Is it possible to install Flow on Windows 10
I am trying to install flow but I am on Windows 10. When reading the installation instruction https://flow.readthedocs.io/en/latest/flow_setup.html#local-installation I feel like it is only possible to do it on a Ubuntu/Mac distribution ...
Do you…

Julien Guégan
- 13
- 3
0
votes
0 answers
Running a pre-built scenario like MoSTScenario with Flow
I would like to train a single controlled agent in the MoSTScenario with flow, my problem is that I want the default configuration of the MoSTScenario not to be touched by flow. The thing is that I want to maintain all the configuration in the…

Alberto Coello
- 13
- 3