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

Running Example gives an error "ValueError: face argument must be a valid path to video/image file" #4

Closed
aniketzz opened this issue Jul 5, 2022 · 1 comment

Comments

@aniketzz
Copy link

aniketzz commented Jul 5, 2022

I was trying to execute the example given in the git. but got: ValueError: face argument must be a valid path to video/image file error.

Here is the code I tried:

from lipsync import LipSync

lip = LipSync(
    checkpoint_path='wav2lip.pth',  # Downloaded weights
    nosmooth=True,
    cache_dir='cache'  # Cache directory
)

lip.sync(
    'video_nosound.mp4',
    'video.wav',
    'output.mp4')
@mowshon
Copy link
Owner

mowshon commented Jul 6, 2022

@aniketzz do you have provided files in your work folder?

@mowshon mowshon closed this as completed Oct 12, 2023
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