Open pnp91 opened 5 years ago
Hi @pnp91, in response to your questions:
minGap
value is too small. I would recommend taking it up to a larger value, say around 2. You can also consider increasing your tau
value to around 0.5 or 1. Tuning thee values and possibly others may be key for you to avoid collisions.flow/visualizer_rllib.py
method, see: https://flow.readthedocs.io/en/latest/visualizing.htmlHi @AboudyKreidieh :
hi @pnp91:
speed_mode
to "all_checks"; however, that may lead to some unrealistic behavior by vehicles on the main highway. Other values for the speed_mode
, say 9, may also do the trick for you.When I was running the flow/examples/rllib/stabilizing_the_ring.py. it generated a series of files, such as 'checkpoint_20', 'checkpoint_40'..., 'progress.csv', 'result.json'. When I finished training, I didn't know how to look at my training results. I read the documentation find that have two ways to resolve that,
First : input code python ./visualizer_rllib.py /ray_results/result_dir 1 at terminal, but this command is reported an error can't open file....
Second: tensorboard --logdir=~/ray_results, the terminal always displays "TensorBoard. 1.9.0 at http://ubuntu:6006 (Press CTRL+C to quit)" So I want to know how I should look at the results after my training.@pnp91@eugenevinitsky
Hello, I have added more number of RL vehicles in the example "cooperative merge" distributively. But I have noticed that, my agents which I have added, does not accelerate much when compared with 'human' vehicles. Because of this, there are many collisions which leads in teleporting and the agent doesn't train well. I am training using A3C. I have planned to train this further with SAC algorithm
[sim=SumoParams(render =True)]
, it renders from first training step and of-course it is known that training doesn't happen well when render is True.I have my code as follows :
OS : Linux 18.04 Flow Version : 0.3.0 SUMO Version : v0_31_0-812-g1d4338ab80