remove unused, broken function
@@ -205,18 +205,6 @@ def model_eval(model, X_test=None, Y_test=None, args=None,
return accuracy
-def tf_model_load(file_path=None):
- """
- :param file_path: path to the restored ckpt, if None is
- taken from FLAGS.train_dir and FLAGS.filename
- :return:
- """
- assert file_path is not None, "pretrained model ckpt is not given."
- saver = tf.train.Saver()
- saver.restore(file_path)
- return True
-
-
def model_argmax(model, samples):
"""
Helper function that computes the current class prediction
