CityBrainChallenge / KDDCup2021-CityBrainChallenge-starter-kit

75 stars 40 forks source link

how to access roadnet info in agent? #8

Closed tiefan closed 3 years ago

tiefan commented 3 years ago

it seems that the "path" args associated with the roadnet file, only passed to the evaluate.py file, and the agent cannot acquire the "path" of roadnet.txt. obviously, the roadnet info is so essential, just like the 8 phases of the intersection. i can not solve the problem without these information. if you do not agree, convince me; if you agree, tell me how

zhyliu00 commented 3 years ago

Thanks for your comment. You could load the roadnet info by copy roadnet.txt to your agent folder, and load the information you need via modifying agent.py. We will add new interface for load roadnet information in agent.py soon.

tiefan commented 3 years ago

Thanks