Git Product home page Git Product logo

lipnet's Introduction

1、setup.py安装依赖包

2、两种训练方式

1)直接输入视频,对嘴唇进行预测,然后训练

2)先对嘴唇进行预测,并将嘴唇分割成图片,然后对图片数据集进行训练

3)方法1)暂时没跑通,先用2),数据集在http://spandh.dcs.shef.ac.uk/gridcorpus/

3、流程

1)下载数据,下载任意一个talker的video(normal)和wordalignments

2)将video转换为嘴唇图片,执行scripts目录下的extract_mouth_batch.py,用法写在脚本里,人脸特征需要的模型是common/predictors/shape_predictor_68_face_landmarks.dat

3)训练场景有5个,都在training目录下,暂选overlapped_speakers,在该文件夹下建立datasets,结构为

datasets/align/*.align

datasets/train/s{i}/{id}/*.png

datasets/val/s{i}/{id}/*.png

i为talker的index

4)执行根目录下的train,用法写在脚本里

lipnet's People

Contributors

caojingkang avatar

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.