Chang Liu
Chang Liu
You need to load both the replay-roadnet.json and replay.txt, please note that after running you will get a new roadnet.json, which is for the frontend.
In the Presslight paper, they conduct experiments on CityFlow. The parameters you mentioned in the issue are not the parameter of CityFlow but of their RL model.
If your replay.txt is empty, it means you did not save the replay or some error occurs when running CityFlow. You can test your browser by running an existing replay_roadnet.json...
How many steps did you run? You can output the total vehicle count in every step to see whether the simulation is working.
En, you should run the engine after you create it by "eng.next_step()".
You are welcome~
Yes, we do have a converter. see it in https://github.com/cityflow-project/CityFlow/tree/master/tools/converter
For Windows users, it is recommended to run CityFlow under Windows Subsystem for Linux (WSL) or use docker.
These x,y numbers are coordinates, you can regard it as a coordinate in a Cartesian coordinate system.
Could you please describe the error in detail?