-
Notifications
You must be signed in to change notification settings - Fork 286
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
Gender missclassification #27
Comments
i think maybe you have not crop face from the image @adelfuchs |
Images are cropped. They were taken from here: |
Hi Adel, Thank you for your interest in our work. If you are getting 30% error then you are actually getting 70% success which is not bad at all (since this is a binary problem). My guess is that the labels are reversed. Can you share your code? Best, |
Hi Gil, Thanks, |
Hi @td042 , Thank you for your interest in our work. Indeed the images has to be cropped to the face region (and preferably aligned). Best, |
@GilLevi Can you provide the code and models that you used to detect/align/crop the images for the experiments reported in your paper? |
@PawelGD , the code for alignment is given here: https://talhassner.github.io/home/projects/Adience/Adience-code.html#inplanealign The details regarding detection, cropping and alignment are described in the original paper presented the dataset : Eidinger, Eran, Roee Enbar, and Tal Hassner. "Age and gender estimation of unfiltered faces." IEEE Transactions on Information Forensics and Security 9.12 (2014): 2170-2179. https://www.openu.ac.il/home/hassner/Adience/EidingerEnbarHassner_tifs.pdf |
Hi Gil,
I'm trying to predict gender with your gender model. I have a bunch of images and their true classifications.
I'm predicting gender with your model and get something like 30% failure.
This is how I predict a single image:
input_image=caffe.io.load_image(image_path)
input_image = skimage.transform.resize(input_image, (256, 256))
imgplot = plt.imshow(input_image) // I'm able to see the image and it looks fine
pred=gender_net.predict([input_image])
I get the same results also without resizing.
Am I missing something?
Thanks,
Adel
The text was updated successfully, but these errors were encountered: