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

No GPU utilization for inference #31

Closed
JonathanLehner opened this issue Sep 23, 2019 · 4 comments
Closed

No GPU utilization for inference #31

JonathanLehner opened this issue Sep 23, 2019 · 4 comments

Comments

@JonathanLehner
Copy link

is the inference using GPU?
on my PC it is very slow - around 1 second per frame - despite having a GTX1080ti and the GPU utilization is very slow (always lower than 10%).

@caijie0620
Copy link

It has GPU model for inference. My testing takes about 24 fps.

@JonathanLehner
Copy link
Author

JonathanLehner commented Oct 9, 2019

are you sure it uses the gpu? I get 24 fps with only cpu, without gpu i think. nvidia-smi shows almost no gpu activity. and tensorflow shows detected gpu devices 0. i installed cuda 10.1 and cudnn but it didn't heelp

@caijie0620
Copy link

Yes, i am sure it's using GPU. I used "watch nvidia-smi", it has gpu activity. I am using tf1.14 and cuda 10.0.

@JonathanLehner
Copy link
Author

I re-installed cuda 10.0 according to here https://www.tensorflow.org/install/gpu#software_requirements and now it works

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