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

The training code #3

Closed
ForrestPi opened this issue Aug 6, 2020 · 5 comments
Closed

The training code #3

ForrestPi opened this issue Aug 6, 2020 · 5 comments

Comments

@ForrestPi
Copy link

Could you provide the training part codes?
Thanks

@zqbai-jeremy
Copy link
Owner

The training code is quite messy thus not easy to clean and use. I can provide loss functions and training parameters shortly. The rest is just normal training pipeline.

@ForrestPi
Copy link
Author

@zqbai-jeremy
Thanks, wish for the loss functions and training parameters

@zqbai-jeremy
Copy link
Owner

@ForrestPi
The loss functions and training parameters have been uploaded. Please let me know if you have any further questions. Thank you for your interest in our work.

@moranli19
Copy link

Is there any code or more details for training data processing?

The StirlingESRS_3Dface dataset contains 74 females and 64 different male subjects. Each subject with 8 expressions. As you describe in the paper 'Then, we render one image for each expression with different poses and same global illumination using Spherical Harmonics (SH).', the amount of training sample should be (74+64)*C(8,2) = 3864 samples. This number does not conform to 8K as you mentioned 'As a result, around 8K training samples are generated.'
Is there any misunderstanding?

Thanks for any reply~!

@zqbai-jeremy
Copy link
Owner

zqbai-jeremy commented Aug 28, 2020

@moranli19
For each identity, we generate 100 samples with randomly sampled 2 expressions, 2 poses, and 1 illumination. Then we detect landmarks on rendered images and check whether they are consistent with landmarks on 3D scans (since the landmark detector and the NICP registration may have errors). If not, the sample is discard. As a result, we finally have around 8K samples.
Please let me if you have any further questions. Thank you!

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

3 participants