Carla-ppo icon indicating copy to clipboard operation
Carla-ppo copied to clipboard

Why the car looks very slow when running with " the python run_eval.py --model_name pretrained_agent -start_carla"?

Open zengsh-cqupt opened this issue 5 years ago • 3 comments
trafficstars

Hi, wonderful and very interesting case. But ,why the car looks very slow when running with " the python run_eval.py --model_name pretrained_agent -start_carla"? Actually, the speed tells me about 15km/h. Is it normal?

My env is: Clould platform GPU T4 (16G) 4cpu Ubuntu18.04 MobaXterm(SSH log in) Internet clould bandwidth is 5Mbps

Thanks.

zengsh-cqupt avatar Jul 24 '20 21:07 zengsh-cqupt

when I try to increase my Internet speed, it will be a little fast,but often still only about 3 fps . When I increase my server speed to 50Mbs, it still be slow, max s 4fps.

zengsh-cqupt avatar Jul 26 '20 21:07 zengsh-cqupt

Hi!

Yeah, the evaluation phase is actually a bit slow (I think about 10 FPS in my case IIRC). I don't think I mentioned this anywhere, but the videos that are recorded by run_eval.py when --record_to_file is set are sped up to show how the agent would look if they ran in real-time.

However, if your FPS is 3, then that's probably too low given your specs. Are you running CARLA and the agent on different machines? I haven't tried running these on separate machines over a network before, so it is possible that our custom environment could be utilizing the CARLA API suboptimally in that case.

bitsauce avatar Jul 27 '20 08:07 bitsauce

@bitsauce thanks. I only run the CARLA and the agent at clound server. Thank you for the info above.

zengsh-cqupt avatar Jul 28 '20 21:07 zengsh-cqupt