Skip to content

Multi Task Learning example with Keras

License

Notifications You must be signed in to change notification settings

nirgonen/faces-mtl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

faces-mtl

Multi Task Learning example with Keras

Multitask learning is powerful when the tasks could benefit from having shared low-level features. For example predicting the age and gender are different tasks, one being regression and the other being classification. However, solving these tasks simultaneously makes the network learn better low-level representations of the face than solving these taks separately.

Here we use cropped face image data set from https://data.vision.ee.ethz.ch/cvl/rrothe/imdb-wiki/. Each image is preprocessed to be of same size.

We have used Functional API of Keras to implement multi-output neural network. we have a cross entropy loss for the gender output and RMSE for age output.

Below is the model architecture.

drawing

All code and documentation is present in the jupyter notebook. Contact [email protected] for questions.

About

Multi Task Learning example with Keras

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%