Questions tagged [flow-project]

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

97 questions
3
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
  • 63
  • 1
  • 4
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…
3
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
  • 152
  • 1
  • 12
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
  • 11,351
  • 6
  • 37
  • 47
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?
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
  • 76
  • 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…
nathanlct
  • 173
  • 1
  • 7
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?
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.
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, …
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…
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"…
Jerry_C
  • 11
  • 1
1
2 3 4 5 6 7