-
Notifications
You must be signed in to change notification settings - Fork 491
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
mtcnn cant use gpu #157
Comments
MTCNN will directly uses GPU. How did you observe that it does not use GPU? |
https://www.icloud.com/iclouddrive/0ff5arvVgPeki_8psSIrCXujA#2022-02-17_247220304DB_X2241833
Am Mo., 24. Jan. 2022 um 05:57 Uhr schrieb huojinyong <
***@***.***>:
… hello!my tensorflow-gpu==2.4.1 and the program can use gpu to generate
fawkes mask.But the gpu can't be used when run MTCNN face detector in 'def
align' in align_face.py,it is very slow.
How can I solve this problem? Thank you very much!
—
Reply to this email directly, view it on GitHub
<#157>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4FHVBOAK3PUQFGCGUQ6DUXUWBXANCNFSM5MVA7CWQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Can you post a screenshot here? I won't want to download unknown files. |
I am currently experiencing the same. After going through the directory of images and reporting the number of images in there, it is slowly aligning and detecting faces. It seems like MTCNN is not using GPU. See below:
And when checking the CPU utilization, is pegged at 100% while my GPU is at 0% even though the process has allocated GPU memory.
Any ideas of what can be done @Shawn-Shan? @hexa-gon @huojinyong were you able to solve this? |
hello!my tensorflow-gpu==2.4.1 and the program can use gpu to generate fawkes mask.But the gpu can't be used when run MTCNN face detector in 'def align' in align_face.py,it is very slow.
How can I solve this problem? Thank you very much!
The text was updated successfully, but these errors were encountered: