Open ghost opened 6 years ago
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.
using classifier.pkl instead of built gender_data.pkl causes error. Can not be used.