cityflow-project / CityFlow

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

How to converts a sumo flow file, eg. cross.trips.xml, to CityFlow format? #91

Open chuckbassx opened 4 years ago

chuckbassx commented 4 years ago

I have read your docs, in the 'Roadnet File Format' chapter, it mentioned 'python converter.py' can convert a sumo roadnet file to CityFlow format. And do you have some code to convert a to CityFlow format?

only-changer commented 4 years ago

Yes, we do have a converter. see it in https://github.com/cityflow-project/CityFlow/tree/master/tools/converter

chuckbassx commented 4 years ago

Sorry , I mean convert a 'SUMO FLOW FILE', eg. cross.trips.xml, to CityFlow format (such as cross_trip.json), NOT convert 'sumo roadnet file'

mainakchain commented 4 years ago

Can we make the cityflow format flow file in anyway? I don't find it anywhere in the documentation or any example. I do have the roadnet file but I am not able to get the flow file. Please help @chuckbassx @only-changer.

sinaKGT commented 6 months ago

i have same problem but didn't find any solution to that, unfortunately this repo is only tool for their author to create paper and didn't update in last 5 years and answer the users' problems.