-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question about cvting SFM(BFM without ear&neck) to FLAME #30
Comments
Hi, can you please specify what exactly you did? Just zero-ed out the matrix entries for the vertices outside the mask? What is the dimensionality of your adapted correspondence matrix? Can you also please show some of the results that you get with this? One alternative is to output the complete BFM mesh with the BFM parameters that e.g., Deep3DFaceRecon provides (rather than just outputting the cropped mesh) and converting this complete mesh to FLAME. |
What i want to do is creaing a SFM_to_FLAME_corr matrix , similar to BFM_to_FLAME_corr matrix. As I have a SFM model and want to cvt it to FLAME. So I just modifyed the corresponding face vertexs in BFM_to_FLAME_corr matrix between SFM and BFM from /BFM_front_idx.mat). |
I think I might have found a solution, maybe it is also useful for others: You can use this script to generate a new BFM_to_FLAME_corr.npz file. For this to work make sure you copy over the files select_vertex_id.txt and BFM_front_face_buf.txt (taken from https://github.com/sicxu/Deep3DFaceRecon_pytorch)
In the end, this should give you this file here: You can either run the script above yourself or just download the resulting file from the link. Just put it into the data folder. Now, all you have to do is some minor changes in mesh_convert.py:
and it should work. |
I want to convert a SFM model to FLAME. I try to replace the value in BFM_to_FLAME_corr by BFM_front_idx (https://github.com/sicxu/Deep3DFaceRecon_pytorch/blob/master/BFM/BFM_front_idx.mat) which means the corresponding face vertexs between SFM and BFM. However, the resulting obj is weired and the modified BFM_to_FLAME_corr matrix has many zeors-rows, which is false in my opinion.
I wonder how the BFM_to_FLAME_corr can be obtained for cvting SFM model to FLAME ?
The text was updated successfully, but these errors were encountered: