Skip to content

Gender Classification from images using Inception(pre-trained CNN implemented in tensorflow).

License

Notifications You must be signed in to change notification settings

manishankarbalu/genderClassification_CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gender Detection using Tensorflow

We use the pre-trained Deep Learning Convolutional Neural Network model Inception to identify the gender of person from their photograph.

Refrence:TensorflowInception.

Since Inception in a pre-trained model we try to Transfer Learning to classify the gender with new set of male and female image dataset.


Requirements

Markup : 1. Python 2. Tensorflow

Usage

Prepare Training Dataset

Create folder named training_dataset . Then create folders according to your class-label names(n folders for n classes).Then place all images into the corresponding folder(class-label).

More the variations in images, more the accurate classification.

Start Transfering Learning

$ bash train.sh

Now the Inception model downloads and transferring learning occurs.

Check for Results

Create a folder named test_input that contains all the images to be tested.

python findGender.py

The output will be the predictions for each image in the test data set in the folder test_input.

Screenshot

Results

Screenshot

Check Performance metrics

$ tensorboard --logdir .

Credits

Training images are downloaded here.This repo designed and maintained by Dr Libor Spacek.

About

Gender Classification from images using Inception(pre-trained CNN implemented in tensorflow).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published