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.04k stars 896 forks source link

object has no attribute 'append' #184

Open Zhangzqing opened 7 months ago

Zhangzqing commented 7 months ago

(video_retalking) F:\video-retalking>python inference.py --face F:\video-retalking\examples\face\3.mp4 --audio F:\video-retalking\examples\audio\2.wav --outfile F:\video-retalking\myresult\output_video.mp4 [Info] Using cuda for inference. [Step 0] Number of frames available for inference: 125 [Step 1] Landmarks Extraction in Video. landmark Det:: 0%| | 0/125 [00:04<?, ?it/s] Traceback (most recent call last): File "inference.py", line 345, in main() File "inference.py", line 82, in main lm = kp_extractor.extract_keypoint(frames_pil, './temp/'+base_name+'_landmarks.txt') File "F:\video-retalking\third_part\face3d\extract_kp_videos.py", line 33, in extract_keypoint keypoints.append(current_kp[None]) AttributeError: 'NoneType' object has no attribute 'append'