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

How to train a model of 5 landmarks #48

Open
JuiceLemonLemon opened this issue Mar 15, 2019 · 1 comment
Open

How to train a model of 5 landmarks #48

JuiceLemonLemon opened this issue Mar 15, 2019 · 1 comment

Comments

@JuiceLemonLemon
Copy link

Hi ,

Thanks for your codes.

Now I want to train model of 5 landmarks, then how can I do it?
Could you please give me some suggestion?

Thank you very much!

@MarekKowalski
Copy link
Owner

Hi,

Are those 5 landmarks among the ones in the 300-W set? If so, you can simply train a model with 68 and only use 5, there will be no performance impact.

If not, you will need to create your own dataset. The easiest way would be to follow the format used by the 300-W dataset. You will also need the "average" positions of those 5 landmarks, similarly to the meanFaceShape.npz present in the /data/ directory of the project.

Thanks,

Marek

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

2 participants