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

SD extension webui error #956

Open
pipixie7 opened this issue Sep 16, 2024 · 1 comment
Open

SD extension webui error #956

pipixie7 opened this issue Sep 16, 2024 · 1 comment

Comments

@pipixie7
Copy link

using safetensor as default
{'checkpoint': 'A:\SD\sd-webui-aki-v4.7\extensions\SadTalker\checkpoints\SadTalker_V0.0.2_256.safetensors', 'dir_of_BFM_fitting': 'A:\SD\sd-webui-aki-v4.7/extensions/SadTalker/src/config', 'audio2pose_yaml_path': 'A:\SD\sd-webui-aki-v4.7/extensions/SadTalker/src/config\auido2pose.yaml', 'audio2exp_yaml_path': 'A:\SD\sd-webui-aki-v4.7/extensions/SadTalker/src/config\auido2exp.yaml', 'use_safetensor': True, 'mappingnet_checkpoint': 'A:\SD\sd-webui-aki-v4.7\extensions\SadTalker\checkpoints\mapping_00229-model.pth.tar', 'facerender_yaml': 'A:\SD\sd-webui-aki-v4.7/extensions/SadTalker/src/config\facerender.yaml'}
C:\Users\16696\AppData\Local\Temp\gradio\tmpjlix_686.png
Traceback (most recent call last):
File "A:\SD\sd-webui-aki-v4.7\python\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "A:\SD\sd-webui-aki-v4.7\python\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "A:\SD\sd-webui-aki-v4.7\python\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "A:\SD\sd-webui-aki-v4.7\python\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "A:\SD\sd-webui-aki-v4.7\python\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "A:\SD\sd-webui-aki-v4.7\python\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "A:\SD\sd-webui-aki-v4.7\python\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "A:\SD\sd-webui-aki-v4.7\modules\call_queue.py", line 13, in f
res = func(*args, **kwargs)
File "A:\SD\sd-webui-aki-v4.7/extensions/SadTalker\src\gradio_demo.py", line 96, in test
first_coeff_path, crop_pic_path, crop_info = self.preprocess_model.generate(pic_path, first_frame_dir, preprocess, True, size)
File "A:\SD\sd-webui-aki-v4.7/extensions/SadTalker\src\utils\preprocess.py", line 146, in generate
trans_params, im1, lm1, _ = align_img(frame, lm1, self.lm3d_std)
File "A:\SD\sd-webui-aki-v4.7/extensions/SadTalker\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.

what is this? how to solve it?

@nitinmukesh
Copy link

Use Standalone version.

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

2 participants