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

ValueError: Found array with 0 sample(s) (shape=(0, 2)) while a minimum of 1 is required by NearestNeighbors #63

Open
ladvu opened this issue Jul 2, 2024 · 1 comment

Comments

@ladvu
Copy link

ladvu commented Jul 2, 2024

I encountered a error when doing inference.
The following code raise that error:
Real3DPortrait/./inference/edit_secc.py, line 91, in blink_eye_for_secc
dists, _ = nbrs.kneighbors(face_xys) # [512*512, 1] distance to nearest non-bg pixel

@NithinJangid
Copy link

Bro were you able to fix the issue?

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