video-retalking icon indicating copy to clipboard operation
video-retalking copied to clipboard

object has no attribute 'append'

Open Zhangzqing opened this issue 1 year ago • 0 comments

(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'

Zhangzqing avatar Nov 25 '23 06:11 Zhangzqing