0

我正在尝试在 SUMO 的 RL-Framework Flow 上运行多代理实验。但是,如果我尝试运行,
python examples/rllib/traffic_light_grid.py我会收到以下错误:

traci.exceptions.TraCIException: Invalid departLane definition for vehicle 'idm_0'; must be one of ("random", "free", "allowed", "best", "first", or an int>=0)

traci.exceptions.TraCIException: Vehicle 'idm_0' is not known

我使用来自 github 和sumo-version的最新流版本:Eclipse SUMO Version v1_1_0+0000-2147d155b1

你知道如何解决这个问题吗?我已经尝试过运行不同的 sumo & flow 版本。
谢谢和BR

4

1 回答 1

1

在 SumoParams 中尝试设置 'restart_instance=true'

于 2020-06-07T05:15:22.440 回答