How to train multi label classifier using Transfer learning toolkit

I want to train a classification model using transfer learning toolkit for Age and gender classification.
How should I train the model for multi label like first it classify male or female and then its age without using 2 models (like for age different model and for gender different model).


For your case, you need to split the dataset according to your requirement.
For example,
class1: male, 0~30 years old
class2: male, 30~60 years old
class3: female, 0~30 years old
class4: female, 30~60 years old