question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could you provide an explanation of parameters in params.py ?

See original GitHub issue

Hi ! Thanks for your amazing work. I’d like to use it as a base for further works. Could you please provide an explanation for the numpy matrices loaded in params.py ? In particular:

  • Keypoints
  • w_shp
  • w_exp
  • u_shp
  • u_exp

I could be wrong but I am under the impression that these are base mesh data that are then deformed by the network’s prediction.

Thanks a lot for your help !

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
clearduskcommented, Aug 30, 2019

It is the 3DMM basis constructed by PCA, the original shape is 159645x199 but I remove the last 159 dimensions to perform acceleration, which has little effect on the reconstructed face.

0reactions
jimmysuecommented, Sep 23, 2022

U are right, w_shp and w_exp are the shape and expression basis; u_shp and u_exp are the mean.

Why there’s u_shp and u_exp separately? What 's the meaning of u_exp here ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Four Types of Parameters and Two Types of Arguments in ...
Parameters are the variables in the definition of a function. In other words, they exist in the function signature and will be used...
Read more >
24. Passing Arguments | Python Tutorial
The passing of parameters and arguments in Python. Explaining the difference between call by object sharing, call by value and call by name....
Read more >
What does * mean as a parameter in python? [duplicate]
It means all arguments afterwards are keyword-only. As said in the official glossary under the word parameter: keyword-only: specifies an ...
Read more >
Python - Function Parameters and Arguments with Code ...
Functions may or may not have parameters - A parameter is the function input specified in the function definition - An argument is...
Read more >
Parameter Passing - Python - YouTube
Your browser can 't play this video. Learn more.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found