Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug #1

Open
timchenxiaoyu opened this issue Sep 2, 2023 · 0 comments
Open

bug #1

timchenxiaoyu opened this issue Sep 2, 2023 · 0 comments

Comments

@timchenxiaoyu
Copy link

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
trans_params, 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中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant