setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part.
[Step 2] 3DMM Extraction In Video:: 0%| | 0/135 [00:00<?, ?it/s] Traceback (most recent call last): File "inference.py", line 342, in main() File "inference.py", line 100, in main trans_params, im_idx, lm_idx, _ = align_img(frame, lm_idx, lm3d_std) File "G:\pythonProject\third_part\face3d\\util\preprocess.py", line 196, 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. PS G:\pythonProject>
Source: OpenTalker/video-retalking