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 do I enable GPU processing? #249

Open
nhusby opened this issue Sep 4, 2019 · 6 comments
Open

How do I enable GPU processing? #249

nhusby opened this issue Sep 4, 2019 · 6 comments
Labels

Comments

@nhusby
Copy link

nhusby commented Sep 4, 2019

I have a GTX 1050, and I would like to enable GPU processing. The configs allude to using the GPU for the use_cnn option. Is there a way to assert that the GPU is doing the processing?

I enabled use_cnn, but time howdy test took about 5 seconds (compared to an average 1.35), so I'm not sure if it is using the GPU or not.

Thanks

@nhusby
Copy link
Author

nhusby commented Sep 4, 2019

Also, just an FYI, this works great with my Creative "Live! Cam Socialize HD" webcam, which has no IR illumination, but the room has decent lighting.

@boltgolt
Copy link
Owner

GPU usage is dependent on the OpenCV installation, if it was compiled and installed for the GPU then Howdy will use it as well. Right now, use_cnn only enables the more accurate detection mode, but that accuracy does come at the price of longer compute times.

@ZacharyWu
Copy link

Hi, there. I have an eGPU RTX2070 attached. It works great on my laptop Xps 9575. But I want to use CPU by default. May I know how to do that? Thanks! You know, sometimes, I just carry my laptop only, but every time, it asks me the connect GPU to enable the support for howdy. That's maybe my ubuntu is configured with GPU support before. I would greatly appreciate you if there is any idea on this. Thanks again!

@boltgolt
Copy link
Owner

boltgolt commented Apr 2, 2021

@ZacharyWu It's probably easiest to reinstall howdy without the GPU connected if you're using Ubuntu. For other distros you need to recompile dlib without the GPU

@wasdee
Copy link

wasdee commented Sep 11, 2021

How to recompile howdy? I looked thru wiki and readme. I have rtx3090 with Logitech brio. The current cnn speed is impractical. I want some guide

@wasdee
Copy link

wasdee commented Sep 11, 2021

How to recompile howdy? I looked thru wiki and readme. I have rtx3090 with Logitech brio. The current cnn speed is impractical. I want some guide

after a bit of research, I think we need to install dlib to system python3. this is an old reference to install

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

No branches or pull requests

4 participants