SadTalker
SadTalker copied to clipboard
When the audio path is empty ,it will Error
l to device: 6.7s, load textual inversion embeddings: 2.8s).
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 57.6s (import torch: 3.2s, import gradio: 2.5s, import ldm: 1.1s, other imports: 1.3s, load scripts: 2.7s, load SD checkpoint: 12.9s, create ui: 33.4s, gradio launch: 0.2s).
G:\AI\pytorch2.0\stable-diffusion-webui\extensions\SadTalker\checkpoints\auido2pose_00140-model.pth
G:\AI\pytorch2.0\stable-diffusion-webui\extensions\SadTalker\checkpoints\shape_predictor_68_face_landmarks.dat
G:\AI\pytorch2.0\stable-diffusion-webui\extensions\SadTalker\checkpoints\facevid2vid_00189-model.pth.tar
C:\Users\erwin\AppData\Local\Temp\tmp_u8ekrji.png
Traceback (most recent call last):
File "G:\AI\pytorch2.0\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 394, in run_predict
output = await app.get_blocks().process_api(
File "G:\AI\pytorch2.0\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1075, in process_api
result = await self.call_function(
File "G:\AI\pytorch2.0\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 884, in call_function
prediction = await anyio.to_thread.run_sync(
File "G:\AI\pytorch2.0\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "G:\AI\pytorch2.0\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "G:\AI\pytorch2.0\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
File "G:\AI\pytorch2.0\stable-diffusion-webui\modules\call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "G:\AI\pytorch2.0\stable-diffusion-webui/extensions/SadTalker\src\gradio_demo.py", line 93, in test
if os.path.isfile(driven_audio):
File "C:\Users\erwin\.pyenv\pyenv-win\versions\3.10.8\lib\genericpath.py", line 30, in isfile
st = os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
可能在条件判断上面, 能没有音频也能生成视频,会是更好的选择??
可以考虑随机生成一些动作~