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

Fix face detect when no faces are detected #85

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

danieldunderfelt
Copy link
Contributor

@danieldunderfelt danieldunderfelt commented Jun 23, 2024

When I tried Hallo with my pfp, it kept throwing errors. I tracked down the error to this detect faces part, and apparently it couldn't find my face. As a fallback, we can use the whole image as the face and it seems to work.

I also had issues getting CUDA to work, ONNX kept saying the CUDA provider was not available. Removing onnxruntime and installing only onnxruntime-gpu fixes this.

Copy link
Member

@siyuzhu-fudan siyuzhu-fudan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for bug fixing. Really appreciate it.

@siyuzhu-fudan siyuzhu-fudan merged commit 01d7fa2 into fudan-generative-vision:main Jun 24, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants