Rudrabha / LipGAN

This repository contains the codes for LipGAN. LipGAN was published as a part of the paper titled "Towards Automatic Face-to-Face Translation".
http://cvit.iiit.ac.in/research/projects/cvit-projects/facetoface-translation
MIT License
578 stars 122 forks source link

Fully_pythonic branch issue: RuntimeError: Unable to open logs/mmod_human_face_detector.dat for reading. #47

Closed kindler-king closed 2 years ago

kindler-king commented 2 years ago

Hello, I had a query regarding the fully_pythonic branch execution, I added the necessary packages and supplied the image and .wav audio file to create the example #2 (create video using image and audio). python batch_inference.py --checkpoint_path logs/lipgan_residual_mel.h5 --face face.jpg --audio try.wav --results_dir results [cmd]

The script is starting but ending abruptly with this error: Capture

Where can I find the human_face_detector.dat file, I only found a link to download the pretrained Lipgan checkpoint, where to get this .dat file? Thanks a lot for your help.

Vebrun commented 1 year ago

I find it,did you found it now? can you tell me your env? especially tensorflow-gpu==? and keras==? and CUDA? please tall me ,thank you very much

nastia-lado commented 1 year ago

In case you didn't find .dat file, you can download it here: http://dlib.net/files/mmod_human_face_detector.dat.bz2

You might have to copy and paste the link manually. It also works like this from the original github page: the link is not clickable, you have to manually type it.