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

Change mask size #4

Open
napoAI opened this issue Oct 31, 2024 · 8 comments
Open

Change mask size #4

napoAI opened this issue Oct 31, 2024 · 8 comments

Comments

@napoAI
Copy link

napoAI commented Oct 31, 2024

Hello,

How can I Change mask size, feathering and mouth_tracking?

This is the code I use:
python -W ignore inference_onnxModel.py --checkpoint_path "checkpoints\wav2lip_256.onnx" --face "C:\Users\napo_\Downloads\wav2lip-onnx-256-main\face\0.mp4" --audio "C:\Users\napo_\Downloads\wav2lip-onnx-256-main\audio\3.wav" --outfile "C:\Users\napo_\Downloads\wav2lip-onnx-256-main\audio\3" --nosmooth --pads 0 10 0 0 --fps 29.97

@napoAI
Copy link
Author

napoAI commented Nov 7, 2024

??

@instant-high
Copy link
Owner

This is the minimum version.
I only replaced original face detection with insightface function.
So no alignment, only bboxes.
You can only use --pads parameter same way as in original wav2lip.

@napoAI
Copy link
Author

napoAI commented Nov 7, 2024

Hello,

I use this version: Easy_Wav2Lip_v8.3.ipynb - which is quite good because it is relatively easy to use but it still has faults especially when the face is very close you can see that the lips are not real

I would be happy if you could recommend another version that might be better and easier to work with

@instant-high
Copy link
Owner

You can try this.
https://github.com/instant-high/wav2lip-onnx-HQ
I updated the script so it should work with wav2lip_256.onnx in checkpoints folder.
Use --checkpoint then

But it is also cli version.
But with face alignment , enhancer ....

@napoAI
Copy link
Author

napoAI commented Nov 7, 2024

Please explain to me how to activate it, I didn't understand

@instant-high
Copy link
Owner

@napoAI
Copy link
Author

napoAI commented Nov 10, 2024

Yes, I know it, it's a little more difficult to activate it, I got stuck in the middle, you told me that I need to install ffmpeg, but I still can't get it working

@instant-high
Copy link
Owner

If you're on windows it should also work if you put ffmpeg.exe into root directory of wav2lip.

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