langzizhixin / SadTalker_Video_Colab

20 stars 9 forks source link

bug #1

Open timchenxiaoyu opened 11 months ago

timchenxiaoyu commented 11 months ago

100% 81.4M/81.4M [00:00<00:00, 219MB/s] 3DMM Extraction for source image landmark Det:: 100% 130/130 [00:31<00:00, 4.16it/s] 3DMM Extraction In Video:: 0% 0/130 [00:00<?, ?it/s] Traceback (most recent call last): File "inference.py", line 123, in main(args) File "inference.py", line 67, in main first_coeff_path, crop_pic_path, crop_info = preprocess_model.generate(pic_path, first_frame_dir) File "/content/SadTalker-Video-Lip-Sync/src/utils/preprocess.py", line 124, in generate transparams, im1, lm1, = align_img(frame, lm1, self.lm3d_std) File "/content/SadTalker-Video-Lip-Sync/src/face3d/util/preprocess.py", line 101, in align_img trans_params = np.array([w0, h0, s, t[0], t[1]]) ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part. 恭喜您高清数字人视频合并成功,结果在results中。