face_gender icon indicating copy to clipboard operation
face_gender copied to clipboard

pretrained model does not work

Open ghost opened this issue 6 years ago • 1 comments

using classifier.pkl instead of built gender_data.pkl causes error. Can not be used.

ghost avatar Jul 06 '18 08:07 ghost

using classifier.pkl instead of built gender_data.pkl causes error. Can not be used.

You can just use

with open('classifier.pkl', 'rb') as f:
    classifier  = pickle.load(f)

and this classifier is the pre-trained classifier.

LTGgeek avatar Nov 22 '19 04:11 LTGgeek