-
Notifications
You must be signed in to change notification settings - Fork 161
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
Program crashes when there is no face in the image #7
Comments
yes |
I also meet this issue. Have you solve it? |
Hi miaoct, I just refactor this repo, you can check it in https://github.com/mayuanjason/MTCNN_face_detection_alignment_pytorch • Transfer all numpy operation to torch operation, so that it can benefit from GPU acceleration. And it will not crash when there is no face in the image. |
Thank you very much |
The code is no issue. It's very well ! |
I tested the mtcnn with a image with no face, the program crashed.
It seems that code in detect_faces did not handle the case that there is no bounding box detected in the image. Is that so ?
The text was updated successfully, but these errors were encountered: