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 to use GPU? #52

Open
fjesikfjdskl opened this issue Dec 15, 2023 · 4 comments
Open

How to use GPU? #52

fjesikfjdskl opened this issue Dec 15, 2023 · 4 comments

Comments

@fjesikfjdskl
Copy link

Thank you very much for your open source, I want to ask how to use GPU to detect faces, looking forward to your reply!

@610265158
Copy link
Owner

By default the onnx model use cpu to run. You can check onnx_model_base.py, to set work with gpu.

@fjesikfjdskl
Copy link
Author

@610265158 Thank you very much for your recovery. After setting GPU, the detection speed becomes slow. Is this normal?

@610265158
Copy link
Owner

@610265158 Thank you very much for your recovery. After setting GPU, the detection speed becomes slow. Is this normal?

I think there is some problem. It should not be slow. I didn't test the code with gpu.

@fjesikfjdskl
Copy link
Author

Thank you very much, I will check the following details!

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