BadToBest / EchoMimic

Lifelike Audio-Driven Portrait Animations through Editable Landmark Conditioning
https://badtobest.github.io/echomimic.html
Apache License 2.0
2.26k stars 263 forks source link

FileNotFoundError: [Errno 2] No such file or directory: './pretrained_weights/denoising_unet_acc.pth' #95

Closed oisilener1982 closed 1 month ago

oisilener1982 commented 1 month ago

infer_audio2vid.py is working Fine infer_audio2vid_acc.py have this error

mid_block.attentions.0.transformer_blocks.0.norm2.bias, conv_norm_out.weight, conv_norm_out.bias, conv_out.weight, conv_out.bias'] Traceback (most recent call last): File "infer_audio2vid_acc.py", line 257, in main() File "infer_audio2vid_acc.py", line 146, in main torch.load(config.denoising_unet_path, map_location="cpu"), File "C:\Users\Renel\anaconda3\envs\echomimic\lib\site-packages\torch\serialization.py", line 997, in load with _open_file_like(f, 'rb') as opened_file: File "C:\Users\Renel\anaconda3\envs\echomimic\lib\site-packages\torch\serialization.py", line 444, in _open_file_like return _open_file(name_or_buffer, mode) File "C:\Users\Renel\anaconda3\envs\echomimic\lib\site-packages\torch\serialization.py", line 425, in init super().init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: './pretrained_weights/denoising_unet_acc.pth'

nitinmukesh commented 1 month ago

You need to download the additional weights. https://huggingface.co/BadToBest/EchoMimic

denoising_unet_acc.pth denoising_unet_pose_acc.pth motion_module_acc.pth motion_module_pose_acc.pth

oisilener1982 commented 1 month ago

Thanks again. Its working now. I hope someone can make gradio work for the accelerated audio driven