Skip to content
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

Problems with the Deca training dataset #195

Open
nainsheng opened this issue Jul 30, 2023 · 9 comments
Open

Problems with the Deca training dataset #195

nainsheng opened this issue Jul 30, 2023 · 9 comments

Comments

@nainsheng
Copy link

Hello author, I am currently studying this paper and debugging the code. The demo has been successfully debugged, but the details of the training code are not clear, as shown in the following part:
b. Prepare label
FAN to predict 68 2D landmarks
face_segmentation to get skin mask

I would like to ask how this part should be operated, can you give more details?

@xuduo18311199384
Copy link

Train Datas include "image.png + landmarks.npy(FAN detect) + segmentation.npy(face_segmentation detect)"

@nainsheng
Copy link
Author

nainsheng commented Aug 3, 2023

@xuduo18311199384
Thank you for your reply. The data related to FAN in the first part has been processed, but we encountered a problem in the facial segmentation step. Firstly, this link needs to install the caffe framework, but many methods have been used but cannot be successfully installed. Secondly, I noticed that I still need Vggface2_train_list_max_normal_100_ring_5_1serial.npy files. Can you give me some prompts? Thank you very much for your help.

@xuduo18311199384
Copy link

  1. face_segmentation part. You must install caffe(with gpu).

@nainsheng
Copy link
Author

Thank you for your reply. I have completed facial segmentation. What should I do about Vggface2_train_list_max_normal_100_ring_5_1serial.npy? Is it the best 5 facial images for each candidate in the dataset?

@xuduo18311199384
Copy link

The follow picture should be made by Vggface2_train_list_max_normal_100_ring_5_1serial.npy
each candidate : image/225/0000383.png, 68kpts/225/0000383.npy, face_segmental/225/0000383.npy,
2023-08-03 16-10-51 的屏幕截图
[shape_consistent_loss & detail_loss] require images >= 3 for each candidate

@anushka17agarwal
Copy link

Hey, I had a doubt. In the vox.py file (Line 126- 128)
images_array = torch.from_numpy(np.array(images_list)).type(dtype = torch.float32) #K,224,224,3 kpt_array = torch.from_numpy(np.array(kpt_list)).type(dtype = torch.float32) #K,224,224,3 mask_array = torch.from_numpy(np.array(mask_list)).type(dtype = torch.float32) #K,224,224,3
The shape of kpt_array is 224, 224, 3 , but the face alignment library returns a shape of (62, 3). So, how exactly were these keypoints transformerd

@zhumeichoubao
Copy link

Hey, I had a doubt. In the vox.py file (Line 126- 128) images_array = torch.from_numpy(np.array(images_list)).type(dtype = torch.float32) #K,224,224,3 kpt_array = torch.from_numpy(np.array(kpt_list)).type(dtype = torch.float32) #K,224,224,3 mask_array = torch.from_numpy(np.array(mask_list)).type(dtype = torch.float32) #K,224,224,3 The shape of kpt_array is 224, 224, 3 , but the face alignment library returns a shape of (62, 3). So, how exactly were these keypoints transformerd

I have the same question, how do you solve it. Can you give me some prompts? Thank you very much for your help.

@jylovec
Copy link

jylovec commented Jan 19, 2024

The follow picture should be made by Vggface2_train_list_max_normal_100_ring_5_1serial.npy each candidate : image/225/0000383.png, 68kpts/225/0000383.npy, face_segmental/225/0000383.npy, 2023-08-03 16-10-51 的屏幕截图 [shape_consistent_loss & detail_loss] require images >= 3 for each candidate

why [shape_consistent_loss & detail_loss] require images >= 3 for each candidate?I would appreciate it if you reply me。

@emlcpfx
Copy link

emlcpfx commented Feb 7, 2024

Were you able to train the model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants