Real3DPortrait icon indicating copy to clipboard operation
Real3DPortrait copied to clipboard

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

Open ladvu opened this issue 1 year ago • 1 comments

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

ladvu avatar Jul 02 '24 09:07 ladvu

Bro were you able to fix the issue?

NithinJangid avatar Aug 14 '24 06:08 NithinJangid