OpenTalker / video-retalking

[SIGGRAPH Asia 2022] VideoReTalking: Audio-based Lip Synchronization for Talking Head Video Editing In the Wild
https://opentalker.github.io/video-retalking/
Apache License 2.0
6.7k stars 984 forks source link

UnboundLocalError: local variable 'mask_sharp' referenced before assignment #204

Open longma-tech opened 10 months ago

longma-tech commented 10 months ago

video-retalking/third_part/GPEN/gpen_face_enhancer.py", line 113, in process mask_sharp = cv2.GaussianBlur(mask_sharp, (0,0), sigmaX=1, sigmaY=1, borderType = cv2.BORDER_DEFAULT) UnboundLocalError: local variable 'mask_sharp' referenced before assignment

DillonMercz commented 9 months ago

I am getting this issue as well

a492557688 commented 8 months ago

我也收到了这个问题

minhhoai1001 commented 7 months ago

Follow it fix issue https://github.com/OpenTalker/video-retalking/issues/149#issuecomment-1799329614