cityflow-project / CityFlow

A Multi-Agent Reinforcement Learning Environment for Large Scale City Traffic Scenario
https://cityflow-project.github.io
Apache License 2.0
785 stars 173 forks source link

Grid Generation Error #136

Closed AhmadM-DL closed 1 year ago

AhmadM-DL commented 3 years ago

I am trying to generate a grid roadnet of 1x8 dimensions ( eight consecutive intersections) However executing the grid generator with params 1 and 8 is returning a grid of shape 1x2. Any though?

only-changer commented 3 years ago

Emmm, I can't figure out why this happens. Could you please try to read the code of "generate_json_from_grid.py", which is a very simple and clear code.