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

video quality differ from the demo page and this github #11

Closed
jays0606 opened this issue Sep 4, 2020 · 8 comments
Closed

video quality differ from the demo page and this github #11

jays0606 opened this issue Sep 4, 2020 · 8 comments

Comments

@jays0606
Copy link

jays0606 commented Sep 4, 2020

Hello, first I am amazed by this marvelous work. I appreciate your effort for building such a great project.

I have one question though.
I generated a video using your demo page (https://bhaasha.iiit.ac.in/lipsync/), and generated a video using the same video/audio in using this github page, and I found the quality in the demo page was much superior.

Is this an issue regarding some parameters or the checkpoint?

Thank you very much

@prajwalkr
Copy link
Collaborator

The demo page produces low-resolution videos. We suggest you to use --resize_factor to reduce the resolution of your input video to around 480p as our model will work better on low-resolution video inputs.

@jays0606
Copy link
Author

jays0606 commented Sep 4, 2020

The video resolution was already pretty low. I've tried with 256x256, but the results happened to be different, so I was wondering if there are any differences between the demo and this code?
Are the parameters in the demo page the same as the ones set as 'default' in inference.py? (And the checkpoint?)

@prajwalkr
Copy link
Collaborator

Which checkpoint file are you using from this repo? The demo site uses Wav2Lip + GAN.

@prajwalkr prajwalkr reopened this Sep 4, 2020
@hav4ik
Copy link

hav4ik commented Sep 4, 2020

Are the weights (Wav2Lip and Wav2Lip + GAN) linked in the README the same as the ones that you used to produce those stunning video demos?

@prajwalkr
Copy link
Collaborator

The demo uses Wav2Lip + GAN and it is exactly the same as the one released in this repo as well.

@jays0606 jays0606 closed this as completed Sep 5, 2020
@jays0606 jays0606 reopened this Sep 5, 2020
@prajwalkr
Copy link
Collaborator

Re-open if required.

@jays0606
Copy link
Author

jays0606 commented Sep 7, 2020

Thank you for your quick reply. I re-checked the result, and there seemed to have been a problem in the face detection part. All set. Thank you!

@leijue222
Copy link

演示页面会生成低分辨率视频。我们建议您将--resize_factor输入视频的分辨率降低到480p左右,因为我们的模型在低分辨率视频输入上会更好地工作。

Hi, if I add --resize_factor 480. Then I got "Face not detected!"
What caused the problem?

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

4 participants