Ubuntu

Update face recognition module

[client]
user=root
password=1234
host=localhost
user=admin
password=attendance
host=attendance-system.c4yvip5o6czh.ap-northeast-2.rds.amazonaws.com
database=attendance
charset=utf8
......
......@@ -190,7 +190,7 @@ def load_model(model, input_map=None):
print('Checkpoint file: %s' % ckpt_file)
saver = tf.compat.v1.train.import_meta_graph(os.path.join(model_exp, meta_file), input_map=input_map)
saver.restore(tf.get_default_session(), os.path.join(model_exp, ckpt_file))
saver.restore(tf.compat.v1.get_default_session(), os.path.join(model_exp, ckpt_file))
def get_model_filenames(model_dir):
files = os.listdir(model_dir)
......