face_gender
face_gender copied to clipboard
pretrained model does not work
using classifier.pkl instead of built gender_data.pkl causes error. Can not be used.
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.