Giter VIP home page Giter VIP logo

hd_wav2lip_f's Introduction

This repo is based on wav2lip but finally failed. The visualization results is not good. Maybe should adjust weight between L1 and sync loss. https://user-images.githubusercontent.com/27955693/118396001-015eef00-b680-11eb-8a58-e1acb46a03c1.mp4

  • 1.Preprocessing

 python preprocess.py --data_root  ../videos/main/fps_corrected_video  --preprocessed_root ../videos/lrs2_preprocessed/

    1. Split the data
python split_data.py
    1. train discriminator

python color_syncnet_train.py --data_root ../videos/oir_format_new_dataset --checkpoint_dir checkpoints --checkpoint_path checkpoints/lipsync_expert.pth

    1. train the model
python hq_wav2lip_train.py --data_root ../videos/lrs2_preprocessed/HQ_face/ --checkpoint_dir checkpoints --syncnet_checkpoint_path  checkpoints/lip_trained900.pth --checkpoint_path checkpoints/checkpoint_step000021500.pth

    1. inference the model

python inference.py --checkpoint_path checkpoints/checkpoint_step000021500.pth --face ../videos/main/fps_corrected_video/video-3-0-4a.mp4 --audio ../dictator_orig.wav
CUDA_VISIBLE_DEVICES=1 python inference.py --checkpoint_path checkpoints/checkpoint_step000000200.pth --face ../video-0-0-1a.mov --audio ../dictator_orig.wav

#thanks for my girl friend Yue li's support

hd_wav2lip_f's People

Contributors

hms97 avatar sunna1871 avatar

Stargazers

 avatar Ten Deepfake avatar

Watchers

 avatar

hd_wav2lip_f's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.