Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zengsh-cqupt opened this issue Jul 24, 2020 · 3 comments

Comments

@zengsh-cqupt
Copy link

zengsh-cqupt commented Jul 24, 2020

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
Copy link
Author

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.

@bitsauce
Copy link
Owner

bitsauce commented Jul 27, 2020

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.

@zengsh-cqupt
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants