Git Product home page Git Product logo

Comments (11)

mrmotallebi avatar mrmotallebi commented on July 20, 2024 5

No, only 20D PCA points. If you refer to the paper, they say, "We reshape each 18-point mouth shape into a 36-D vector, apply PCA over all frames, and represent each mouth shape by the coefficients of the first 20 PCA coefficients". The data they provide for training ('frontalfidsCoeff_unrefined.bin' files in each of the training directories) are 20D as well. I don't know how they convert from PCA coefficients back to the lip shape features.

from synthesizing_obama_network_training.

dhowe avatar dhowe commented on July 20, 2024 2

+1 for a decent tutorial

from synthesizing_obama_network_training.

hxs7709 avatar hxs7709 commented on July 20, 2024 1

@nikhitha-m Yes, When inferencing I also get .txt output with 21 PCA coefficients. Do you make it clear why it is not 20D PCA? Thank you

17008 21
0.012750 -16.166571 -0.586295 -3.136001 1.788596 -1.369637 -0.974732 0.319079 -0.114111 -0.296762 -0.186657 -0.135444 -0.000013 -0.238547 0.013007 -0.153888 -0.132900 -0.035417 -0.032935 -0.101287 0.013592
0.012750 -18.549662 0.012876 -2.928288 1.891728 -1.304868 -0.696324 0.288222 -0.134750 -0.416818 -0.129575 -0.167370 0.034044 -0.271542 0.019169 -0.216528 -0.137812 -0.048689 -0.040546 -0.133780 -0.007853
....

from synthesizing_obama_network_training.

linksyncjameshwartlopez avatar linksyncjameshwartlopez commented on July 20, 2024

I hope someone will provide.

from synthesizing_obama_network_training.

mrmotallebi avatar mrmotallebi commented on July 20, 2024

I have added some code and written a brief explanation on my repo, but this is only one part of the work. https://github.com/mrmotallebi/synthesizing_obama_network_training

from synthesizing_obama_network_training.

rciyihm avatar rciyihm commented on July 20, 2024

Is the output of this mouth shape features?

from synthesizing_obama_network_training.

yqwen avatar yqwen commented on July 20, 2024

Hi @mrmotallebi what is the range of your validation loss after training for 300 epochs? I used your code for training the network and the validation loss is around 6, but in the paper it seemed to be around 4.5. I have no idea why it is this high, could you please give me some hints?

from synthesizing_obama_network_training.

mrmotallebi avatar mrmotallebi commented on July 20, 2024

Sorry I wouldn't know either (nor do I recall it).

from synthesizing_obama_network_training.

0x10cxR1 avatar 0x10cxR1 commented on July 20, 2024

Hi @yqwen @mrmotallebi, I was able to get the loss around 4.7.

The 20D output doesn't generate lip shapes directly. They then seek a set of best matching frames from target videos.

from synthesizing_obama_network_training.

dvirsegal avatar dvirsegal commented on July 20, 2024

Anyone knows how to use the text file with 20D PCA points to re-time and generate a video?

from synthesizing_obama_network_training.

nikhitha-m avatar nikhitha-m commented on July 20, 2024

No, only 20D PCA points. If you refer to the paper, they say, "We reshape each 18-point mouth shape into a 36-D vector, apply PCA over all frames, and represent each mouth shape by the coefficients of the first 20 PCA coefficients". The data they provide for training ('frontalfidsCoeff_unrefined.bin' files in each of the training directories) are 20D as well. I don't know how they convert from PCA coefficients back to the lip shape features.

Isn't the .txt output file that has been generated contains 21 PCA coefficients?

from synthesizing_obama_network_training.

Related Issues (14)

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.