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

speed on GPU #17

Open
lxy5513 opened this issue Jul 4, 2019 · 3 comments
Open

speed on GPU #17

lxy5513 opened this issue Jul 4, 2019 · 3 comments

Comments

@lxy5513
Copy link

lxy5513 commented Jul 4, 2019

HI, thanks for awesom work, I tested in image by ssd_mobilenet_v2_egohands model in 1080ti GPU, but the speed is slow, about 700ms for each image averagely.
Are there some thing wrong with me, Could you please tell me the idea speed ? how to improve it ? thanks in advance.

@jkjung-avt
Copy link
Owner

When I tested my trained 'ssd_mobilenet_v2_egohands' on NVIDIA Jetson TX2, its inference speed was about 28.7ms per image. Reference: https://jkjung-avt.github.io/tf-trt-on-nano/

I guess your tensorflow is running in CPU mode. Please check and make sure you are using GPU version of tensorflow.

@lxy5513
Copy link
Author

lxy5513 commented Jul 4, 2019

I use this tensorflow-gpu 1.12.0, but some prompt :

2019-07-04 11:59:59.571104: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0
2019-07-04 11:59:59.571141: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-07-04 11:59:59.571147: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988]      0
2019-07-04 11:59:59.571153: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0:   N
2019-07-04 11:59:59.571247: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10421 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:03:00.0, compute capability: 6.1)

Is it the reason for speed slow?

@jkjung-avt
Copy link
Owner

The log looks OK to me. Sorry, I don't have an idea about why the 'ssd_mobilenet_v2_egohands' model runs slowly on your platform for now...

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