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

how can be run it with GPU #7

Open
ZIKO94ZIKO opened this issue May 23, 2020 · 3 comments
Open

how can be run it with GPU #7

ZIKO94ZIKO opened this issue May 23, 2020 · 3 comments

Comments

@ZIKO94ZIKO
Copy link

Hi Ank thank you for sharing witth us your project , i have i question about GPU:
when i run you code and watch nvidia-smi in an other terminal , the code pythone use juste 41 MiB in the performance of GPU , how can be use all performance , Thanks in advance .
image

@ZIKO94ZIKO
Copy link
Author

any update please

@eagleanurag
Copy link

this code is designed and optimised to work with CPU only wait a little for GPU version Volume 3.0

@I-aashishM
Copy link

I-aashishM commented Aug 25, 2021

add these two lines after this

net.setPreferableBackend(cv2.dnn.DNN_BACKEND_CUDA)
net.setPreferableTarget(cv2.dnn.DNN_TARGET_CUDA)

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

3 participants