yerfor / Real3DPortrait

Real3D-Portrait: One-shot Realistic 3D Talking Portrait Synthesis; ICLR 2024 Spotlight; Official code
MIT License
967 stars 112 forks source link

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

Open ladvu opened 5 months ago

ladvu commented 5 months ago

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

NithinJangid commented 3 months ago

Bro were you able to fix the issue?