cityflow-project / CityFlow

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

how to use frap-pub or metalight output on cityflow's index.html #159

Closed nimasler closed 1 year ago

nimasler commented 1 year ago

螢幕擷取畫面 2022-11-12 174924 螢幕擷取畫面 2022-11-12 174940

這是因為資料格式不一樣嗎

zhc134 commented 1 year ago

You should use the roadnetLogFile generated by CityFlow, as specified in config

nimasler commented 1 year ago

螢幕擷取畫面 2022-11-12 174924

螢幕擷取畫面 2022-11-12 174940

do you mean to use the frap-pub's input and do again this step

zhc134 commented 1 year ago

the roadnet json file starting with intersections corresponds to roadnetFile in config, which is the input of CityFlow

the roadnet json file starting with static corresponds to roadnetLogFile in config, which is the output of CityFlow and is used in the Web GUI.

nimasler commented 1 year ago

ok thanks