Howdy: How do I enable GPU processing?

Created on 5 Sep 2019  路  4Comments  路  Source: boltgolt/howdy

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

question

Most helpful comment

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.

All 4 comments

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.

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.

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!

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joshlangley picture joshlangley  路  5Comments

joshlangley picture joshlangley  路  5Comments

ng2303 picture ng2303  路  7Comments

NICHOLAS85 picture NICHOLAS85  路  7Comments

jmlgo picture jmlgo  路  6Comments