Open acjoseph opened 4 years ago
@acjoseph The traceback indicates that departLane isn't set correctly. This is set in the experiment script (i.e. flow/examples/stable_baselines/traffic_light_grid.py and flow/examples/rllib/traffic_light_grid.py). What are you setting your departLane to? As the traceback indicates, it should be one of ("random", "free", "allowed", "best", "first", or an int>=0)
@kjang96 this seems to be a bigger issue; her code runs on Ubuntu 16.04 but not 18.04
@kevin-thankyou-lin this person is having the same issue as you
Oh awesome, I’ll see if I can figure it out.
On Thu, 28 Nov 2019 at 10:53, Eugene Vinitsky notifications@github.com wrote:
@kevin-thankyou-lin https://github.com/kevin-thankyou-lin this person is having the same issue as you
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/flow-project/flow/issues/787?email_source=notifications&email_token=AH6MY6P2QLK2WVBGQNFZGXLQWAHRLA5CNFSM4JQXWCAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFNJCDY#issuecomment-559583503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH6MY6MU7BHABRX6HZM2CMDQWAHRLANCNFSM4JQXWCAA .
I seem to have narrowed down the issue somewhat. If I set restart_instance = True
within SumoParams
, then I do not have this bug. When restart_instance = False
or is not declared, I have the issue. This is still with Ubuntu 18.04.
@kev-chien does this occur for you as well?
@eugenevinitsky Did you mean to reference @kevin-thankyou-lin ? If you were asking me, I don’t use Ubuntu, so I can't currently reproduce the issue, sorry!
Yes, my bad! @kevin-thankyou-lin
Too many kevins.
Sorry for the delay. Yes, this occurs for me as well. Nice find!
Hello, did anyone solve this issue ?
Bug Description
I am running into an issue with the traffic_light_grid examples from both the stable_baselines and rllib set of examples.
For the stable baselines example, the script runs for a few seconds, and then I get an exception that ultimately leads to
traci.exceptions.TraCIException: Vehicle 'idm_0' is not known
.For the rllib example, the script continuously runs, but periodically I get the same exception. For the rllib example, I am not using the master branch, rather the one that fixes an issue with the observation space (PR #780).
Bug Reproduce
File in which the bug occurred:
flow/examples/stable_baselines/traffic_light_grid.py
andflow/examples/rllib/traffic_light_grid.py
The exact command that you did run that caused the bug:
python traffic_light_grid.py
from either theflow/examples/stable_baselines
orflow/examples/rllib
folder.Output Log
Full error output log:
Versions