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

Demo1 or images outside of LFW dataset #10

Open
geopapyrus opened this issue Mar 7, 2018 · 1 comment
Open

Demo1 or images outside of LFW dataset #10

geopapyrus opened this issue Mar 7, 2018 · 1 comment

Comments

@geopapyrus
Copy link

Hi,

I was wondering if it would be possible to run demo1 on an image outside of the LFW dataset.

I understand I would have to generate the attributes entry in the format of the lfw_attributes.txt file.

Do you know of an open implementation i cold use to generate the LFW-like attributes for an arbitrary image?

Thank you

@paulu
Copy link
Owner

paulu commented Mar 8, 2018

To run demo1 on an outside image you need to align the image and generate LFW attributes. Face alignment code is out there. I'm not aware of an LFW attribute classifier implementation, but you could train one using the LFW data.

It might be easier to begin with demo2 and replace deepmodels.facemodel_attributes() with your own AttributeClassifier model which predicts LFW attributes and selects from the LFW image database.

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