microsoft / Deep3DFaceReconstruction

Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set (CVPRW 2019)
MIT License
2.18k stars 443 forks source link

How to generate the ears and necks in the demo?Do I need to retrain the model? #131

Open yougusee opened 3 years ago

YuDeng commented 3 years ago

Hi, if you want to generate ears and necks, you need to use the full BFM09 face model. We excluded ear and neck region of original BFM09 to allow the network concentrate on the face region. To see which vertices in the original model are preserved, check select_vertex_id.mat in the ./BFM subfolder. Note that index starts from 1. Then, you can pass the same shape and texture coefficients to the full model to get a 3d face with ears and neck.

yougusee commented 3 years ago

I tried to modify the code, but it doesn't work.can you me some suggestions to generate the ears and necks. image

BinzheLi95 commented 3 years ago

I try to change the index. However, I notice the file 'facemodel_info.mat' only has 35709 dimensions. It makes some error. How to solve it? Thank you.

LY-Donkey-Burger commented 1 year ago

我尝试更改索引。但是,我注意到文件“facemodel_info.mat”只有 35709 个维度。它会犯一些错误。如何解决?谢谢你。

Hi,have you solved the problem?

yuchen814 commented 1 year ago

I have same problem.

yuchen814 commented 1 year ago

Hi, if you want to generate ears and necks, you need to use the full BFM09 face model. We excluded ear and neck region of original BFM09 to allow the network concentrate on the face region. To see which vertices in the original model are preserved, check select_vertex_id.mat in the ./BFM subfolder. Note that index starts from 1. Then, you can pass the same shape and texture coefficients to the full model to get a 3d face with ears and neck.

I notice the file 'facemodel_info.mat' only has 35709 dimensions. How to build this file? I am very confused.

WangXuan2401 commented 1 year ago

Hi, if you want to generate ears and necks, you need to use the full BFM09 face model. We excluded ear and neck region of original BFM09 to allow the network concentrate on the face region. To see which vertices in the original model are preserved, check select_vertex_id.mat in the ./BFM subfolder. Note that index starts from 1. Then, you can pass the same shape and texture coefficients to the full model to get a 3d face with ears and neck.

I notice the file 'facemodel_info.mat' only has 35709 dimensions. How to build this file? I am very confused.

I met the same problem. Have you solved it ? thanks a lot