File size: 497 Bytes
f1ce61b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import sys
from classifier import training
import os
datadir = './aligned_img'
modeldir = './model/20180402-114759.pb'
#modeldir = './model/20170511-185253.pb'
classifier_filename = './class/classifier.pkl'
print("Training Start")
obj=training(datadir, modeldir, classifier_filename)
get_file=obj.main_train()
print('Saved classifier model to file "%s"' % get_file)
sys.exit("All Done") |