loading checkpoint using Saver in an explicit seperate session and graph
graph = tf.Graph()
with graph.as\_default():
saver = tf.train.import\_meta\_graph(metapath)
session = tf.Session(graph=graph)
self.sess = session
saver.restore(session, os.path.splitext(metapath)\[0\])