Comments (6)
Thanks for pointing this out. This is actually a problem of the L-BFGS-B solver used in the TF_FLAME fitting. Weighting the data term higher, will give you a better result. Alternatively you could change the convergence parameters of the solver. Below, you can see your input mesh (left), a fitting based on the Chumpy code (middle), and a fitting using TF_FLAME with higher weighted data term, and using BFGS instead of L-BFGS-B (right). They look much more similar compared to your fitting before. Just pull the TF_FLAME repository and you will get the changes.
Increasing the parameter weights in for jaw_pose by 8 orders of magnitude (1000) leads to a slightly more open mouth, which is still not close to the VOCA mesh.
The weights for shape, expression, neck_pose, jaw_pose, and eyeball_pose are actually weights of the regularizers. Increasing these weights leads to more regularization and hence it even looks more like the mean face.
from voca.
VOCA outputs meshes in FLAME mesh topology. However, it does not directly output FLAME parameters but you can easily compute this using this code TF_FLAME. The demo to fit the 3D model to registered 3D meshes should do the job
from voca.
@tursmanor and I have tried to run TF_FLAME/fit_3D_mesh.py on the mesh output of VOCA. However, we find that there are notable differences in pose, specifically with regards to the mouth position.
The mesh on the left is the output of VOCA and the one on the right is the result of fit_3D_mesh.py
Given the fact that the output of VOCA is already in FLAME topology, is there another way to get the FLAME parameters directly from the VOCA model without rerunning it through FLAME?
from voca.
The mesh on the left is the output of VOCA and the one on the right is the result of fit_3D_mesh.py
This looks not right, FLAME should be much better in fitting this mesh. Can you please provide this particular mesh to me?
Given the fact that the output of VOCA is already in FLAME topology, is there another way to get the FLAME parameters directly from the VOCA model without rerunning it through FLAME?
VOCA outputs meshes in FLAME topology, but there is no way to directly go from a FLAME mesh to the model parameters without optimization.
from voca.
Thanks, the file is below:
We have attempted to vary the weight parameters in TF_FLAME/fit_3D_mesh.py
to improve performance with little luck. Increasing the parameter weights in for jaw_pose
by 8 orders of magnitude (1000) leads to a slightly more open mouth, which is still not close to the VOCA mesh.
from voca.
Thank you !!!!
from voca.
Related Issues (20)
- Should --uv_template_fname be the same as --template_fname in run_voca.py?
- can you give pretrained_models?
- Initialization Of Decoder Layer
- Problem of training voca
- How to control expression in the edit_sequence.py? HOT 2
- Can I train this on custom dataset?
- Unknown mesh file format. HOT 1
- Training with new Tensorflow Version
- Unsolved reference tfbody
- Missing data on subj_seq_to_idx.pkl file HOT 1
- If I want to control the expression of the eyes, how should I set the parameters?
- I haven't found the 'output_graph.pb' file, where can I get it?
- dataset/voca_face_former/templates.pkl not found HOT 1
- Where to download npy and pkl files HOT 1
- Inference other .ply files
- Hot to get blink_exp_betas for another flame version?
- Is the the vertice's coordinates in registered data the same as it in data_verts.npy in training data? HOT 1
- How extract FLAME parameters (expression, jaw) from vertex offset. HOT 1
- After add eyeblink, the face twitches HOT 2
- Exporting/importing meta graphs is not supported when eager execution is enabled. No graph exists when eager execution is enabled.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voca.