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

change the writeFlags of rapidjson writter from defualt to kWriteNanAndInfFlag #143

Open snowman109 opened 2 years ago

snowman109 commented 2 years ago

Sometimes when I call the archive.dump() function, the json file is not saved. Then I find vehicle.ControllerInfo.gap may be nan and save failed.