|
发表于 2024-4-28 09:10:53
|
显示全部楼层
To create a public link, set `share=True` in `launch()`.
WARNING: The new version of the model will be updated by safetensor, you may need to download it mannully. We run the old version of the checkpoint this time!
{'wav2lip_checkpoint': 'checkpoints\\wav2lip.pth', 'audio2pose_checkpoint': 'checkpoints\\auido2pose_00140-model.pth', 'audio2exp_checkpoint': 'checkpoints\\auido2exp_00300-model.pth', 'free_view_checkpoint': 'checkpoints\\facevid2vid_00189-model.pth.tar', 'path_of_net_recon_model': 'checkpoints\\epoch_20.pth', 'dir_of_BFM_fitting': 'src/config', 'audio2pose_yaml_path': 'src/config\\auido2pose.yaml', 'audio2exp_yaml_path': 'src/config\\auido2exp.yaml', 'use_safetensor': False, 'mappingnet_checkpoint': 'checkpoints\\mapping_00229-model.pth.tar', 'facerender_yaml': 'src/config\\facerender.yaml'}
C:\Users\Iric2021\AppData\Local\Temp\gradio\be94378c2cc39f36853a892bef427e932eb96f37\image.png
landmark Det:: 100%|█████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 7.65it/s]
3DMM Extraction In Video:: 100%|█████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 10.49it/s]
mel:: 100%|███████████████████████████████████████████████████████████████████████| 200/200 [00:00<00:00, 66841.50it/s]
audio2exp:: 100%|█████████████████████████████████████████████████████████████████████| 20/20 [00:00<00:00, 242.97it/s]
Face Renderer:: 100%|████████████████████████████████████████████████████████████████| 100/100 [00:19<00:00, 5.13it/s]
IMAGEIO FFMPEG_WRITER WARNING: input image is not divisible by macro_block_size=16, resizing from (256, 239) to (256, 240) to ensure video compatibility with most codecs and players. To prevent resizing, make your input image divisible by the macro_block_size or set the macro_block_size to 1 (risking incompatibility).
'ffmpeg' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Traceback (most recent call last):
File "D:\SadTalkerPic\python\lib\shutil.py", line 816, in move
os.rename(src, real_dst)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。: '301bbc1a-b962-45db-98e6-9b5fb18f0c21.mp4' -> './results/f524bf52-1c78-484e-9a9c-0820644a931b\\image##chinese_news-0-100.mp4'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\SadTalkerPic\python\lib\site-packages\gradio\routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "D:\SadTalkerPic\python\lib\site-packages\gradio\blocks.py", line 1323, in process_api
result = await self.call_function(
File "D:\SadTalkerPic\python\lib\site-packages\gradio\blocks.py", line 1051, in call_function
prediction = await anyio.to_thread.run_sync(
File "D:\SadTalkerPic\python\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "D:\SadTalkerPic\python\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "D:\SadTalkerPic\python\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
File "D:\SadTalkerPic\src\gradio_demo.py", line 139, in test
return_path = self.animate_from_coeff.generate(data, save_dir, pic_path, crop_info, enhancer='gfpgan' if use_enhancer else None, preprocess=preprocess, img_size=size)
File "D:\SadTalkerPic\src\facerender\animate.py", line 222, in generate
save_video_with_watermark(path, new_audio_path, av_path, watermark= False)
File "D:\SadTalkerPic\src\utils\videoio.py", line 26, in save_video_with_watermark
shutil.move(temp_file, save_path)
File "D:\SadTalkerPic\python\lib\shutil.py", line 836, in move
copy_function(src, real_dst)
File "D:\SadTalkerPic\python\lib\shutil.py", line 434, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "D:\SadTalkerPic\python\lib\shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '301bbc1a-b962-45db-98e6-9b5fb18f0c21.mp4' |
|