import tensorflow as tf

    Res.build_graph()
    saver = tf.train.Saver()
    # Open session and restore checkpoint
    sess = tf.Session(config=tf.ConfigProto(allow_soft_placement=True))
    tf.train.start_queue_runners(sess)
    sess.run(tf.global_variables_initializer())
